Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 1.74 KB

cosign_attach_sbom.md

File metadata and controls

39 lines (28 loc) · 1.74 KB

cosign attach sbom

Attach sbom to the supplied container image

cosign attach sbom [flags]

Examples

  cosign attach sbom <image uri>

Options

      --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")

Options inherited from parent commands

      --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

SEE ALSO

  • cosign attach - Provides utilities for attaching artifacts to other artifacts in a registry