Skip to content

feat(datasources): import Docker Hardened Images advisories in prod - #6362

Open
aubm wants to merge 1 commit into
google:masterfrom
aubm:feat/dhi-prod-datasource
Open

aubm wants to merge 1 commit into
google:masterfrom
aubm:feat/dhi-prod-datasource

Conversation

@aubm

@aubm aubm commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

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

Known limitation: records currently list explicit affected versions and no ranges. Ranges will follow in a later publication under the same IDs.

Testing

Ran osv-linter (record lint --collection offline) over all dhi/osv records (~3,000): exit 0. Additionally checked that every record has:

  • a DHI- ID matching its file name and a populated upstream
  • affected entries with explicit versions
  • ecosystems limited to Docker Hardened Images:Alpine:3.23, :Alpine:3.24 and :Debian:13
  • PURLs limited to pkg:apk/dhi and pkg:deb/dhi

Maintainers: could you confirm Alpine:3.24 resolves correctly on the test instance? It matters once ECOSYSTEM ranges are published.

🤖 Generated with Claude Code

@google-cla

google-cla Bot commented Nov 13, 2026

Copy link
Copy Markdown

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
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
aubm force-pushed the feat/dhi-prod-datasource branch from 42f6d07 to b4e63c8 Compare November 13, 2026 15:21
@aubm aubm mentioned this pull request Nov 13, 2026
4 of 6 tasks

This branch has not been deployed

No deployments
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