Method: projects.resources.exportSBOM

Generates an SBOM for the given resource.

HTTP request


POST https://containeranalysis.googleapis.com/v1/{name=projects/*/resources/**}:exportSBOM

The URLs use gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the resource in the form of projects/[PROJECT_ID]/resources/[RESOURCE_URL].

Request body

The request body contains data with the following structure:

JSON representation
{

  // Union field target can be only one of the following:
  "cloudStorageLocation": {
    object (CloudStorageLocation)
  }
  // End of list of possible types for union field target.
}
Fields
Union field target. The location of the SBOM export. target can be only one of the following:
cloudStorageLocation

object (CloudStorageLocation)

Optional. Empty placeholder to denote that this is a Google Cloud Storage export request.

Response body

If successful, the response body contains an instance of ExportSBOMResponse.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.