turbot/aws_compliance

Query: cloudfront_distribution_waf_enabled

Usage

powerpipe query aws_compliance.query.cloudfront_distribution_waf_enabled

SQL

select
arn as resource,
case
when web_acl_id <> '' then 'ok'
else 'alarm'
end as status,
case
when web_acl_id <> '' then title || ' associated with WAF.'
else title || ' not associated with WAF.'
end as reason
, region, account_id
from
aws_cloudfront_distribution;

Controls

The query is being used by the following controls: