CloudFront distribution should have access logging enabled
What it checks
CloudFront distribution should have access logging enabled
Where it applies
Terraform: aws_cloudfront_distribution
CloudFormation: AWS::CloudFront::Distribution
How to fix it
- Add logging_config.bucket pointing to a dedicated S3 log bucket with appropriate retention policy.
Frameworks
- AWS FSBP CloudFront.5
- SOC 2 CC7.2
- PCI-DSS v4.0.1/10.4.2
These mappings are advisory, not an attestation of compliance.