Skip to content

Gets details of a software bill of materials (SBOM) report

Description

Gets details of a software bill of materials (SBOM) report.

Usage

inspector2_get_sbom_export(reportId)

Arguments

  • reportId

    [required] The report ID of the SBOM export to get details for.

Value

A list with the following syntax:

list(
  reportId = "string",
  format = "CYCLONEDX_1_4"|"SPDX_2_3",
  status = "SUCCEEDED"|"IN_PROGRESS"|"CANCELLED"|"FAILED",
  errorCode = "INTERNAL_ERROR"|"INVALID_PERMISSIONS"|"NO_FINDINGS_FOUND"|"BUCKET_NOT_FOUND"|"INCOMPATIBLE_BUCKET_REGION"|"MALFORMED_KMS_KEY",
  errorMessage = "string",
  s3Destination = list(
    bucketName = "string",
    keyPrefix = "string",
    kmsKeyArn = "string"
  ),
  filterCriteria = list(
    accountId = list(
      list(
        comparison = "EQUALS"|"NOT_EQUALS",
        value = "string"
      )
    ),
    resourceId = list(
      list(
        comparison = "EQUALS"|"NOT_EQUALS",
        value = "string"
      )
    ),
    resourceType = list(
      list(
        comparison = "EQUALS"|"NOT_EQUALS",
        value = "string"
      )
    ),
    ecrRepositoryName = list(
      list(
        comparison = "EQUALS"|"NOT_EQUALS",
        value = "string"
      )
    ),
    lambdaFunctionName = list(
      list(
        comparison = "EQUALS"|"NOT_EQUALS",
        value = "string"
      )
    ),
    ecrImageTags = list(
      list(
        comparison = "EQUALS"|"NOT_EQUALS",
        value = "string"
      )
    ),
    ec2InstanceTags = list(
      list(
        comparison = "EQUALS",
        key = "string",
        value = "string"
      )
    ),
    lambdaFunctionTags = list(
      list(
        comparison = "EQUALS",
        key = "string",
        value = "string"
      )
    ),
    cloudProvider = list(
      list(
        comparison = "EQUALS"|"NOT_EQUALS",
        value = "string"
      )
    ),
    cloudProviderAccountId = list(
      list(
        comparison = "EQUALS"|"NOT_EQUALS",
        value = "string"
      )
    ),
    cloudProviderOrgId = list(
      list(
        comparison = "EQUALS"|"NOT_EQUALS",
        value = "string"
      )
    ),
    cloudProviderRegion = list(
      list(
        comparison = "EQUALS"|"NOT_EQUALS",
        value = "string"
      )
    ),
    cloudVmInstanceTags = list(
      list(
        comparison = "EQUALS",
        key = "string",
        value = "string"
      )
    ),
    cloudContainerImageTags = list(
      list(
        comparison = "EQUALS"|"NOT_EQUALS",
        value = "string"
      )
    ),
    cloudContainerRepositoryName = list(
      list(
        comparison = "EQUALS"|"NOT_EQUALS",
        value = "string"
      )
    ),
    cloudContainerRegistryName = list(
      list(
        comparison = "EQUALS"|"NOT_EQUALS",
        value = "string"
      )
    ),
    cloudServerlessFunctionName = list(
      list(
        comparison = "EQUALS"|"NOT_EQUALS",
        value = "string"
      )
    ),
    cloudServerlessFunctionRuntime = list(
      list(
        comparison = "EQUALS"|"NOT_EQUALS",
        value = "string"
      )
    ),
    cloudServerlessFunctionTags = list(
      list(
        comparison = "EQUALS",
        key = "string",
        value = "string"
      )
    )
  )
)

Request syntax

svc$get_sbom_export(
  reportId = "string"
)