More Info:

WAF rule groups should not be empty

Risk Level

High

Address

Security

Compliance Standards

CBP

Triage and Remediation

Remediation

To remediate the misconfiguration of empty WAF Global Rules in AWS CloudWatch using the AWS Management Console, follow these step-by-step instructions:

  1. Login to AWS Console: Navigate to the AWS Management Console (https://aws.amazon.com/) and log in using your credentials.

  2. Go to AWS WAF Service: Click on the “Services” dropdown menu at the top of the page, search for “WAF & Shield” under the Security, Identity, & Compliance section, and click on it.

  3. Select the AWS WAF Web ACL: In the AWS WAF & Shield console, locate and click on the Web ACLs option on the left-hand side menu.

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

  5. Edit the Web ACL: In the Web ACL details page, click on the “Edit” button to make changes to the Web ACL configuration.

  6. Add Global Rules: Scroll down to the Rules section of the Web ACL configuration. If the Global Rules section is empty, click on the “Add rules” button to add new global rules.

  7. Configure Global Rules: In the Add rules dialog box, configure the necessary rules for your Web ACL. You can add rules based on IP addresses, country, request headers, or other criteria to protect your web applications.

  8. Save Changes: After adding the required global rules, click on the “Add” or “Save” button to save the changes to the Web ACL.

  9. Review Changes: Review the updated Web ACL configuration to ensure that the Global Rules are no longer empty.

  10. Test the Web ACL: Test the updated Web ACL to verify that the global rules are effectively protecting your web applications.

By following these steps, you should be able to remediate the misconfiguration of empty WAF Global Rules in AWS CloudWatch using the AWS Management Console.