ci: add Trivy vulnerability scanning#372
Draft
skyrpex wants to merge 4 commits into
Draft
Conversation
Blocking PR/main gate on fixable CRITICAL/HIGH Go dependency vulns, plus a weekly full scan that reports to Slack on findings. Both upload SARIF to code scanning (skipped on fork PRs). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
trivy-action ignores severity/ignore-unfixed when format is sarif and reports all severities, so a single sarif step failed the gate on a low-severity test-only CVE. Use a dedicated table-format gate step for CRITICAL/HIGH. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Upload SARIF to the Security tab so alerts flow through GitHub-native notifications (watchers subscribed to security alerts), dropping the Slack webhook, jq summary, and SLACK_WEBHOOK_URL secret. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.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.
Adds a GitHub Actions workflow that runs Trivy against the Go dependencies.
Both upload results to the Security tab (code scanning), which annotates PRs inline and notifies watchers subscribed to security alerts.
Closes DEVX-837.
🤖 Generated with Claude Code