forked from docs/doc-exports
Reviewed-by: Rogal, Marcel <mrogal@noreply.gitea.eco.tsi-dev.otc-service.com> Co-authored-by: Li, Qiao <qiaoli@huawei.com> Co-committed-by: Li, Qiao <qiaoli@huawei.com>
4.1 KiB
4.1 KiB
Creating a Protection Policy
A policy is a combination of rules, such as basic web protection, blacklist, whitelist, and precise protection rules. A policy can be applied to multiple domain names, but only one policy can be used for a domain name. This topic describes how to add a policy for your WAF instance.

If you have enabled enterprise projects, you can select your enterprise project from the Enterprise Project drop-down list and add protection policies in the project.
Constraints
A protected website domain name can use only one policy.
Procedure
- Log in to the management console.
- Click
in the upper left corner of the management console and select a region or project.
- Click
in the upper left corner and choose Web Application Firewall (Dedicated) under Security.
- In the navigation pane on the left, choose Policies.
- In the upper left corner, click Add Policy.
- In the displayed dialog box, enter the policy name and click Confirm. The added policy will be displayed in the policy list.
- In the Policy Name column, click the policy name. On the displayed page, add rules to the policy by referring to Rule Configurations.
Parent topic: Policy Management