-
Notifications
You must be signed in to change notification settings - Fork 85
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
Support wolfi / chainguard detection #923
Comments
I'm with the Wolfi team, and we'd be happy to help here however possible! |
👋 We'd need to know what package manager is used and how/if it's different from other uses, and where the security advisories are published and in what format. |
Hey! Thanks for the response! We use the |
I think the steps to take are:
I think the generic |
Just noticed that |
@hdonnay is there a reason to read version from Relevant info:
claircore/alpine/distributionscanner.go Line 41 in c5ea100
At least all the test data you have seem to cover using |
Refs: quay#923 Signed-off-by: Johan Bergström <[email protected]>
Refs: quay#923 Signed-off-by: Johan Bergström <[email protected]>
Hi! I'm with the Wolfi security team, and we just recently added more documentation for scanners wanting to implement support for Wolfi and the related "Chainguard distro". We've also added some test images for use in manual/automated tests in case that's valuable to you. https://github.com/chainguard-dev/vulnerability-scanner-support Also happy to field any questions that come up! |
Also happy to list clair on this page when you're ready, let us know! |
Sorry for pinging you again but it would be good to get clarity on this before I move on! Thanks! |
@jbergstroem I don't have context for Clair in particular, but this might help a little: This section explains how scanners should identify the Wolfi/Chainguard distros. Definitely take a look at this! It's short. tl;dr: Use Do not use the You won't find an |
@luhring thanks for the info; I already had a look! Since the idea is to reuse the same framework for Alpine and Wolfi, I wanted to double-check why we need to read both |
JFYI since the discussion above @luhring put together this excellent resource on adding scanner support for our images: https://github.com/chainguard-dev/vulnerability-scanner-support |
Wolfi is an operating system tailored for containers. Clair currently doesn't recognize it so I thought it'd make sense to track support.
Relevant info
The following examples are from the generated container
cgr.dev/chainguard/node:20
which is part of their automated builds.OS detection
Wolfi mentions using apk as a package manager. Here's an example of the installed list:
..which also seems to follow the
apk
package format.Should a PR abstract
alpine
intoapk
and support both OS'es but with different identifiers? Put differently: I'm new to modifying clair and its ecosystem. How should I proceed with a PR to see it merged?The text was updated successfully, but these errors were encountered: