mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-08 18:45:13 +00:00
31 lines
1.2 KiB
Text
31 lines
1.2 KiB
Text
NAME
|
|
gcloud artifacts sbom export - export SBOM files to Google Cloud Storage
|
|
|
|
SYNOPSIS
|
|
gcloud artifacts sbom export --uri=URI [GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
Export SBOM files to Google Cloud Storage.
|
|
|
|
EXAMPLES
|
|
To export an SBOM file for the Artifact Registry image with URI
|
|
"us-west1-docker.pkg.dev/my-project/my-repository/busy-box@sha256:abcxyz":
|
|
|
|
$ gcloud artifacts sbom export \
|
|
--uri=us-west1-docker.pkg.dev/my-project/my-repository/\
|
|
busy-box@sha256:abcxyz
|
|
|
|
REQUIRED FLAGS
|
|
--uri=URI
|
|
The URI of the Artifact Registry image the SBOM is exported for. A
|
|
'gcr.io' image can also be used if redirection is enabled in Artifact
|
|
Registry. Make sure 'artifactregistry.projectsettings.get' permission
|
|
is granted to the current gcloud user to verify the redirection status.
|
|
|
|
GCLOUD WIDE FLAGS
|
|
These flags are available to all commands: --access-token-file, --account,
|
|
--billing-project, --configuration, --flags-file, --flatten, --format,
|
|
--help, --impersonate-service-account, --log-http, --project, --quiet,
|
|
--trace-token, --user-output-enabled, --verbosity.
|
|
|
|
Run $ gcloud help for details.
|