turbot/aws_insights

Query: codepipeline_pipeline_encryption

Usage

powerpipe query aws_insights.query.codepipeline_pipeline_encryption

SQL

select
'Encryption' as label,
case when encryption_key is null then 'Disabled' else 'Enabled' end as value,
case when encryption_key is null then 'alert' else 'ok' end as type
from
aws_codepipeline_pipeline
where
arn = $1
and region = split_part($1, ':', 4)
and account_id = split_part($1, ':', 5);

Dashboards

The query is used in the dashboards: