kubernetes-sigs / bom

A utility to generate SPDX-compliant Bill of Materials manifests
https://kubernetes-sigs.github.io/bom/
Apache License 2.0
318 stars 46 forks source link

Support reading/writing SBOMs from OCI registries #442

Open puerco opened 1 month ago

puerco commented 1 month ago

What would you like to be added:

Since the early days of cosign, attaching SBOMs to images has been a common pattern. Since bom can generate SBOMs of images stored in registries, we should add support for reading and pushing SBOMs to the registries.

Given enough credentials, something like this would be awesome:

bom generate --image=registry.k8s.io/pause --attach

Why is this needed:

Having support for attaching documents saves time and allows for simpler CI/CD workflows.