Compartir a través de


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, IList<ManagedRuleExclusion>)

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', 'AnomalyScoring', 'JSChallenge'

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'

Exclusions

Gets or sets describes the exclusions that are applied to this specific rule.

RuleId

Gets or sets identifier for the managed rule.

Methods

Validate()

Validate the object.

Applies to