Skip to content

aws.inspector2.list_cis_scan_configurations

Example SQL Queries

SELECT * FROM
aws.inspector2.list_cis_scan_configurations;

Description

Lists CIS scan configurations.

Table Definition

Column NameColumn Data Type
filter_criteria Input Column

The CIS scan configuration filter criteria.

STRUCT(
"scan_configuration_arn_filters" STRUCT(
"comparison" VARCHAR,
"value" VARCHAR
)[],
"scan_name_filters" STRUCT(
"comparison" VARCHAR,
"value" VARCHAR
)[],
"target_resource_tag_filters" STRUCT(
"comparison" VARCHAR,
"key" VARCHAR,
"value" VARCHAR
)[]
)
Show child fields
filter_criteria.scan_configuration_arn_filters[]
Show child fields
filter_criteria.scan_configuration_arn_filters[].comparison

The comparison value of the CIS string filter.

filter_criteria.scan_configuration_arn_filters[].value

The value of the CIS string filter.

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

The comparison value of the CIS string filter.

filter_criteria.scan_name_filters[].value

The value of the CIS string filter.

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

The tag filter comparison value.

filter_criteria.target_resource_tag_filters[].key

The tag filter key.

filter_criteria.target_resource_tag_filters[].value

The tag filter value.

sort_by Input Column

The CIS scan configuration sort by order.

VARCHAR
sort_order Input Column

The CIS scan configuration sort order order.

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
owner_id

The CIS scan configuration's owner ID.

VARCHAR
scan_configuration_arn

The CIS scan configuration's scan configuration ARN.

VARCHAR
scan_name

The name of the CIS scan configuration.

VARCHAR
schedule

The CIS scan configuration's schedule.

STRUCT(
"daily" STRUCT(
"start_time" STRUCT(
"time_of_day" VARCHAR,
"timezone" VARCHAR
)
),
"monthly" STRUCT(
"day" VARCHAR,
"start_time" STRUCT(
"time_of_day" VARCHAR,
"timezone" VARCHAR
)
),
"one_time" BOOLEAN,
"weekly" STRUCT(
"days" VARCHAR[],
"start_time" STRUCT(
"time_of_day" VARCHAR,
"timezone" VARCHAR
)
)
)
Show child fields
schedule.daily

The schedule's daily.

Show child fields
schedule.daily.start_time

The schedule start time.

Show child fields
schedule.daily.start_time.time_of_day

The time of day in 24-hour format (00:00).

schedule.daily.start_time.timezone

The timezone.

schedule.monthly

The schedule's monthly.

Show child fields
schedule.monthly.day

The monthly schedule's day.

schedule.monthly.start_time

The monthly schedule's start time.

Show child fields
schedule.monthly.start_time.time_of_day

The time of day in 24-hour format (00:00).

schedule.monthly.start_time.timezone

The timezone.

schedule.one_time

The schedule's one time.

schedule.weekly

The schedule's weekly.

Show child fields
schedule.weekly.days[]
schedule.weekly.start_time

The weekly schedule's start time.

Show child fields
schedule.weekly.start_time.time_of_day

The time of day in 24-hour format (00:00).

schedule.weekly.start_time.timezone

The timezone.

security_level

The CIS scan configuration's security level.

VARCHAR
tags

The CIS scan configuration's tags.

MAP(VARCHAR, VARCHAR)
targets

The CIS scan configuration's targets.

STRUCT(
"account_ids" VARCHAR[],
"target_resource_tags" MAP(VARCHAR, VARCHAR[])
)
Show child fields
targets.account_ids[]
targets.target_resource_tags

The CIS target resource tags.