-
Notifications
You must be signed in to change notification settings - Fork 368
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: Trivy enhancements #4703
ci: Trivy enhancements #4703
Conversation
- Don't pull Trivy databases for PR worklow - Add Trivy scan cron workflow
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 3 Skipped Deployments
|
Docker builds report
|
Uffizzi Preview |
This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation. |
MIME_TYPE: application/vnd.aquasec.trivy.db.layer.v1.tar | ||
|
||
scan-images: | ||
name: Pull and republish Trivy databases |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the name here needs updating?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4703 +/- ##
=======================================
Coverage 97.21% 97.21%
=======================================
Files 1171 1171
Lines 40651 40651
=======================================
Hits 39517 39517
Misses 1134 1134 ☔ View full report in Codecov by Sentry. |
Thanks for submitting a PR! Please check the boxes below:
docs/
if required so people know about the feature!Changes
This moves Trivy database caching from the PR workflow to a new cron-based workflow, which also runs Trivy against
main
tags every three hours.This fixes CI for external contributions and makes sure we have up-to-date security reports for current
main
.How did you test this code?
This is a CI change.