Help Center> Web Application Firewall> User Guide> Policy Management> Adding Rules to One or More Policies

Adding Rules to One or More Policies

This topic describes how to add rules to one or more policies.

If you have enabled enterprise projects, you can select your enterprise project from the Enterprise Project drop-down list and add protection rules in batches to the project.

Prerequisites

You have selected Cloud mode or Dedicated mode for website deployment.

Constraints

If you are using the WAF detection edition, only false alarm masking rules can be added to policies.

Procedure

  1. Log in to the management console.
  2. Go to the Policies page by following the steps shown in Figure 1.

    Figure 1 Access to the Policies page

  3. In the upper left corner of the page, click All Rules.
  4. In the upper left corner above a rule to be added, click Add Rule.
  5. Select one or more policies from the Policy Name drop-down list. Figure 2 shows an example.

    Figure 2 Adding a rule to one or more policies

  6. Set other parameters.

    • To add a CC attack protection rule, see Table 1.
    • To add a precise protection rule, see Table 1.
    • To add a blacklist or whitelist rule, see Table 1.
    • To add a geolocation access control rule, see Table 1.
    • To add a WTP rule, see Table 1.
    • To add an information leakage prevention rule, see Table 1.
    • To add a false alarm masking rule, see Table 1.
    • To add a data masking rule, see Table 1.

  7. Click OK.

Other Operations

  • To disable a rule, click Disable in the Operation column of the rule. The default Rule Status is Enabled.
  • To modify a rule, click Modify in the row containing the rule.
  • To delete a rule, click Delete in the row containing the rule.