ManagedRuleOverride Class

Definition

Defines a managed rule group override setting.

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

Constructors

Name Description
ManagedRuleOverride()

Initializes a new instance of the ManagedRuleOverride class.

ManagedRuleOverride(String, String, String, IList<ManagedRuleExclusion>)

Initializes a new instance of the ManagedRuleOverride class.

Properties

Name Description
Action

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

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

Name Description
Validate()

Validate the object.

Applies to