turbot/aws_insights

Query: cloudtrail_trail_log_file_validation_status

Usage

powerpipe query aws_insights.query.cloudtrail_trail_log_file_validation_status

Steampipe Tables

SQL

select
log_file_validation_status,
count(*)
from
(
select
case
when log_file_validation_enabled then 'enabled'
else 'disabled'
end log_file_validation_status
from
aws_cloudtrail_trail
where
region = home_region
) as t
group by
log_file_validation_status
order by
log_file_validation_status desc

Dashboards

The query is used in the dashboards: