Adding the AWS WAF Bot Control managed rule group to your web ACL (original) (raw)

This section explains how to add and configure the AWSManagedRulesBotControlRuleSet rule group.

The Bot Control managed rule group AWSManagedRulesBotControlRuleSet requires additional configuration to identify the protection level that you want to implement.

For the rule group description and rules listing, see AWS WAF Bot Control rule group.

This guidance is intended for users who know generally how to create and manage AWS WAF protection packs (web ACLs), rules, and rule groups. Those topics are covered in prior sections of this guide. For basic information about how to add a managed rule group to your protection pack (web ACL), see Adding a managed rule group to a protection pack (web ACL) through the console.

Follow best practices

Use the Bot Control rule group in accordance with the best practices at Best practices for intelligent threat mitigation in AWS WAF.

To use the AWSManagedRulesBotControlRuleSet rule group in your protection pack (web ACL)
  1. Add the AWS managed rule group, AWSManagedRulesBotControlRuleSet to your protection pack (web ACL). For the full rule group description, see AWS WAF Bot Control rule group.
Note

You are charged additional fees when you use this managed rule group. For more information, see AWS WAF Pricing.
When you add the rule group, edit it to open the configuration page for the rule group. 2. On the rule group's configuration page, in the Inspection level pane, select the inspection level that you want to use.

  1. If you're using the targeted protection level and you don't want AWS WAF to use machine learning (ML) to analyze web traffic for distributed, coordinated bot activity, disable the machine learning option. Machine learning is required for the Bot Control rules whose names start with TGT_ML_. For details about these rules, see Bot Control rules listing.
  2. Add a scope-down statement for the rule group, to contain the costs of using it. A scope-down statement narrows the set of requests that the rule group inspects. For example use cases, start with Bot Control example: Using Bot Control only for the login page and Bot Control example: Using Bot Control only for dynamic content.
  3. Provide any additional configuration that you need for the rule group.
  4. Save your changes to the protection pack (web ACL).

Before you deploy your Bot Control implementation for production traffic, test and tune it in a staging or testing environment until you are comfortable with the potential impact to your traffic. Then test and tune the rules in count mode with your production traffic before enabling them. See the sections that follow for guidance.