Skip to content

Get Sbom Export

inspector2_get_sbom_export R Documentation

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(
  errorCode = "INTERNAL_ERROR"|"INVALID_PERMISSIONS"|"NO_FINDINGS_FOUND"|"BUCKET_NOT_FOUND"|"INCOMPATIBLE_BUCKET_REGION"|"MALFORMED_KMS_KEY",
  errorMessage = "string",
  filterCriteria = list(
    accountId = list(
      list(
        comparison = "EQUALS"|"NOT_EQUALS",
        value = "string"
      )
    ),
    ec2InstanceTags = list(
      list(
        comparison = "EQUALS",
        key = "string",
        value = "string"
      )
    ),
    ecrImageTags = 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"
      )
    ),
    lambdaFunctionTags = list(
      list(
        comparison = "EQUALS",
        key = "string",
        value = "string"
      )
    ),
    resourceId = list(
      list(
        comparison = "EQUALS"|"NOT_EQUALS",
        value = "string"
      )
    ),
    resourceType = list(
      list(
        comparison = "EQUALS"|"NOT_EQUALS",
        value = "string"
      )
    )
  ),
  format = "CYCLONEDX_1_4"|"SPDX_2_3",
  reportId = "string",
  s3Destination = list(
    bucketName = "string",
    keyPrefix = "string",
    kmsKeyArn = "string"
  ),
  status = "SUCCEEDED"|"IN_PROGRESS"|"CANCELLED"|"FAILED"
)

Request syntax

svc$get_sbom_export(
  reportId = "string"
)