More Info:

WAF Regional WebAcl should not be empty

Risk Level

High

Address

Security

Compliance Standards

CBP,RBI_UCB

Triage and Remediation

Remediation

To remediate the misconfiguration of having empty WAF Regional Rules in AWS CloudWatch using the AWS console, follow these step-by-step instructions:

  1. Login to AWS Console: Go to the AWS Management Console and login with your credentials.

  2. Navigate to AWS WAF Service: In the AWS Management Console, search for “WAF & Shield” in the services search bar and click on the “WAF & Shield” service.

  3. Select the AWS WAF Regional: In the AWS WAF & Shield dashboard, click on the “AWS WAF” tab on the left-hand side.

  4. Choose the Regional Web ACL: Select the Web ACL that you want to remediate by clicking on its name.

  5. Review the Rules: In the Web ACL details page, review the rules that are currently configured. Identify any rules that are empty or not properly configured.

  6. Edit the Rule: Click on the rule that is empty or not properly configured to edit it.

  7. Add or Modify Conditions: Add appropriate conditions or modify the existing conditions for the rule to ensure it is not empty. You can define conditions based on IP addresses, request headers, query strings, etc., depending on your specific security requirements.

  8. Save the Changes: Once you have added or modified the conditions for the rule, save the changes.

  9. Deploy the Web ACL: After making the necessary changes, deploy the Web ACL to ensure that the changes take effect.

  10. Monitor the Web ACL: Regularly monitor the Web ACL to ensure that the rules are properly configured and not empty.

By following these steps, you can remediate the misconfiguration of having empty WAF Regional Rules in AWS CloudWatch using the AWS console.