WebApplicationFirewallScrubbingRules Class

Allow certain variables to be scrubbed on WAF logs.

Constructor

WebApplicationFirewallScrubbingRules(*args: Any, **kwargs: Any)

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

Attributes

match_variable

"RequestHeaderNames", "RequestCookieNames", "RequestArgNames", "RequestPostArgNames", "RequestJSONArgNames", and "RequestIPAddress".

match_variable: str | _models.ScrubbingRuleEntryMatchVariable

selector

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

selector: str | None

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_match_operator: str | _models.ScrubbingRuleEntryMatchOperator

state

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

state: str | _models.ScrubbingRuleEntryState | None