CustomRule interface
Defines the common attributes for a custom rule that can be included in a waf policy
Properties
action | Describes what action to be applied when rule matches |
enabled |
Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified. |
match |
List of match conditions. |
name | Defines the name of the custom rule |
priority | Defines in what order this rule be evaluated in the overall list of custom rules |
Property Details
action
Describes what action to be applied when rule matches
action: string
Property Value
string
enabledState
Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified.
enabledState?: string
Property Value
string
matchConditions
name
Defines the name of the custom rule
name: string
Property Value
string
priority
Defines in what order this rule be evaluated in the overall list of custom rules
priority: number
Property Value
number