Repository navigation
ci: update OSV-Scanner to v2.7.0 #557
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -17,7 +17,7 @@ name: Security Scan | |
| # | ||
| # - workflow_dispatch: behaves like the cron run (full reporting). | ||
| # | ||
| # Scanner: OSV-Scanner v2.3.8 (purl-based via OSV.dev; federates GHSA, | ||
| # Scanner: OSV-Scanner v2.7.0 (purl-based via OSV.dev; federates GHSA, | ||
| # NVD, npm advisory DB, RustSec, Go vuln DB, PyPA). Reads | ||
| # `package-lock.json` natively -- no separate SBOM tool needed. | ||
| # | ||
|
|
@@ -27,7 +27,7 @@ name: Security Scan | |
| # justification ("dev-only, not shipped in dist/"). | ||
| # | ||
| # Suppressions live in `osv-scanner.toml` as [[IgnoredVulns]] entries | ||
| # (CVE-id global; OSV-Scanner v2.3.8 doesn't support per-package CVE | ||
| # (CVE-id global; OSV-Scanner v2.7.0 doesn't support per-package CVE | ||
| # scoping). Each entry has a justification comment and an `ignoreUntil` | ||
| # expiry so suppressions re-surface for re-review rather than lingering. | ||
|
|
||
|
|
@@ -67,7 +67,7 @@ jobs: | |
| run: | | ||
| set -euo pipefail | ||
| curl -fsSL -o /tmp/osv-scanner \ | ||
| https://github.com/google/osv-scanner/releases/download/v2.3.8/osv-scanner_linux_amd64 | ||
| https://github.com/google/osv-scanner/releases/download/v2.7.0/osv-scanner_linux_amd64 | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🔵 Low — The new v2.7.0 binary is fetched with echo "<sha256> /tmp/osv-scanner" | sha256sum -c -That also gives you one place to update on the next version bump. |
||
| chmod +x /tmp/osv-scanner | ||
| /tmp/osv-scanner --version | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,15 +9,15 @@ | |
| # just the artifact we have in mind. The alternative | ||
| # ([[PackageOverrides]] with `vulnerability.ignore = true`) is | ||
| # per-package but blanket-ignores ALL vulnerabilities on that package, | ||
| # which is much worse. OSV-Scanner v2.3.8 does NOT support an | ||
| # which is much worse. OSV-Scanner v2.7.0 does NOT support an | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🔵 Low — This behavioral claim (and the The |
||
| # intersection ("this CVE on this package only"). | ||
| # | ||
| # See google.github.io/osv-scanner/configuration/ for the schema. | ||
| # | ||
| # CONVENTION: use suppressions sparingly, only with a strong reason | ||
| # (unreachable code path + no fix available, or dev-only + not shipped). | ||
| # EVERY [[IgnoredVulns]] entry MUST set `ignoreUntil = YYYY-MM-DD` | ||
| # (~6 months out). OSV-Scanner v2.3.8 honors it natively; when it lapses | ||
| # (~6 months out). OSV-Scanner v2.7.0 honors it natively; when it lapses | ||
| # the finding re-surfaces, forcing a re-review instead of a permanent | ||
| # silent ignore. | ||
| # | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.