turbot/aws_compliance

Query: cloudtrail_trail_validation_enabled

Usage

powerpipe query aws_compliance.query.cloudtrail_trail_validation_enabled

Steampipe Tables

SQL

select
arn as resource,
case
when log_file_validation_enabled then 'ok'
else 'alarm'
end as status,
case
when log_file_validation_enabled then title || ' log file validation enabled.'
else title || ' log file validation disabled.'
end as reason
, region, account_id
from
aws_cloudtrail_trail
where
region = home_region;

Controls

The query is being used by the following controls: