Skip to content

Conversation

@attiasas
Copy link
Contributor

  • The pull request is targeting the dev branch.
  • The code has been validated to compile successfully by running go vet ./....
  • The code has been formatted properly using go fmt ./....
  • All static analysis checks passed.
  • All tests have passed. If this feature is not already covered by the tests, new tests have been added.
  • Updated the Contributing page / ReadMe page / CI Workflow files if needed.
  • All changes are detailed at the description. if not already covered at JFrog Documentation, new documentation have been added.

We offer the user option to detect sub directories in the root dir, in order to scan each of them with SCA correctly.

Users can choose not to scan recursevely by providing --working-dirs=. flag value.

This PR improve this logic and will not detect sub directortiesto scan in case only JAS scan requested (i.e no SCA or SBOM)

@attiasas attiasas added improvement Automatically generated release notes safe to test Approve running integration tests on a pull request labels Dec 29, 2025
@github-actions github-actions bot removed the safe to test Approve running integration tests on a pull request label Dec 29, 2025
@attiasas attiasas added the safe to test Approve running integration tests on a pull request label Dec 31, 2025
@github-actions github-actions bot removed the safe to test Approve running integration tests on a pull request label Dec 31, 2025
// If no workingDirs were provided by the user, we apply a recursive scan on the root repository
} else if utils.IsScanRequested(utils.SourceCode, utils.ScaScan, auditCmd.ScansToPerform()...) || auditCmd.IncludeSbom {
// Only in case of SCA scan / SBOM requested and if no workingDirs were provided by the user
// We apply a recursive scan on the root repository
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove the second comment the first one understands the why the code itself explains the what

@attiasas attiasas added the safe to test Approve running integration tests on a pull request label Dec 31, 2025
@github-actions github-actions bot removed the safe to test Approve running integration tests on a pull request label Dec 31, 2025
@github-actions
Copy link

👍 Frogbot scanned this pull request and did not find any new security issues.


@attiasas attiasas merged commit b08280a into jfrog:dev Dec 31, 2025
62 checks passed
@attiasas attiasas deleted the only_jas_one_target branch December 31, 2025 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

improvement Automatically generated release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants