Skip to content

Conversation

tkatila
Copy link
Contributor

@tkatila tkatila commented Dec 13, 2024

Fail trivy vuln scan cleanly and create a periodic trivy scan to upload results to Github's security.

Trivy-action doesn't work too well when it's executed multiple times in the job. The env variables the action sets spill over to the next step and the step might be executed incorrectly. In our case, the "show report in human-readable format" actually just converted the json format back to json format and it didn't show the actual vulnerability in the action's logs.

Fail trivy vuln scan cleanly and create a periodic trivy
scan to upload results to Github's security.

Signed-off-by: Tuomas Katila <[email protected]>
@tkatila tkatila force-pushed the workflow-improve-trivy-vuln-scan branch from cdb56c6 to 7a34155 Compare December 13, 2024 11:15
@mythi mythi merged commit 5e3cff9 into intel:main Dec 13, 2024
75 checks passed
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.

2 participants