Use a scenario-specific policy to temporarily replace your standard mitigation settings during planned high-traffic events—such as new service launches, shopping festivals, or stress tests—so that legitimate traffic is not blocked by false positives.
How it works
A scenario-specific policy applies a predefined template to one or more of your protected assets (domain names or IP addresses) for a specified time window. While the policy is active, it overrides the standard mitigation policy on those assets. When the validity period ends, the standard policy resumes automatically.
Available templates
Only the Important Activity template is currently available. More templates will be provided in the future.
When you apply the Important Activity template, Anti-DDoS Proxy adjusts protection as follows:
At the start of the validity period: Saves the current configurations of Intelligent Protection and Frequency Control, then disables both features to prevent false positives caused by sudden traffic increases.
During the validity period: If you manually re-enable either feature, your manual configuration takes effect immediately.
At the end of the validity period: Restores the saved configurations of Intelligent Protection and Frequency Control.
Use scenario-specific policies only when you expect significant traffic surges. For normal traffic conditions, keep your standard mitigation policy active.
Prerequisites
Before you begin, ensure that you have:
An Anti-DDoS Pro or Anti-DDoS Premium instance
Domain names or IP addresses already added to the instance
Create a scenario-specific policy
Log on to the Anti-DDoS Proxy console.
In the top navigation bar, select the region of your instance:
Anti-DDoS Proxy (Chinese Mainland): Select Chinese Mainland.
Anti-DDoS Proxy (Outside Chinese Mainland): Select Outside Chinese Mainland.
In the left-side navigation pane, choose Mitigation Settings > Scenario-specific Policies.
Click Create Scenario-specific Policy.
In the Create Scenario-specific Policy dialog box, configure the following parameters, then click OK. After you click OK, the policy is created and automatically enabled. The policy appears on the Custom Policies page.
Parameter Description Policy Name A name for the policy. Policy Template The template to apply. Set this to Important Activity. Validity Period The time window during which the policy is active. If you apply the same template to multiple policies, their validity periods must not overlap. 
In the policy list, find the newly created policy and click Configure Policy in the Actions column.

Select the domain names or IP addresses to protect with this policy, then click OK. The Protection Target column updates automatically to reflect the assigned assets. Hover over the number in the column to see the full list.
NoteFor websites added using a domain name, select the domain name. For Layer 4 services added using an IP address, select the IP address.


Policy states
After creation, check the Status column on the Custom Policies page to monitor your policy.
| Status | Description |
|---|---|
| Pending Enabled | The policy is not yet active. The current time is before the start of the validity period. |
| Updating | The policy is being applied. This process takes one to two minutes. |
| Running | The policy is active. The current time is within the validity period. |
| Expired | The validity period has ended. The policy is no longer in effect. |
| Disabled | The policy is disabled and does not take effect, even if the current time is within the validity period. |