Skip to main content

findings_report_status

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

Overview

Namefindings_report_status
TypeResource
Idaws.inspector2.findings_report_status

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
destinationobjectContains details of the Amazon S3 bucket and KMS key used to export findings.
error_codestringThe error code of the report. (INTERNAL_ERROR, INVALID_PERMISSIONS, NO_FINDINGS_FOUND, BUCKET_NOT_FOUND, INCOMPATIBLE_BUCKET_REGION, MALFORMED_KMS_KEY)
error_messagestringThe error message of the report.
filter_criteriaobjectDetails on the criteria used to define the filter.
report_idstringThe ID of the report. (pattern: <code>.\b[a-f0-9]{8}\b-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-\b[a-f0-9]{12}\b.</code>)
statusstringThe status of the report. (SUCCEEDED, IN_PROGRESS, CANCELLED, FAILED)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_findings_report_statusselectregionGets the status of a findings report.

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

Gets the status of a findings report.

SELECT
destination,
error_code,
error_message,
filter_criteria,
report_id,
status
FROM aws.inspector2.findings_report_status
WHERE region = '{{ region }}' -- required
;