All Products
Search
Document Center

Web Application Firewall:Configure a whitelist for Bot Management

Last Updated:Mar 31, 2026

The Bot Management whitelist lets trusted requests bypass specific Bot Management detection modules—Bot Threat Intelligence, Data Risk Control, Intelligent Algorithm, and App Protection. Use it to resolve false positives when legitimate traffic is blocked.

Prerequisites

Before you begin, ensure that you have:

  • A WAF instance on the subscription billing method with Bot Management enabled

  • A website already added to WAF. For setup instructions, see Tutorial

How Bot Management detection works

Bot Management protects web applications, native applications, and APIs from malicious crawlers. It includes five detection modules:

ModuleWhat it detects
Allowed CrawlersIdentifies known legitimate crawlers (such as search engine bots) and always allows them
Bot Threat IntelligenceBlocks requests from IPs and user agents associated with known malicious crawlers
Data Risk ControlDetects automated abuse of business flows such as account registration, login, and promotions
Intelligent AlgorithmUses behavioral analysis to identify bot-like traffic patterns
App ProtectionValidates request integrity for native mobile and desktop applications

All modules except Allowed Crawlers may produce false positives. Whitelist rules let specific trusted requests bypass one or more of these modules without disabling the module entirely.

Specify whitelist conditions as precisely as possible. Overly broad rules may allow unintended traffic to bypass protection. Bypass only the modules that are blocking the trusted traffic—bypassing fewer modules reduces security risk.

Create a whitelist rule

  1. Log on to the WAF console.

  2. In the top navigation bar, select the resource group and the region where the WAF instance is deployed (Chinese Mainland or Outside Chinese Mainland).

  3. In the left-side navigation pane, choose Protection Configurations > Website Protection.

  4. At the top of the Website Protection page, select the domain name from the Switch Domain Name drop-down list.

    切换域名

  5. Click the Bot Management tab, find the Fine-grained Configuration section, and click Settings.

  6. On the Bot Management - Whitelist page, click Create Rule.

  7. In the Create Rule dialog box, configure the following parameters.

    ParameterDescription
    Rule nameA name for the rule.
    Matching ConditionOne or more conditions that identify the trusted requests. Click Add rule to add conditions (maximum: 5). The rule triggers only when all conditions are met. For available fields and operators, see Fields in match conditions.
    Bypassed ModulesThe detection modules to skip when the conditions are met. Select one or more: Bot Threat Intelligence, Data Risk Control, Algorithm Model, App Protection. Select only the modules that are blocking the trusted traffic.

    Bot Management - Whitelist

  8. Click Save.

The rule is automatically enabled and appears in the rule list.

Manage whitelist rules

After creating a rule, you can perform the following operations in the rule list:

OperationDescription
DisableTemporarily suspends the rule without deleting it.
EditAdjusts the rule's match conditions or bypassed modules.
DeletePermanently removes the rule.

Related topics