Rule List
If you want your website under protection, you can add your rules in CasWAF.
This section will provide a detailed explanation of the properties and usage of Rule
.
Rule properties
Name
: The name of the rule.Type
: The type of the rule. It can be set toIP
,User-Agent
andWAF
.Expressions
: The expressions contains the rule's conditions, includingoperator
andvalue
.Action
: The action of the rule. It can be set toAllow
orBlock
.Reason
: The reason of the rule. When the rule is hitted and its action isBlock
, CasWAF would reply a 403 response with the reason.
Manage Rules
In the Rules page, you will see all rules you have created. You can create, edit, delete and view the rule details. But now we don't have any rules.
Add a rule
Just click the Add
button, you will create a rule. The created rule will have some default information that you can modify.
Edit rule
After you create a rule, you can click the edit
button to edit the rule.
Each field's meaning is as described above, and you can freely modify them according to the actual situation of your website.
Expressions
Click the Add
button in the Expressions
section, you Kcan add a new expression to the rule.
Click the Restore
button in the Expressions
section, you can restore the default expressions of the rule.