More Info:

WAF Global WebAcl should not be empty

Risk Level

High

Address

Security

Compliance Standards

CBP

Triage and Remediation

Remediation

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

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

  2. Navigate to AWS WAF: In the AWS Management Console, search for “WAF” in the services search bar and click on “AWS WAF” to open the AWS WAF console.

  3. Select the Web ACL: In the AWS WAF console, click on “Web ACLs” in the left-hand navigation pane. Select the Web ACL that you want to configure the global rules for.

  4. Add Global Rules: Within the selected Web ACL, click on the “Rules” tab. Here you will see the list of rules configured for the Web ACL.

  5. Add a New Rule: Click on the “Add rules” button to add a new rule to the Web ACL.

  6. Configure Global Rule: In the rule configuration window, select the rule type as “Global Rule” from the drop-down menu.

  7. Define Rule Criteria: Define the criteria for the global rule based on your security requirements. This could include conditions like IP addresses, URI paths, query strings, etc.

  8. Set Rule Action: Choose the appropriate action to be taken when the global rule conditions are met. This could be to allow, block, or count the request.

  9. Review and Save: Review the configured global rule settings to ensure they align with your security policies. Once confirmed, click on the “Save” button to add the global rule to the Web ACL.

  10. Verify Configuration: After adding the global rule, ensure that it is listed under the rules section of the Web ACL and that it is properly configured.

By following these steps, you can remediate the misconfiguration of empty WAF Global Rules in AWS CloudWatch and enhance the security of your web applications.