Share via


WebApplicationFirewallCustomRule interface

Defines contents of a web application rule.

Properties

action

Type of Actions.

matchConditions

List of match conditions.

name

The name of the resource that is unique within a policy. This name can be used to access the resource.

priority

Priority of the rule. Rules with a lower value will be evaluated before rules with a higher value.

ruleType

The rule type.

Property Details

action

Type of Actions.

action: "Allow" | "Block" | "Log"

Property Value

"Allow" | "Block" | "Log"

matchConditions

List of match conditions.

matchConditions: MatchCondition[]

Property Value

name

The name of the resource that is unique within a policy. This name can be used to access the resource.

name?: string

Property Value

string

priority

Priority of the rule. Rules with a lower value will be evaluated before rules with a higher value.

priority: number

Property Value

number

ruleType

The rule type.

ruleType: "MatchRule" | "Invalid"

Property Value

"MatchRule" | "Invalid"