1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-08 18:45:13 +00:00
gcloud-help/gcloud/artifacts/sbom/export
2024-10-02 09:51:07 +00:00

37 lines
1.3 KiB
Text

NAME
gcloud artifacts sbom export - export SBOM files to Google Cloud Storage
SYNOPSIS
gcloud artifacts sbom export --uri=URI [--location=LOCATION]
[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.
OPTIONAL FLAGS
--location=LOCATION
If specified, all requests to Artifact Analysis for occurrences will go
to location specified
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.