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

Releasing SBOM information for images and preparation for vulnerability scanning #275

Open
mwindower opened this issue Jan 20, 2025 · 0 comments

Comments

@mwindower
Copy link
Contributor

mwindower commented Jan 20, 2025

For vulnerability scanning it's valuable to have a full SBOM of metal-stack images, containing all dependencies, at hand.
This could be accomplished e.g. with syft:

syft quay.io/metalstack/debian:12 -o cyclonedx-json > sbom.json

This can be published as GitHub release artifact.
After that, a scanner may use that information to gather vulnerabilities already during build time but potentially also later.

trivy sbom sbom.json --severity <SEVERITY_FILTER>

Risk acceptance can also be documented with a .trivyignore.yaml config:

vulnerabilities:
  - id: CVE-2023-41361
    statement: Accept the risk because we have FRR version >9 installed - s. https://frrouting.org/security
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant