Explore changing the exit-code
on trivy scanners from 1 to something else
#78
Labels
enhancement
New feature or request
Context
The changes introduced by #73 set the exit code of the
aquasecurity/trivy-action
action to 1 to be able to know when a CVE is found. This is helpful for us because when the scan job ends infailure
(*.scan.result == 'failure'
), the next immediate job will report Github issues only when this is the case.The limitations of this approach are:
What needs to get done
exit-code
for theaquasecurity/trivy-action
actionDefinition of Done
There is enough information to make a decision to refactor the
scan-from-dockerhub-report-issue.yaml
andscan-from-published-image.yaml
files by changing the exit code.The text was updated successfully, but these errors were encountered: