Skip to content

Add support and correct logic for NotScanned applicability status#587

Merged
attiasas merged 6 commits intojfrog:devfrom
eranturgeman:fix-get-severity-details-applicability-status-switch
Nov 23, 2025
Merged

Add support and correct logic for NotScanned applicability status#587
attiasas merged 6 commits intojfrog:devfrom
eranturgeman:fix-get-severity-details-applicability-status-switch

Conversation

@eranturgeman
Copy link
Contributor

@eranturgeman eranturgeman commented Oct 12, 2025

  • 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.

This PR corrects a conflicting logic regarding severity details:
so far, if we got a 'notScanned' status we would switch it to 'applicable' since we had no support in the notScanned status, and we had an overlapping logic (to which the code could not reach) where we throw an error.
This duplicated and incorrect logic was switched to enable the notScanned status in a valid flow.

@eranturgeman eranturgeman requested a review from attiasas October 12, 2025 08:16
@eranturgeman eranturgeman added safe to test Approve running integration tests on a pull request bug Something isn't working labels Oct 12, 2025
@attiasas attiasas added ignore for release Automatically generated release notes and removed bug Something isn't working labels Oct 12, 2025
Copy link
Collaborator

@attiasas attiasas left a comment

Choose a reason for hiding this comment

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

LGTM (as long as tests are passing).
This should not affect the users, it is just a refactor of some code, so I switched the label.

…o fix-get-severity-details-applicability-status-switch
@eranturgeman eranturgeman added safe to test Approve running integration tests on a pull request and removed safe to test Approve running integration tests on a pull request labels Oct 12, 2025
@github-actions
Copy link

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


@attiasas attiasas added safe to test Approve running integration tests on a pull request and removed safe to test Approve running integration tests on a pull request labels Nov 23, 2025
@github-actions github-actions bot removed the safe to test Approve running integration tests on a pull request label Nov 23, 2025
@attiasas attiasas added the safe to test Approve running integration tests on a pull request label Nov 23, 2025
@github-actions github-actions bot removed the safe to test Approve running integration tests on a pull request label Nov 23, 2025
@attiasas attiasas merged commit 2b7267e into jfrog:dev Nov 23, 2025
111 of 115 checks passed
basel1322 pushed a commit to basel1322/jfrog-cli-security that referenced this pull request Dec 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ignore for release Automatically generated release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants