Adding Rules to One or More Policies

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

Note

If you have enabled enterprise projects, ensure that you have all operation permissions for the project where your WAF instance locates. Then, you can select the project from the Enterprise Project drop-down list and configure protection policies for the domain names in batches.

Adding Rules to One or More Policies

  1. Log in to the management console.

  2. Click image1 in the upper left corner of the management console and select a region or project.

  3. Click image2 in the upper left corner and choose Web Application Firewall (Dedicated) under Security.

  4. In the navigation pane on the left, choose Policies.

  5. In the upper left corner of the policy list, click View All My Rules.

    **Figure 1** View Rules

    Figure 1 View Rules

  6. In the upper left corner above a list of a type of rule, click Add Rule.

    **Figure 2** Adding a rule to one or more policies

    Figure 2 Adding a rule to one or more policies

  7. Select one or more policies from the Policy Name drop-down list.

    **Figure 3** Adding a rule to one or more policies

    Figure 3 Adding a rule to one or more policies

  8. 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 global protection whitelist rule, see Table 1.

    • To add a data masking rule, see Table 1.

  9. Click Confirm.