This topic describes how to create a reference table to batch configure protection metrics of a single type, such as Path, User Agent, IP, Params, Cookie, Referer, and Header. A reference table can be referenced by CC attack protection rules and precise protection rules.
Prerequisites
A website has been added to WAF.
Application Scenarios
You can use a reference table when you configure protection fields in batches for CC attack protection rules and precise access protection rules.
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, choose Website Settings.
- In the Policy column of the row containing the target website, click the number to go to the policy configuration page.
- In the CC Attack Protection or Precise Protection area, click Customize Rule.
- Click Reference Table Management in the upper left corner of the list.
Figure 1 Reference Table Management
- On the Reference Table Management page, click Add Reference Table.
Figure 2 Add Reference Table
- In the Add Reference Table dialog box, specify the parameters by referring to Table 1.
Figure 3 Adding a reference table
Table 1 Parameter descriptionParameter
|
Description
|
Example Value
|
Name
|
Table name you entered
|
test
|
Type
|
|
Path
|
Value
|
Value of the corresponding Type. Wildcards are not allowed.
NOTE: Click Add to add more than one value.
|
/buy/phone/
|
- Click Confirm. You can then view the added reference table in the reference table list.
Other Operations
- To modify a reference table, click Modify in the row containing the reference table.
- To delete a reference table, click Delete in the row containing the reference table.