This control checks if logging is enabled for AWS WAF Classic Global Web ACLs, crucial for maintaining security and compliance.
Rule | AWS WAF Classic Global Web ACL logging should be enabled |
Framework | AWS Foundational Security Best Practices |
Severity | ✔ Medium |
Rule Description:
Enable logging for AWS WAF Classic Global Web ACL as part of AWS Foundational Security Best Practices. Logging helps in monitoring and analysis of traffic going through the WAF, providing visibility into potential threats and attacks.
Troubleshooting Steps:
If logging is not enabled for the AWS WAF Classic Global Web ACL, follow the steps below:
Code:
If logging needs to be enabled via AWS CLI, use the following command:
aws waf create-byte-match-set --name <name> --change-action <change-action> --waf-log-geolocation
Remediation:
To enable logging for AWS WAF Classic Global Web ACL, follow the steps below:
By following these steps, logging for AWS WAF Classic Global Web ACL will be successfully enabled as per AWS Foundational Security Best Practices.