findings_report_status
Creates, updates, deletes, gets or lists a findings_report_status resource.
Overview
| Name | findings_report_status |
| Type | Resource |
| Id | aws.inspector2.findings_report_status |
Fields
The following fields are returned by SELECT queries:
- get_findings_report_status
| Name | Datatype | Description |
|---|---|---|
destination | object | Contains details of the Amazon S3 bucket and KMS key used to export findings. |
error_code | string | The error code of the report. (INTERNAL_ERROR, INVALID_PERMISSIONS, NO_FINDINGS_FOUND, BUCKET_NOT_FOUND, INCOMPATIBLE_BUCKET_REGION, MALFORMED_KMS_KEY) |
error_message | string | The error message of the report. |
filter_criteria | object | Details on the criteria used to define the filter. |
report_id | string | The 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>) |
status | string | The status of the report. (SUCCEEDED, IN_PROGRESS, CANCELLED, FAILED) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_findings_report_status | select | region | Gets 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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_findings_report_status
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
;