Share via


ManagedRuleExclusion Class

Definition

Exclude variables from managed rule evaluation.

public class ManagedRuleExclusion
type ManagedRuleExclusion = class
Public Class ManagedRuleExclusion
Inheritance
ManagedRuleExclusion

Constructors

ManagedRuleExclusion()

Initializes a new instance of the ManagedRuleExclusion class.

ManagedRuleExclusion(String, String, String)

Initializes a new instance of the ManagedRuleExclusion class.

Properties

MatchVariable

Gets or sets the variable type to be excluded. Possible values include: 'RequestHeaderNames', 'RequestCookieNames', 'QueryStringArgNames', 'RequestBodyPostArgNames', 'RequestBodyJsonArgNames'

Selector

Gets or sets selector value for which elements in the collection this exclusion applies to.

SelectorMatchOperator

Gets or sets comparison operator to apply to the selector when specifying which elements in the collection this exclusion applies to. Possible values include: 'Equals', 'Contains', 'StartsWith', 'EndsWith', 'EqualsAny'

Methods

Validate()

Validate the object.

Extension Methods

ToPSAzManagedRuleExclusion(ManagedRuleExclusion)

Applies to