User-Agent Rule
CasWAF provides a User-Agent rule feature to help you control the access of your website. You can add User-Agent rules to allow or block specific User-Agents.
User-Agent Expression properties
Name
: The name of the expression. It is used to identify the rule and have no effect on the rule itself.Operator
: The operator of the expression. It can be set toequals
,does not equals
,contains
,does not contain
andregex match
.Value
: The value of the expression. It can be set to any string. The default value is your current User-Agent. If you are usingregex match
, the value should be a regular expression.