Address BOOSTSP-795 - Trivy silently failing#308
Closed
Franck-Boost wants to merge 2 commits into
Closed
Conversation
lindycoder
requested changes
Jul 20, 2026
lindycoder
left a comment
There was a problem hiding this comment.
This solution solves the hardfailure, but it regresses for an unpinned requirement.txt, an empty requirements.txt and an unparseable lockfile.
Additionnally, there are these changes without a note on the pr description
- the default additional args have been changed for SCA
- We introduce a TRIVY_CACHE_DIR where there was none before
Here's an alternate version that takes into consideration that the exit code only reads STDERR and that the post processer needs stderr and stdout to correctly process the data or detect there's no file
Collaborator
Author
|
Closing but will open another one to address :
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem statement:
When an error during a Trivy scan, the error reported to the dashboard doesn't include any meaningful information (see below). Even if the log level of the scanning is increased there is no additional information provided to the dashboard.
What it is in this PR:
This PR modify Trivy based scanner modules to do the follow (boost-sca, trivy-fs, trivy-sbom, trivy-image, trivy-image-sbom):