More Info:

Web ACL rule group logging should be enabled

Risk Level

Medium

Address

Security, Reliability, Operational Maturity

Compliance Standards

GDPR,HITRUST,SOC2,NISTCSF,PCIDSS,SEBI

Triage and Remediation

Remediation

To remediate the misconfiguration of WAFv2 WebACL Rule Group Logging not being enabled in AWS CloudWatch using the AWS Management Console, follow these steps:

  1. Sign in to the AWS Management Console: Go to https://aws.amazon.com/ and sign in to your AWS account.

  2. Navigate to AWS WAF & Shield console: Click on the ‘Services’ dropdown menu at the top left corner of the console, then select ‘WAF & Shield’ under the Security, Identity, & Compliance section.

  3. Select the desired WebACL: In the AWS WAF & Shield console, click on ‘Web ACLs’ from the left-hand menu, then select the WebACL that you want to enable logging for.

  4. Edit the WebACL: Click on the WebACL that you have selected, then click on the ‘Edit’ button to make changes to the WebACL configuration.

  5. Enable Logging for the Rule Group: In the WebACL configuration page, scroll down to the ‘Logging configuration’ section. Ensure that ‘Log’ is enabled for the desired rule group(s) that you want to log.

  6. Save Changes: Once you have enabled logging for the rule group(s), click on the ‘Save’ button to save the changes to the WebACL configuration.

  7. Verify Logging Configuration: After saving the changes, you can verify that logging is enabled for the rule group(s) by checking the ‘Logging configuration’ section in the WebACL configuration page.

By following these steps, you have successfully remediated the misconfiguration of WAFv2 WebACL Rule Group Logging not being enabled in AWS CloudWatch using the AWS Management Console.