-
Notifications
You must be signed in to change notification settings - Fork 301
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
SRE-2505 ci: Fix Trivy scan upload to the Security tab #15201
Commits on Sep 26, 2024
-
Limit scope of changes that are monitored by Trivy scan
Do not start Trivy scan if changes not related to dependencies. Run Trivy on daily bases. Add badge to follow cycle Trivy scans Enable scans on request Doc-only: true Required-githooks: true Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@intel.com>
Configuration menu - View commit details
-
Copy full SHA for 766d9e1 - Browse repository at this point
Copy the full SHA 766d9e1View commit details
Commits on Oct 9, 2024
-
Doc-only: true Required-githooks: true Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@intel.com>
Configuration menu - View commit details
-
Copy full SHA for c029a80 - Browse repository at this point
Copy the full SHA c029a80View commit details
Commits on Oct 10, 2024
-
fix: restore unnecessary cache backend
Doc-only: true Required-githooks: true Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@intel.com>
Configuration menu - View commit details
-
Copy full SHA for 3f4c483 - Browse repository at this point
Copy the full SHA 3f4c483View commit details
Commits on Oct 15, 2024
-
Merge remote-tracking branch 'origin/master' into grom72/SRE-2505-trivy
Doc-only: true Required-githooks: true Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@intel.com>
Configuration menu - View commit details
-
Copy full SHA for f71df83 - Browse repository at this point
Copy the full SHA f71df83View commit details
Commits on Oct 21, 2024
-
Fix: addjust monitored files list.
https://aquasecurity.github.io/trivy/v0.56/docs/coverage/language/#supported-languages provides the full list of scanned file in the 'filesystem' scan. Keep the same condition for PR and merge trigger. Doc-only: true Required-githooks: true Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@intel.com>
Configuration menu - View commit details
-
Copy full SHA for 7406a75 - Browse repository at this point
Copy the full SHA 7406a75View commit details -
Doc-only: true Required-githooks: true Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@intel.com>
Configuration menu - View commit details
-
Copy full SHA for d7c35a2 - Browse repository at this point
Copy the full SHA d7c35a2View commit details
Commits on Oct 22, 2024
-
Fix: simplify triggering rules
Required-githooks: true Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@intel.com>
Configuration menu - View commit details
-
Copy full SHA for 1d52932 - Browse repository at this point
Copy the full SHA 1d52932View commit details
Commits on Oct 24, 2024
-
SRE-2505 ci: Fix Trivy scan upload to the Security tab
Doc-only: true Required-githooks: true Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@intel.com>
Configuration menu - View commit details
-
Copy full SHA for c4fa939 - Browse repository at this point
Copy the full SHA c4fa939View commit details
Commits on Oct 28, 2024
-
SRE-2505 ci: Trivy scans tuning
- Use GHA cache to avoid Trivy scan failure Trivy CVEs database downloads fails often. The most promissing solution is to use cache and download the database once a day. CVEs database is cached during daily build (`schedule`). Cache is not used if `master` branch cache is not available. https://github.com/aquasecurity/trivy-action?tab=readme-ov-file#updating-caches-in-the-default-branch - Avoid Trivy scanners re-initialization https://github.com/aquasecurity/trivy-action?tab=readme-ov-file#skipping-setup-when-calling-trivy-action-multiple-times The latest available version of `aquasecurity/trivy-action` is used to be able to use `skip-setup-trivy` parameter. Doc-only: true Required-githooks: true Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@intel.com>
Configuration menu - View commit details
-
Copy full SHA for 184fabd - Browse repository at this point
Copy the full SHA 184fabdView commit details -
Merge remote-tracking branch 'origin/master' into grom72/SRE-2505-trivy
Doc-only: true Required-githooks: true Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@intel.com>
Configuration menu - View commit details
-
Copy full SHA for be4449d - Browse repository at this point
Copy the full SHA be4449dView commit details -
SRE-2505 ci: Trivy scans optimization
- Use GHA cache to avoid Trivy scan failure Trivy CVEs database downloads fails often. The most promissing solution is to use cache and download the database once a day. CVEs database is cached during daily build (`schedule`). Cache is not used if `master` branch cache is not available. https://github.com/aquasecurity/trivy-action?tab=readme-ov-file#updating-caches-in-the-default-branch - Avoid Trivy scanners re-initialization https://github.com/aquasecurity/trivy-action?tab=readme-ov-file#skipping-setup-when-calling-trivy-action-multiple-times The latest available version of `aquasecurity/trivy-action` is used to be able to use `skip-setup-trivy` parameter. Doc-only: true Required-githooks: true Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@intel.com>
Configuration menu - View commit details
-
Copy full SHA for b68ecaa - Browse repository at this point
Copy the full SHA b68ecaaView commit details
Commits on Oct 29, 2024
-
common: update workflow documentation
Doc-only: true Required-githooks: true Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@intel.com>
Configuration menu - View commit details
-
Copy full SHA for 827c067 - Browse repository at this point
Copy the full SHA 827c067View commit details
Commits on Oct 30, 2024
-
Make the solution more reliable and more simple
Use external caching mechanism to ensure PR scan not failing. Doc-only: true Required-githooks: true Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@intel.com>
Configuration menu - View commit details
-
Copy full SHA for c9e4e5c - Browse repository at this point
Copy the full SHA c9e4e5cView commit details -
common: simplified workflow with cache enabled
Doc-only: true Required-githooks: true Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@intel.com>
Configuration menu - View commit details
-
Copy full SHA for ecab684 - Browse repository at this point
Copy the full SHA ecab684View commit details -
Doc-only: true Required-githooks: true Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@intel.com>
Configuration menu - View commit details
-
Copy full SHA for 78a59e3 - Browse repository at this point
Copy the full SHA 78a59e3View commit details