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 #212

Merged
merged 3 commits into from
Jan 13, 2025

Conversation

ralphbean
Copy link
Contributor

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]>
@pavolloffay
Copy link
Member

/test

@pavolloffay pavolloffay merged commit 762da91 into os-observability:main Jan 13, 2025
3 checks passed
@ralphbean ralphbean deleted the konflux-6218-main branch January 13, 2025 12:51
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.

2 participants