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

Add support for Mariner distroless images #1044

Closed
tofay opened this issue Jun 14, 2022 · 0 comments · Fixed by #1045
Closed

Add support for Mariner distroless images #1044

tofay opened this issue Jun 14, 2022 · 0 comments · Fixed by #1045
Labels
enhancement New feature or request

Comments

@tofay
Copy link
Contributor

tofay commented Jun 14, 2022

What would you like to be added:
syft can identify RPM packages in Mariner's distroless container image

Why is this needed:
Enable scanning and subsequent CVE checking of Mariner distroless images

Additional context:
Mariner produces distroless images similar to https://github.com/GoogleContainerTools/distroless but containing Mariner packages.
These images don't contain a full RPM database, but they do contain a manifest file detailing the RPMs in the image. https://github.com/microsoft/CBL-Mariner/blob/main/toolkit/docs/how_it_works/5_misc.md#rpm-manifest-file

Syft could read this to determine the contained RPM. syft wouldn't be able to extract as much information as it could from an RPM db, e.g per-file data is not present, but it could extract enough information to enable subsequent CVE checking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant