RateLimitRule interface

Defines a rate limiting rule that can be included in a waf policy

Extends

Properties

rateLimitDurationInMinutes

Defines rate limit duration. Default is 1 minute.

rateLimitThreshold

Defines rate limit threshold.

Inherited Properties

action

Describes what action to be applied when rule matches

enabledState

Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified.

matchConditions

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

rateLimitDurationInMinutes

Defines rate limit duration. Default is 1 minute.

rateLimitDurationInMinutes: number

Property Value

number

rateLimitThreshold

Defines rate limit threshold.

rateLimitThreshold: number

Property Value

number

Inherited Property Details

action

Describes what action to be applied when rule matches

action: string

Property Value

string

Inherited From CustomRule.action

enabledState

Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified.

enabledState?: string

Property Value

string

Inherited From CustomRule.enabledState

matchConditions

List of match conditions.

matchConditions: MatchCondition[]

Property Value

Inherited From CustomRule.matchConditions

name

Defines the name of the custom rule

name: string

Property Value

string

Inherited From CustomRule.name

priority

Defines in what order this rule be evaluated in the overall list of custom rules

priority: number

Property Value

number

Inherited From CustomRule.priority