Attach sbom to the supplied container image
cosign attach sbom [flags]
cosign attach sbom <image uri>
--allow-insecure-registry whether to allow insecure connections to registries. Don't use this for anything but testing
--attachment-tag-prefix [AttachmentTagPrefix]sha256-[TargetImageDigest].[AttachmentName] optional custom prefix to use for attached image tags. Attachment images are tagged as: [AttachmentTagPrefix]sha256-[TargetImageDigest].[AttachmentName]
-h, --help help for sbom
--input-format string type of sbom input format (json|xml|text)
--k8s-keychain whether to use the kubernetes keychain instead of the default keychain (supports workload identity).
--sbom string path to the sbom, or {-} for stdin
--type string type of sbom (spdx|cyclonedx|syft) (default "spdx")
--output-file string log output to a file
-t, --timeout duration timeout for commands (default 3m0s)
-d, --verbose log debug output
-y, --yes skip confirmation prompts for non-destructive operations
- cosign attach - Provides utilities for attaching artifacts to other artifacts in a registry