Replies: 1 comment 1 reply
-
It's not a problem in Trivy, but in trivy-action. We're working to fix this issue. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
Starting with version v0.56.0, and given a config file such as below:
Trivy exits with status code 1 for all severities including medium and low. This was not the case previously.
The workaround is to pass severity as a flag to the input also, but of course most workflows depended on the config file only which we provide centrally.
Desired Behavior
Should only exit 1 for license findings with HIGH or CRITICAL when using the config file
Actual Behavior
exit 1 for all findings regardless of severity unless we additionally provide the CLI flag
Reproduction Steps
Execution of a license scan, with custom configuration including specification of severity criteria for failing
Target
Filesystem
Scanner
License
Output Format
Table
Mode
Standalone
Debug Output
Operating System
Ubuntu latest runners in github
Version
Checklist
trivy clean --all
Beta Was this translation helpful? Give feedback.
All reactions