ci(security): add warn-only Trivy dependency CVE scan - #1073
Merged
Conversation
Adds a dependency-cve-scan job to the setup workflow so it runs on every pipeline. It reports fixable CRITICAL/HIGH CVEs in the repo's dependency manifests, currently toolchain/arangoproxy/go.mod. Findings are warnings only. Coverage is not: expect-targets names the manifest, so the job goes red if it stops being scanned rather than passing green over nothing.
Contributor
|
Deploy Preview Available Via |
Contributor
📝 WalkthroughWalkthroughCircleCI now includes the Trivy scan orb and runs a warning-only filesystem vulnerability scan targeting ChangesDependency vulnerability scanning
Estimated code review effort: 2 (Simple) | ~10 minutes Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Contributor
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.circleci/config.yml:
- Around line 141-150: Update the dependency-cve-scan trivy/scan-fs
configuration to exclude vulnerabilities without available fixes by enabling the
orb’s documented ignore-unfixed option, or confirm and rely on that default for
the pinned orb version. Preserve the existing CRITICAL,HIGH severity filter and
warn-only fail-on-findings behavior.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
Simran-B
approved these changes
Aug 5, 2026
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.
Description
Adds a warn-only Trivy dependency CVE scan for the one dependency surface this repository has, the arangoproxy Go module. One job in the setup workflow pinned to
arangodb/trivy-scan@1.1.2: findings never fail the build (gate CRITICAL/HIGH, full-severity report stored as artifacts), but the job does fail iftoolchain/arangoproxy/go.modstops being scanned, so the dependency surface cannot silently drop out of scope. Zero findings today at any severity.ignore-unfixed: trueis explicit per review feedback. Placing the job in.circleci/config.ymlrather than the generated config keeps it to one file and guarantees it runs on every pipeline, including plain PRs.Upstream PRs
None. CI-only change, no documentation content affected.