Skip to content

ci: bump osv-scanner for the image scan to v2.7.1 - #183

Open
robo-coderai wants to merge 1 commit into
mainfrom
robo/bump-osv-image-scanner
Open

robo-coderai wants to merge 1 commit into
mainfrom
robo/bump-osv-image-scanner

Conversation

@robo-coderai

Copy link
Copy Markdown

The OSV Image Scanner job fails on main and on every PR. The pinned osv-scanner v2.3.5 can't parse the current OSV API response, so it exits 127 before scanning:

error when retrieving vulns: proto: (line 1:23417): unknown field "source"

This bumps the image scan's scanner to v2.7.1, the latest release. The SHA256 matches both the release's osv-scanner_SHA256SUMS and GitHub's asset digest. The osv-scan jobs already run a newer scanner through osv-scanner-action v2.5.1 and pass.

The job last passed on main on 2026-11-16. Scheduled runs from 11-17 to 11-24 failed at startup without running any jobs, and the next real run on 11-25 hit this error.

None of the v2.4.0 to v2.7.1 release notes change the scan image, --format=sarif or --output-file flags this step uses. v2.7.1 deprecates IgnoreUntil in [[IgnoredVulns]], which osv-scanner.toml doesn't use.

🤖 Generated with Claude Code

v2.3.5 fails to parse current OSV API responses ("unknown field
\"source\"") and exits 127, so the image scan never runs. The source scans
already use a newer scanner through osv-scanner-action and pass.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant