turbot/aws_insights

Query: cloudfront_distribution_encryption_in_transit_disabled

Usage

powerpipe query aws_insights.query.cloudfront_distribution_encryption_in_transit_disabled

SQL

select
'Encryption in Transit Disabled' as label,
count(*) as value,
case
count(*)
when 0 then 'ok'
else 'alert'
end as type
from
aws_cloudfront_distribution
where
default_cache_behavior ->> 'ViewerProtocolPolicy' = 'allow-all';

Dashboards

The query is used in the dashboards: