aws.iot.list_audit_tasks
Example SQL Queries
SELECT * FROMaws.iot.list_audit_tasksWHERE"start_time" = 'VALUE'AND "end_time" = 'VALUE';Description
Lists the Device Defender audits that have been performed during a given time period.
Requires permission to access the ListAuditTasks action.
Table Definition
| Column Name | Column Data Type |
|---|---|
| end_time Required Input Column The end of the time period. | TIMESTAMP_S |
| start_time Required Input Column The beginning of the time period. Audit information is retained for a limited time (90 days). Requesting a start time prior to what is retained results in an "InvalidRequestException". | TIMESTAMP_S |
| task_status Input Column The status of this audit. One of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED". | VARCHAR |
| task_type Input Column The type of this audit. One of "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK". | 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( |
Show child fields
| |
| _aws_region Input Column The AWS region to use. | VARCHAR |
| task_id The ID of this audit. | VARCHAR |