Share via


WebApplicationFirewallScrubbingRules Class

Definition

Defines the contents of the log scrubbing rules.

public class WebApplicationFirewallScrubbingRules
type WebApplicationFirewallScrubbingRules = class
Public Class WebApplicationFirewallScrubbingRules
Inheritance
WebApplicationFirewallScrubbingRules

Constructors

WebApplicationFirewallScrubbingRules()

Initializes a new instance of the WebApplicationFirewallScrubbingRules class.

WebApplicationFirewallScrubbingRules(String, String, String, String)

Initializes a new instance of the WebApplicationFirewallScrubbingRules class.

Properties

MatchVariable

Gets or sets the variable to be scrubbed from the logs. Possible values include: 'RequestIPAddress', 'RequestUri', 'QueryStringArgNames', 'RequestHeaderNames', 'RequestCookieNames', 'RequestBodyPostArgNames', 'RequestBodyJsonArgNames'

Selector

Gets or sets when matchVariable is a collection, operator used to specify which elements in the collection this rule applies to.

SelectorMatchOperator

Gets or sets when matchVariable is a collection, operate on the selector to specify which elements in the collection this rule applies to. Possible values include: 'EqualsAny', 'Equals'

State

Gets or sets defines the state of a log scrubbing rule. Default value is enabled. Possible values include: 'Enabled', 'Disabled'

Methods

Validate()

Validate the object.

Extension Methods

ToPSFrontDoorWafLogScrubbingRule(WebApplicationFirewallScrubbingRules)

Applies to