Updated on 2024-03-14 GMT+08:00

Adding Rules to One or More Policies

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

Prerequisites

A website has been added to WAF.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner of the management console and select a region or project.
  3. Click in the upper left corner and choose Security > Web Application Firewall to go to the Dashboard page.
  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.
  6. In the upper left corner above a list of a type of rule, click Add Rule.
  7. Select one or more policies from the Policy Name drop-down list.
  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.