Skip to content

fix: osv-scanner 2.7.0 writes DBs to osv-scalibr/, not osv-scanner/ - #42

Merged
pshickeydev merged 1 commit into
traust-security:mainfrom
pshickeydev:fix/osv-scalibr-db-path
Oct 28, 2026
Merged

pshickeydev merged 1 commit into
traust-security:mainfrom
pshickeydev:fix/osv-scalibr-db-path

Conversation

@pshickeydev

Copy link
Copy Markdown
Member

osv-scanner 2.7.0 changed the offline database subdirectory from
osv-scanner/<ecosystem>/all.zip to osv-scalibr/<ecosystem>/all.zip.

The Containerfile's verification loop (line 128), the feeds.Update Go code
(lines 83, 130), and three test fixtures all checked the old path, causing the
traust-cli-toolkit-plus-feeds-on-push-n2k8t build to fail with
osv offline DB missing or empty for Go despite successful downloads.

Fixes the path in all three files (6 lines changed).


This PR description is AI-generated (Claude Opus 4).

osv-scanner 2.7.0 changed the offline database subdirectory from
osv-scanner/<ecosystem>/all.zip to osv-scalibr/<ecosystem>/all.zip.
The Containerfile's verification loop and the feeds update Go code
both checked the old path, causing the build to fail with 'osv
offline DB missing or empty' despite successful downloads.

Assisted-by: Claude Opus 4
@pshickeydev
pshickeydev requested a review from a team as a code owner October 28, 2026 01:39
@pshickeydev
pshickeydev merged commit f474fc8 into traust-security:main Oct 28, 2026
4 of 6 checks passed
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