turbot/aws_insights

Query: cloudwatch_log_group_unencrypted

Usage

powerpipe query aws_insights.query.cloudwatch_log_group_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_cloudwatch_log_group
where
arn = $1
and region = split_part($1, ':', 4)
and account_id = split_part($1, ':', 5);

Dashboards

The query is used in the dashboards: