Loading controls...
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:
steampipe check terraform_aws_compliance.control.cloudfront_distribution_origin_access_identity_enabled
Snapshot and share results via Steampipe Cloud:
steampipe loginsteampipe check --share terraform_aws_compliance.control.cloudfront_distribution_origin_access_identity_enabled
SQL
This control uses a named query:
cloudfront_distribution_origin_access_identity_enabled