tencent cloud

Web Application Firewall

Multi-Scene Mode

Baixar
Modo Foco
Tamanho da Fonte
Última atualização: 2026-11-09 15:30:51
Traduzido e Verificado por IA
Multi-scene mode is suitable for scenarios where differentiated BOT protection policies need to be configured for different paths under a domain. It supports enabling different expert preset basic rule sets and custom rule sets for different paths and business scenarios (such as flash sales, anti-scanning, and anti-crawling). You can observe the matched traffic and then switch to Block Mode.

Switching to Multi-Scene Mode

1. Log in to the WAF console and choose BOT Management > BOT Rule Configuration in the left sidebar.
2. On the BOT Rule Configuration page, select the domain to protect in the upper-left corner, and click BOT Protection. On the BOT Protection page, click Switch to Multi-scene mode in the upper-right corner.
Note:
After you switch to Multi-scene mode, the system provides a default BOT fallback scenario with the lowest priority that takes effect globally. The default scenario can be viewed, edited, and deleted just like a custom scenario.

Creating a BOT Scenario

1. On the Multi-scene mode page, click Create scene.
2. In the New BOT Scenario dialog box, configure the relevant parameters, and then click Create.
Parameter
Description
Custom scenario name
Describes the scenario name, which cannot exceed 50 characters.
Scene type
You can select one or more preset system scenarios, or select a custom scenario. Preset scenarios (whether single-selected or multi-selected) and custom scenarios are mutually exclusive and cannot be enabled at the same time.
Attention:
After you select the business scenario to protect, the system automatically generates custom protection rules for the selected scenario and sets them to Monitor mode by default. After the scenario is created, you can find it in Multi-scene mode, click View Configuration to view the generated custom rules, and adjust them to Block mode based on hit logs.
Ruleset
The system selects the rule set of the corresponding scenario by default, and the default action is monitor. You are advised to enable all rule sets to identify more types of BOTs and improve the default protection capability.
Client type
Client type that accesses the protected target. Only browser/H5 types support enabling frontend defense.
Priority
The execution priority of this scenario. Enter an integer ranging from 1 to 100. A smaller value indicates a higher priority.
Scope
The effective scope of this scenario under this domain supports all scopes and custom scopes.
When you select a custom range, you can enter up to 5 conditions.
You can configure the logical operator between multiple conditions as AND or OR.
In a single match content, you can enter multiple values separated by carriage returns, with a maximum of 20 values. When the logical operator is Contains, Equals, Belongs To, Prefix Match, or Suffix Match, the effective logic between multiple values is OR. When the logical operator is Does Not Contain, Does Not Equal, or Does Not Belong To, the effective logic between multiple values is AND.
3. In the scenario management list, the created scenario card data will be displayed. Click Edit Scenario to modify the previously submitted scenario configuration.

BOT Scenario Configuration

1. In scenario management, select the target scenario and click Details on the right to further view and adjust the policy configuration within the scenario.
2. On the scenario details page, you can view the basic scenario information. Click View traffic to go to the BOT Traffic page of the currently selected domain.
3. Scenario configuration consists of three layers of interception: Browser bot defense, Protection rulesets, and Bot analytics. It supports custom settings for each module. To configure scenario policies based on business characteristics, see BOT Scenario-Based Practice Tutorial for details.

Action Policies

At the bottom of the scenario configuration page, click Add action policy. Configure the action policy, its effective scope, and actions for different score segments to achieve fine-grained interception of risky access. The parameters are described in the following table. After confirming that the content is correct, click Save.
Parameter
Description
Action Policy Name
Describes the policy name, which cannot exceed 20 characters.
On/Off
Default effective status of an action policy after it is saved.
Scope
The effective scope of this policy supports all scopes and custom scopes.
When you select a custom range, you can enter up to 5 conditions.
You can configure the logical operator between multiple conditions as "AND" or "OR".
In a single match content, you can enter multiple values separated by carriage returns, with a maximum of 20 values. When the logical operator is Contains, Equals, Belongs To, Prefix Match, or Suffix Match, the effective logic between multiple values is OR. When the logical operator is Does Not Contain, Does Not Equal, or Does Not Belong To, the effective logic between multiple values is AND.
Priority
The execution priority of this policy. Enter an integer ranging from 1 to 100. A smaller value indicates a higher priority.
Mode
Provides four handling modes: loose, moderate, strict, and custom. Among them, loose, moderate, and strict are preset modes, corresponding to recommended classifications and handling policies for BOTs of different threat levels. Preset modes can be modified, and once modified, they become custom modes.
Score range settings: The total score of score ranges is 0 to 100. Up to 10 entries can be added for each score range. The configured score interval is left-closed and right-open. Score ranges cannot overlap. A score interval can be left empty, and when it is empty, no handling action is performed for that score range.
Note:
The BOT score (bot_score) is a comprehensive evaluation score ranging from 0 to 100, generated by four modules: AI smart detection, behavioral statistical analysis, threat intelligence, and terminal feature identification. Each module is scored independently, and the final score is converted to a percentage based on the score proportion of enabled modules. A higher score indicates a greater likelihood that the request originates from an automated program.
Action Settings
Can be set to trust, monitor, JS validation, redirect to(redirect to a specific website URL), CAPTCHA, or block.
Tag Settings
Can be set to friendly BOT, malicious BOT, normal traffic, or suspected BOT.
Friendly BOT: A BOT that is friendly/legitimate to the website by default.
Suspicious BOT: The traffic from this access source is identified as suspected BOT, but whether it is harmful to the website cannot be determined.
Normal: The access traffic is identified as originating from a normal human.
Malicious BOT: A BOT that generates malicious traffic/unfriendly access requests to the website.

Ajuda e Suporte

Esta página foi útil?

comentários