grype/test
Alex Goodman 3e0aa00242
Fix matching when RPM modularity is a factor (#1679)
* allow for RPM modularity to be optional

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>

* use latest syft from main

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>

* bump syft

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>

* remove lint ignores for CPEs

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>

* update snapshot tests

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>

* update tests

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>

* fix: treat oraclelinux default appstream rpm modularity as missing for 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 <weston.steimel@anchore.com>

* test: add new appstream images to quality gate and bump labels

Signed-off-by: Weston Steimel <weston.steimel@anchore.com>

* chore: bump quality gate labels

Signed-off-by: Weston Steimel <weston.steimel@anchore.com>

---------

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
Signed-off-by: Weston Steimel <weston.steimel@anchore.com>
Co-authored-by: Weston Steimel <weston.steimel@anchore.com>
2024-01-26 09:18:11 -05:00
..
cli Incorporate format API changes from syft (#1582) 2023-11-02 15:25:48 -04:00
install chore: pin actions; pin images; add top level action permissions (#1493) 2023-09-15 14:29:37 -04:00
integration chore: break assumption that syft cpe.CPE is wfn.Attributes (#1675) 2024-01-25 14:24:01 +00:00
quality Fix matching when RPM modularity is a factor (#1679) 2024-01-26 09:18:11 -05:00
grype-test-config.yaml feat: disable CPE-based matching for GHSA ecosystems by default (#1412) 2023-10-12 09:07:33 -04:00
ignore-att-signature.yaml chore: prune cosign dependency for grype builds (#1100) 2023-01-31 11:42:40 -05:00
validate-grype-db-schema.py Port grype-db to grype (#587) 2022-01-12 10:03:22 -05:00