It would be great to have a command extract-sbom to get the during build generated SBOM from an image.
extract-sbom