-
Notifications
You must be signed in to change notification settings - Fork 441
Our SBOMs should reference the base image's SBOMs #654
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requestlifecycle/frozensbomRelated to generation of SBOMsRelated to generation of SBOMs
Description
Currently our SBOMs only capture the contents of the Go binary we overlay on the base image, but it should be possible to (at least) discover the SBOM for the base image, or capture its contents.
I believe the prevailing wisdom (from @puerco) is to reference the base image's SBOM, and there is some precedent for "external references" in SBOMs such as this "external reference" from the K8s SBOMs
ExternalDocumentRef:DocumentRef-kubernetes-v1.23.5 https://sbom.k8s.io/v1.23.5/source SHA1: c7c35638348a5c2cf6d3af72cfdc94a66e33252b
I think the work here would be:
- Detect whether our base image has an SBOM, and if so
- Encode some sort of
ExternalDocumentRefinto our image-level SBOMs.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestlifecycle/frozensbomRelated to generation of SBOMsRelated to generation of SBOMs