Skip to content

add OSV-Scanner CI for deps and images - #61

Merged
atkrad merged 1 commit into
mainfrom
add-osv-scanner-ci
Aug 3, 2026
Merged

add OSV-Scanner CI for deps and images#61
atkrad merged 1 commit into
mainfrom
add-osv-scanner-ci

Conversation

@atkrad

@atkrad atkrad commented Aug 3, 2026

Copy link
Copy Markdown
Member

Summary

  • Add OSV-Scanner PR differential scan and weekly/main full source scan (SHA-pinned reusable workflows)
  • Gate Release on a linux/amd64 container image scan with SARIF upload to Code Scanning
  • Ignore uncalled GO-2026-5932 (x/crypto/openpgp) in osv-scanner.toml so image scans stay actionable

Related

Fixes #60

Test plan

  • Unit tests added/updated (N/A, CI-only)
  • Scenario under scenarios/ (N/A)
  • actionlint clean on the new/changed workflows
  • Manual smoke: local osv-scanner source scan; built amd64 image, archived, scanned with config (exit 0, SARIF valid)
  • Confirm GitHub Actions runs on this PR (OSV PR scan) and SARIF appears under Security → Code scanning after merge/schedule

Labels

  • One of: kind/feature, kind/bug, kind/docs, kind/chore
  • Add breaking-change if this breaks existing CLI or config behavior
  • Add skip-changelog for internal-only PRs that should not appear in notes

Checklist

  • Title is short and imperative (matches commit style)
  • Docs / CLI help updated when user-facing (README.md, docs/cli/) (N/A)
  • No secrets or local-only paths in the diff

- add PR differential and scheduled source scans
- gate release on amd64 container image scan
- ignore uncalled GO-2026-5932 in osv-scanner.toml
@github-actions github-actions Bot added the area/ci GitHub Actions and release packaging label Aug 3, 2026
@github-advanced-security

Copy link
Copy Markdown

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:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@atkrad atkrad added the kind/feature New capability label Aug 3, 2026
@atkrad
atkrad merged commit d302f76 into main Aug 3, 2026
18 checks passed
@atkrad
atkrad deleted the add-osv-scanner-ci branch August 3, 2026 21:02
@atkrad atkrad mentioned this pull request Aug 3, 2026
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/ci GitHub Actions and release packaging kind/feature New capability

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feature: add OSV-Scanner PR, scheduled, and container scans

2 participants