PolicySettings Class

Defines contents of a web application firewall global configuration.

Inheritance
PolicySettings

Constructor

PolicySettings(*, enabled_state: typing.Union[str, _ForwardRef('WebApplicationFirewallEnabledState'), NoneType] = None, mode: typing.Union[str, _ForwardRef('WebApplicationFirewallMode'), NoneType] = None, **kwargs)

Parameters

enabled_state
str or WebApplicationFirewallEnabledState

Describes if the policy is in enabled state or disabled state. Possible values include: "Disabled", "Enabled".

mode
str or WebApplicationFirewallMode

Describes if it is in detection mode or prevention mode at policy level. Possible values include: "Prevention", "Detection".