你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

WebApplicationFirewallScrubbingRules Class

Allow certain variables to be scrubbed on WAF logs.

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

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.

Default value: None
state

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

Default value: None

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".