gcloud artifacts sbom export

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":
gcloudartifactssbomexport--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 currentgcloud user to verify the redirection status.
OPTIONAL FLAGS
--location=LOCATION
If specified, all requests to Artifact Analysis for occurrences will go tolocation 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.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-05-07 UTC.