Skip to content

aws.inspector2.get_sbom_export

Example SQL Queries

SELECT * FROM
aws.inspector2.get_sbom_export
WHERE
"report_id" = 'VALUE';

Description

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

Table Definition

Column NameColumn Data Type
report_id Required Input Column

The report ID of the software bill of materials (SBOM) report.

VARCHAR
_aws_profile Input Column

The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role.

STRUCT(
"type" VARCHAR,
"name" VARCHAR,
"account_id" VARCHAR,
"via_profile_name" VARCHAR,
"assumed_role_arn" VARCHAR,
"organization" STRUCT(
"account_name" VARCHAR,
"id" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[],
"master_account" STRUCT(
"id" VARCHAR,
"email" VARCHAR
),
"parents" STRUCT(
"type" VARCHAR,
"id" VARCHAR,
"name" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[]
)[]
)
)
Show child fields
_aws_profile.account_id

The AWS account id

_aws_profile.assumed_role_arn

The ARN of the assumed role

_aws_profile.name

The unique name of the profile.

_aws_profile.organization

Information about this profile's membership in the AWS organization.

Show child fields
_aws_profile.organization.account_name

The name of account speciifed by the organization

_aws_profile.organization.id

The organization id

_aws_profile.organization.master_account
Show child fields
_aws_profile.organization.master_account.email

The organization master account email address

_aws_profile.organization.master_account.id

The organization master account id

_aws_profile.organization.parents[]
Show child fields
_aws_profile.organization.parents[].id

The id of the parent

_aws_profile.organization.parents[].name

The name of the parent

_aws_profile.organization.parents[].tags[]
Show child fields
_aws_profile.organization.parents[].tags[].key
_aws_profile.organization.parents[].tags[].value
_aws_profile.organization.parents[].type

The type of parent can be an organization unit or a root

_aws_profile.organization.tags[]
Show child fields
_aws_profile.organization.tags[].key
_aws_profile.organization.tags[].value
_aws_profile.type

The type of profile, either 'credentials' or 'assumed_role'

_aws_profile.via_profile_name

This IAM role for this profile is assumed by first utilizing another profile with this name to obtain credentials.

_aws_region Input Column

The AWS region to use.

VARCHAR
error_code

An error code.

VARCHAR
error_message

An error message.

VARCHAR
filter_criteria

Contains details about the resource filter criteria used for the software bill of materials (SBOM) report.

STRUCT(
"account_id" STRUCT(
"comparison" VARCHAR,
"value" VARCHAR
)[],
"ec2_instance_tags" STRUCT(
"comparison" VARCHAR,
"key" VARCHAR,
"value" VARCHAR
)[],
"ecr_image_tags" STRUCT(
"comparison" VARCHAR,
"value" VARCHAR
)[],
"ecr_repository_name" STRUCT(
"comparison" VARCHAR,
"value" VARCHAR
)[],
"lambda_function_name" STRUCT(
"comparison" VARCHAR,
"value" VARCHAR
)[],
"lambda_function_tags" STRUCT(
"comparison" VARCHAR,
"key" VARCHAR,
"value" VARCHAR
)[],
"resource_id" STRUCT(
"comparison" VARCHAR,
"value" VARCHAR
)[],
"resource_type" STRUCT(
"comparison" VARCHAR,
"value" VARCHAR
)[]
)
Show child fields
filter_criteria.account_id[]
Show child fields
filter_criteria.account_id[].comparison

The filter's comparison.

filter_criteria.account_id[].value

The filter's value.

filter_criteria.ec2_instance_tags[]
Show child fields
filter_criteria.ec2_instance_tags[].comparison

The filter's comparison.

filter_criteria.ec2_instance_tags[].key

The filter's key.

filter_criteria.ec2_instance_tags[].value

The filter's value.

filter_criteria.ecr_image_tags[]
Show child fields
filter_criteria.ecr_image_tags[].comparison

The filter's comparison.

filter_criteria.ecr_image_tags[].value

The filter's value.

filter_criteria.ecr_repository_name[]
Show child fields
filter_criteria.ecr_repository_name[].comparison

The filter's comparison.

filter_criteria.ecr_repository_name[].value

The filter's value.

filter_criteria.lambda_function_name[]
Show child fields
filter_criteria.lambda_function_name[].comparison

The filter's comparison.

filter_criteria.lambda_function_name[].value

The filter's value.

filter_criteria.lambda_function_tags[]
Show child fields
filter_criteria.lambda_function_tags[].comparison

The filter's comparison.

filter_criteria.lambda_function_tags[].key

The filter's key.

filter_criteria.lambda_function_tags[].value

The filter's value.

filter_criteria.resource_id[]
Show child fields
filter_criteria.resource_id[].comparison

The filter's comparison.

filter_criteria.resource_id[].value

The filter's value.

filter_criteria.resource_type[]
Show child fields
filter_criteria.resource_type[].comparison

The filter's comparison.

filter_criteria.resource_type[].value

The filter's value.

format

The format of the software bill of materials (SBOM) report.

VARCHAR
s3_destination

Contains details of the Amazon S3 bucket and KMS key used to export findings.

STRUCT(
"bucket_name" VARCHAR,
"key_prefix" VARCHAR,
"kms_key_arn" VARCHAR
)
Show child fields
s3_destination.bucket_name

The name of the Amazon S3 bucket to export findings to.

s3_destination.key_prefix

The prefix that the findings will be written under.

s3_destination.kms_key_arn

The ARN of the KMS key used to encrypt data when exporting findings.

status

The status of the software bill of materials (SBOM) report.

VARCHAR