turbot/steampipe-mod-aws-insights

Dashboard: AWS CloudFront Distribution Detail

This dashboard answers the following questions:

  • What relationships does the distribution have with other resources?
  • What tags are applied?
  • Is logging enabled on the distribution?
  • What restrictions are applied to the distribution?
This dashboard contains 5 cards, 1 graph, 1 input and 3 tables.

Usage

Install the mod:

mkdir dashboards
cd dashboards
powerpipe mod init
powerpipe mod install github.com/turbot/steampipe-mod-aws-insights

Start the Powerpipe server:

steampipe service start
powerpipe server

Open http://localhost:9033 in your browser and select AWS CloudFront Distribution Detail dashboard.

You could also snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe dashboard run aws_insights.dashboard.cloudfront_distribution_detail --share

Queries

This dashboard uses the the following queries:
select
'Field Level Encryption' as label,
case when default_cache_behavior ->> 'FieldLevelEncryptionId' = '' then 'Disabled' else 'Enabled' end as value,
case when default_cache_behavior ->> 'FieldLevelEncryptionId' = '' then 'alert' else 'ok' end as type
from
aws_cloudfront_distribution
where
arn = $1
and account_id = split_part($1,':',5);

Tags