ManagedRuleGroupStatement class

A rule statement used to run the rules that are defined in a managed rule group. To use this, provide the vendor name and the name of the rule group in this statement. You can retrieve the required names by calling ListAvailableManagedRuleGroups.

You can't nest a ManagedRuleGroupStatement, for example for use inside a NotStatement or OrStatement. It can only be referenced as a top-level statement within a rule.

Constructors

ManagedRuleGroupStatement({required String name, required String vendorName, List<ExcludedRule>? excludedRules})
ManagedRuleGroupStatement.fromJson(Map<String, dynamic> json)
factory

Properties

excludedRules List<ExcludedRule>?
The rules whose actions are set to COUNT by the web ACL, regardless of the action that is set on the rule. This effectively excludes the rule from acting on web requests.
final
hashCode int
The hash code for this object.
no setterinherited
name String
The name of the managed rule group. You use this, along with the vendor name, to identify the rule group.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
vendorName String
The name of the managed rule group vendor. You use this, along with the rule group name, to identify the rule group.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited