More Info:

Web ACL rule group should not be empty

Risk Level

High

Address

Security

Compliance Standards

CBP

Triage and Remediation

Remediation

To remediate the misconfiguration “WAFv2 WebACL Should Contain Rule Group Or Groups” for AWS Cloud Watch using the AWS console, you can follow these step-by-step instructions:

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

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

  3. Select the WebACL: In the AWS WAF console, select the WebACL that is flagged for the misconfiguration “WAFv2 WebACL Should Contain Rule Group Or Groups”.

  4. Edit the WebACL: Click on the WebACL that you want to edit to remediate the misconfiguration.

  5. Add Rule Group: In the WebACL configuration, you will see the option to add rule groups. Click on the “Add rule group” button to add a rule group to the WebACL.

  6. Select Rule Group: Choose the appropriate rule group that you want to add to the WebACL. You can either select a managed rule group provided by AWS or a custom rule group that you have created.

  7. Configure Rule Group Settings: Configure the settings for the selected rule group as per your requirements. You can define the action to be taken when a rule in the rule group matches a request.

  8. Save Changes: Once you have added the rule group and configured the settings, click on the “Save” or “Update” button to save the changes to the WebACL.

  9. Review and Test: Review the updated WebACL configuration to ensure that the rule group has been successfully added. You can also test the WebACL to verify that it is working as expected.

By following these steps, you can remediate the misconfiguration “WAFv2 WebACL Should Contain Rule Group Or Groups” for AWS Cloud Watch using the AWS console.