- 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 helpfor details.
gcloud artifacts sbom export
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-05-27 UTC.

