Draft
Conversation
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).
2 tasks
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.
Summary
Adds a single workflow step to
generate-cve.ymlthat 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:https://storage.googleapis.com/osv-vulnerabilities/Red%20Hat/all.zip(23MB)osv-processor --platform rhel --versions "7,8,9,10"osv-rhel-{7,8,9,10}-YYYY-MM-DD.json.gzintofleet/cvefeed/The existing release step already uploads
fleet/cvefeed/*, so the new artifacts are published automatically.Dependencies
--platform rhelsupport tocmd/osv-processor)Expected output
Each run will produce 4 new artifacts alongside existing ones:
osv-rhel-7-YYYY-MM-DD.json.gzosv-rhel-8-YYYY-MM-DD.json.gzosv-rhel-9-YYYY-MM-DD.json.gzosv-rhel-10-YYYY-MM-DD.json.gz