Repository navigation
alma: add AlmaLinux support - #2112
mikelolasagasti wants to merge 2 commits into
Conversation
8f29a24 to
e41a054
Compare
|
I think there might be a false positive issue with the <criteria operator="AND">
<criterion test_ref="oval:org.almalinux.alsa:tst:20253713001" comment="webkit2gtk3 is earlier than 0:2.48.1-1.el9_5"/>
<criterion test_ref="oval:org.almalinux.alsa:tst:20257387001" comment="webkit2gtk3 is earlier than 0:2.48.1-1.el9_6"/>
<criterion test_ref="oval:org.almalinux.alsa:tst:20226634002" comment="webkit2gtk3 is signed with AlmaLinux OS 9 key"/>
</criteria>I think the existing OVAL parser will create a vulnerability per criterion (essentially making it an I believe the other OVAL feeds contain one earlier than criterion (and usually the "signed" criterion). I think it'd be better to address this (or discount it if applicable). |
|
Thanks for catching this. I fixed it in the shared RPM OVAL parser. When two version checks in the same I added a regression test and verified that the full AlmaLinux 8, 9, and 10 feeds still parse. |
Add distribution detection and vulnerability matching for AlmaLinux 8, 9 and 10 using the official AlmaLinux OVAL feeds. The implementation reuses Claircore's existing RPM OVAL parser and version matching infrastructure, following the approach used by other RPM-based distributions. Includes distribution scanner tests, advisory parsing tests, RPM indexing and matching integration tests, and periodic updater coverage. Vulnerability matching is opt-in for now because RPM signing-key information is not retained in index reports. `AffectedManifests` support is not included. Signed-off-by: Mikel Olasagasti Uranga <mikel@olasagasti.info>
Collapse equivalent RPM less-than checks within the same AND group to the earliest fixed version. Leave bounds in separate branches independent. This prevents a false positive on the fixed WebKit build shipped in ALSA-2025:3713. Signed-off-by: Mikel Olasagasti Uranga <mikel@olasagasti.info>
e5ba73a to
5688c2e
Compare
Add distribution detection and vulnerability matching for AlmaLinux 8, 9 and 10 using the official AlmaLinux OVAL feeds.
The implementation reuses Claircore's existing RPM OVAL parser and version matching infrastructure, following the approach used by other RPM-based distributions.
Includes distribution scanner tests, advisory parsing tests, RPM indexing and matching integration tests, and periodic updater coverage.
Vulnerability matching is opt-in for now because RPM signing-key information is not retained in index reports.
AffectedManifestssupport is not included.