ManagedRuleOverride Class

Definition

Defines a managed rule group override setting.

public class ManagedRuleOverride
type ManagedRuleOverride = class
Public Class ManagedRuleOverride
Inheritance
ManagedRuleOverride

Constructors

ManagedRuleOverride()

Initializes a new instance of the ManagedRuleOverride class.

ManagedRuleOverride(String, String, String)

Initializes a new instance of the ManagedRuleOverride class.

Properties

Action

Gets or sets describes the override action to be applied when rule matches. Possible values include: 'Allow', 'Block', 'Log', 'Redirect'

EnabledState

Gets or sets describes if the managed rule is in enabled or disabled state. Defaults to Disabled if not specified. Possible values include: 'Disabled', 'Enabled'

RuleId

Gets or sets identifier for the managed rule.

Methods

Validate()

Validate the object.

Applies to