turbot/terraform_aws_compliance

Control: CloudFront distributions should have origin access identity enabled

Description

This control checks whether an Amazon CloudFront distribution with Amazon S3 Origin type has Origin Access Identity (OAI) configured. The control fails if OAI is not configured.

Usage

Run the control in your terminal:

powerpipe control run terraform_aws_compliance.control.cloudfront_distribution_origin_access_identity_enabled

Snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe control run terraform_aws_compliance.control.cloudfront_distribution_origin_access_identity_enabled --share

SQL

This control uses a named query:

cloudfront_distribution_origin_access_identity_enabled

Tags