Skip to main content

cis_scan_results_aggregated_by_checks

Creates, updates, deletes, gets or lists a cis_scan_results_aggregated_by_checks resource.

Overview

Namecis_scan_results_aggregated_by_checks
TypeResource
Idaws.inspector2.cis_scan_results_aggregated_by_checks

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
account_idstringThe account ID for the CIS check. (pattern: <code>\d{12}</code>)
check_descriptionstringThe description for the CIS check.
check_idstringThe check ID for the CIS check.
levelstringThe CIS check level. (LEVEL_1, LEVEL_2)
platformstringThe CIS check platform.
scan_arnstringThe scan ARN for the CIS check scan ARN. (pattern: <code>arn:aws(-us-gov|-cn)?:inspector2:[-.a-z0-9]{0,20}:\d{12}:owner/(\d{12}|o-[a-z0-9]{10,32})/cis-scan/[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}</code>)
status_countsobjectThe CIS check status counts.
title_stringThe CIS check title.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_cis_scan_results_aggregated_by_checksselectregionLists scan results aggregated by checks.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Lists scan results aggregated by checks.

SELECT
account_id,
check_description,
check_id,
level,
platform,
scan_arn,
status_counts,
title_
FROM aws.inspector2.cis_scan_results_aggregated_by_checks
WHERE region = '{{ region }}' -- required
;