WebApplicationFirewallScrubbingRules Class

Allow certain variables to be scrubbed on WAF logs.

All required parameters must be populated in order to send to server.

Inheritance
azure.mgmt.network._serialization.Model
WebApplicationFirewallScrubbingRules

Constructor

WebApplicationFirewallScrubbingRules(*, match_variable: str | _models.ScrubbingRuleEntryMatchVariable, selector_match_operator: str | _models.ScrubbingRuleEntryMatchOperator, selector: str | None = None, state: str | _models.ScrubbingRuleEntryState | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
match_variable

The variable to be scrubbed from the logs. Required. Known values are: "RequestHeaderNames", "RequestCookieNames", "RequestArgNames", "RequestPostArgNames", "RequestJSONArgNames", and "RequestIPAddress".

selector_match_operator

When matchVariable is a collection, operate on the selector to specify which elements in the collection this rule applies to. Required. Known values are: "Equals" and "EqualsAny".

selector
str

When matchVariable is a collection, operator used to specify which elements in the collection this rule applies to.

state

Defines the state of log scrubbing rule. Default value is Enabled. Known values are: "Enabled" and "Disabled".

Variables

Name Description
match_variable

The variable to be scrubbed from the logs. Required. Known values are: "RequestHeaderNames", "RequestCookieNames", "RequestArgNames", "RequestPostArgNames", "RequestJSONArgNames", and "RequestIPAddress".

selector_match_operator

When matchVariable is a collection, operate on the selector to specify which elements in the collection this rule applies to. Required. Known values are: "Equals" and "EqualsAny".

selector
str

When matchVariable is a collection, operator used to specify which elements in the collection this rule applies to.

state

Defines the state of log scrubbing rule. Default value is Enabled. Known values are: "Enabled" and "Disabled".