how to create a sbom for a Bundle
I would like to have insight into what dependencies (+ transitive) / packages / libraries / licenses are being distributed by a Bundle
Having an sbom is a good standard to follow, however generating an sbom for a bundle doesn't capture any of the dependencies brought in by the referenced images. (It isn't clear to me whether it should either, since each image ref would also have its own sbom - this might require some research)
Can we have imgpkg workflow documentation (similar to the airgapped env) that outlines:
- How to generate an sbom for a bundle
- What information is captured in a bundle sbom
Going to accept this issue.
The expected outcome for this story is:
- Come up with a workflow that can be used by the users
- Create new issues with possible new features needed to create these SBOMs (This might not be a change in
imgpkgitself but it could be a script to help automate the process)
The generated SBOM could be signed with cosign and added as a signed in-toto attestation to the image. I guess this issue is connected to https://github.com/carvel-dev/imgpkg/issues/269.