More Info:

WAF logging should be enabled

Risk Level

Medium

Address

Security, Reliability, Operational Maturity

Compliance Standards

CBP,GDPR,HIPAA,ISO27001,SEBI,RBI_MD_ITF,RBI_UCB

Triage and Remediation

Remediation

To remediate the misconfiguration of WAF 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 Console: Click on the “Services” dropdown menu at the top of the page, search for “WAF & Shield” under the Security, Identity, & Compliance category, and click on it.

  3. Select the Web ACL: In the left-hand navigation pane, click on “Web ACLs”.

  4. Choose the Web ACL: Select the Web ACL for which you want to enable logging by clicking on its name.

  5. Enable Logging: In the Web ACL details page, click on the “Logging” tab.

  6. Enable Logging: Click on the “Edit” button to modify the logging configuration.

  7. Enable Logging: Toggle the “Enable Logging” option to enable logging for the Web ACL.

  8. Choose Logging Destination: Select the CloudWatch log group where you want to store the logs. If you don’t have an existing log group, you can create a new one by clicking on the “Create a new CloudWatch log group” button.

  9. Save Changes: Click on the “Update” button to save the changes and enable logging for the Web ACL.

  10. Verify Logging: To verify that logging is enabled, you can check the CloudWatch logs in the specified log group to ensure that the WAF logs are being generated and stored correctly.

By following these steps, you will successfully remediate the misconfiguration of WAF Logging not being enabled in AWS CloudWatch using the AWS Management Console.