turbot/terraform_aws_compliance

GitHub
Loading controls...

Control: CloudFront distributions should have logging enabled

Description

This control checks whether server access logging is enabled on CloudFront distributions. The control fails if access logging is not enabled for a distribution.

Usage

Run the control in your terminal:

steampipe check terraform_aws_compliance.control.cloudfront_distribution_logging_enabled

Snapshot and share results via Steampipe Cloud:

steampipe login
steampipe check --share terraform_aws_compliance.control.cloudfront_distribution_logging_enabled

SQL

This control uses a named query:

cloudfront_distribution_logging_enabled

Tags