Skip to content

Add RHEL OSV feed generation#32

Draft
mostlikelee wants to merge 1 commit intomainfrom
tlee/rhel-osv-feeds
Draft

Add RHEL OSV feed generation#32
mostlikelee wants to merge 1 commit intomainfrom
tlee/rhel-osv-feeds

Conversation

@mostlikelee
Copy link
Copy Markdown
Collaborator

Summary

Adds a single workflow step to generate-cve.yml that downloads Red Hat's OSV data from GCS and runs the osv-processor to generate RHEL artifacts.

Changes

One new step in .github/workflows/generate-cve.yml:

  1. Downloads https://storage.googleapis.com/osv-vulnerabilities/Red%20Hat/all.zip (23MB)
  2. Runs osv-processor --platform rhel --versions "7,8,9,10"
  3. Outputs osv-rhel-{7,8,9,10}-YYYY-MM-DD.json.gz into fleet/cvefeed/

The existing release step already uploads fleet/cvefeed/*, so the new artifacts are published automatically.

Dependencies

Expected output

Each run will produce 4 new artifacts alongside existing ones:

Artifact Packages CVEs Size
osv-rhel-7-YYYY-MM-DD.json.gz ~4,000 ~4,600 ~335KB
osv-rhel-8-YYYY-MM-DD.json.gz ~6,800 ~6,900 ~1.1MB
osv-rhel-9-YYYY-MM-DD.json.gz ~4,400 ~5,900 ~1.3MB
osv-rhel-10-YYYY-MM-DD.json.gz ~1,900 ~1,000 ~252KB

Downloads Red Hat OSV data from GCS and runs osv-processor with
--platform rhel to generate osv-rhel-{7,8,9,10}-YYYY-MM-DD.json.gz
artifacts. These are published alongside existing Ubuntu OSV and
goval-dictionary artifacts in each release.

Depends on fleetdm/fleet#43183 (osv-processor RHEL support).
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.

Generate OSV feeds

1 participant