Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(KONFLUX-6218): align repository ids to cpe mapping #38

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

ralphbean
Copy link
Member

This update changes the rpm repository ids to match those found in Red Hat's repository-to-cpe.json mapping file, used by third-party scanners.

In order for scanners like clair to understand what CPE a Red Hat rpm is associated with, it needs to be able to find its repository in Red Hat's published mapping file.

Even though some "arch-less" repository ids currently appear in the mapping file, they are going to be removed soon and will be blocked by Konflux in the future in release-engineering/rhtap-ec-policy#99.

This update changes the rpm repository ids to match those found in Red Hat's
repository-to-cpe.json mapping file[0], used by third-party scanners.

In order for scanners like clair to understand what CPE[1] a Red Hat rpm is
associated with, it needs to be able to find its repository in Red Hat's
published mapping file.

[0] https://security.access.redhat.com/data/meta/v1/repository-to-cpe.json
[1] https://cpe.mitre.org/

Signed-off-by: Ralph Bean <[email protected]>
@ralphbean ralphbean requested a review from arewm January 10, 2025 21:35
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