turbot/aws_compliance

Query: cloudfront_distribution_default_root_object_configured

Usage

powerpipe query aws_compliance.query.cloudfront_distribution_default_root_object_configured

SQL

select
arn as resource,
case
when default_root_object = '' then 'alarm'
else 'ok'
end as status,
case
when default_root_object = '' then title || ' default root object not configured.'
else title || ' default root object configured.'
end as reason,
region,
account_id
from
aws_cloudfront_distribution;

Controls

The query is being used by the following controls: