WAFv2 web ACL should have logging enabled
What it checks
WAFv2 web ACL: no logging configuration is associated.
Where it applies
Terraform: aws_wafv2_web_acl
CloudFormation: AWS::WAFv2::WebACL
How to fix it
- Create an aws_wafv2_web_acl_logging_configuration pointing to a Kinesis Firehose or CloudWatch Logs destination. WAF log group names must start with 'aws-waf-logs-'.
Frameworks
- AWS FSBP WAF.11
- SOC 2 CC7.2
- PCI-DSS v4.0.1/10.4.2
- HIPAA 164.312(b)
These mappings are advisory, not an attestation of compliance.