turbot/aws_insights

Query: cloudtrail_trail_unencrypted_count

Usage

powerpipe query aws_insights.query.cloudtrail_trail_unencrypted_count

Steampipe Tables

SQL

select
count(*) as value,
'Unencrypted' as label,
case count(*) when 0 then 'ok' else 'alert' end as "type"
from
aws_cloudtrail_trail
where
home_region = region
and kms_key_id is null;

Dashboards

The query is used in the dashboards: