turbot/aws_insights

Query: cloudtrail_trail_unencrypted

Usage

powerpipe query aws_insights.query.cloudtrail_trail_unencrypted

Steampipe Tables

SQL

select
'Encryption' as label,
case when kms_key_id is not null then 'Enabled' else 'Disabled' end as value,
case when kms_key_id is not null then 'ok' else 'alert' end as type
from
aws_cloudtrail_trail
where
region = home_region
and arn = $1;

Dashboards

The query is used in the dashboards: