Skip to content

#1260 Improves/fixes Trivy Stage#1262

Open
renedupont wants to merge 2 commits intomasterfrom
1260-improvefix-trivy-stage-by-being-able-to-use-severity-thresholds
Open

#1260 Improves/fixes Trivy Stage#1262
renedupont wants to merge 2 commits intomasterfrom
1260-improvefix-trivy-stage-by-being-able-to-use-severity-thresholds

Conversation

@renedupont
Copy link
Member

Closes #1260

Notable Changes:

  • Enables to use trivy's severity threshold with exit-code option while showing correct bitbucket code insight symbol and keeping report as requested in issue Improve/fix Trivy Stage by being able to use severity thresholds #1260
  • Some refactoring including moving code that should be in service layer to TrivyService for better separation of concern
  • Fixes bug that exceptions that happen while archiving report to nexus does just return null instead of exception
  • Adds a couple of tests to the existing ones
  • Renames return code int variable TRIVY_OPERATIONAL_ERROR into TRIVY_FAIL because the scan can now fail due to exceeding the severity threshold as well.

@renedupont renedupont linked an issue Feb 25, 2026 that may be closed by this pull request
@renedupont renedupont requested a review from BraisVQ February 25, 2026 09:50
@renedupont renedupont force-pushed the 1260-improvefix-trivy-stage-by-being-able-to-use-severity-thresholds branch from 67ac20b to b45db33 Compare February 25, 2026 12:37
@renedupont renedupont requested a review from gerardcl February 25, 2026 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve/fix Trivy Stage by being able to use severity thresholds

1 participant