ManagedRuleSet Class

Definition

Defines a managed rule set.

public class ManagedRuleSet
type ManagedRuleSet = class
Public Class ManagedRuleSet
Inheritance
ManagedRuleSet

Constructors

Name Description
ManagedRuleSet()

Initializes a new instance of the ManagedRuleSet class.

ManagedRuleSet(String, String, String, IList<ManagedRuleExclusion>, IList<ManagedRuleGroupOverride>)

Initializes a new instance of the ManagedRuleSet class.

Properties

Name Description
Exclusions

Gets or sets describes the exclusions that are applied to all rules in the set.

RuleGroupOverrides

Gets or sets defines the rule group overrides to apply to the rule set.

RuleSetAction

Gets or sets defines the rule set action. Possible values include: 'Block', 'Log', 'Redirect'

RuleSetType

Gets or sets defines the rule set type to use.

RuleSetVersion

Gets or sets defines the version of the rule set to use.

Methods

Name Description
Validate()

Validate the object.

Extension Methods

Name Description
ToPSManagedRule(ManagedRuleSet)

Applies to