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 matching when RPM modularity is a factor #1679

Merged
merged 9 commits into from
Jan 26, 2024
Merged

Conversation

wagoodman
Copy link
Contributor

@wagoodman wagoodman commented Jan 24, 2024

This adjusts the package qualifier for RPM modularities to take into consideration cases when the underlying package source cannot express modularity.

@wagoodman wagoodman added the bug Something isn't working label Jan 24, 2024
Signed-off-by: Alex Goodman <[email protected]>
Signed-off-by: Alex Goodman <[email protected]>
Signed-off-by: Alex Goodman <[email protected]>
Signed-off-by: Alex Goodman <[email protected]>
@wagoodman wagoodman marked this pull request as ready for review January 25, 2024 14:28
Signed-off-by: Alex Goodman <[email protected]>
@wagoodman wagoodman enabled auto-merge (squash) January 25, 2024 14:38
…r now

For oraclelinux, the default stream of an installed appstream package does not currently set
the MODULARITYLABEL property in the rpm metadata; however, in their advisory data they do specify
modularity information, so this ends up in a case where the vuln entries have modularity but the
packages coming from the sbom won't, so for now we need to treat the constraint as satisfied when the
modularity label from an oraclelinux package is "".

Signed-off-by: Weston Steimel <[email protected]>
Signed-off-by: Weston Steimel <[email protected]>
@wagoodman wagoodman merged commit 3e0aa00 into main Jan 26, 2024
10 checks passed
@wagoodman wagoodman deleted the optional-modularity branch January 26, 2024 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants