Merged
Conversation
The 'oci-archive:' prefix is not a valid image reference for 'trivy image'. Use --input flag to specify the local archive path. https://claude.ai/code/session_01UQCFLkpP9z23jGo7zgAjvB
Co-authored-by: Cursor <cursoragent@cursor.com>
…builds - Add reusable validate.yaml: hadolint + build-and-scan (buildah, dive, trivy) - CI: call validate workflow instead of duplicating hadolint/build jobs - Release: gate semantic-release behind validate; build-and-push only builds and pushes (no re-scan) Co-authored-by: Cursor <cursoragent@cursor.com>
Trivy expects Docker-format tar (manifest.json); buildah oci-archive uses OCI layout (index.json). Scan the image already loaded for dive instead of --input tar to avoid format mismatch. Co-authored-by: Cursor <cursoragent@cursor.com>
- Add .trivyignore with known base-image vulnerabilities (ubuntu, node, dotnet, go) and expiration dates for re-evaluation on runner upgrades - Use --ignorefile .trivyignore in validate workflow and builder.sh trivy scan - Document inherited base-image vulns and .trivyignore in README (base image + Security) Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
- Add --ignore-unfixed and --pkg-types library to Trivy in builder and validate workflow - Do not report base-image OS packages; keep .trivyignore for any remaining base-origin library findings - Simplify .trivyignore expiration format (date only) - Update README base image, pipeline, and Security sections Co-authored-by: Cursor <cursoragent@cursor.com>
81fb8cd to
95e6041
Compare
- Add --scanners vuln to disable secret scanning (faster) - Add --skip-dirs /home/runner/externals to skip base Node/npm tree Co-authored-by: Cursor <cursoragent@cursor.com>
- Skip dockerd and docker-buildx (base image) via --skip-files/--skip-dirs - Add .trivyignore for dive, argo, kargo, pack, yq CVEs (exp 2026-08-19) Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.