WafRuleChallenge class

WafRuleChallenge

Implemented types

Constructors

WafRuleChallenge({required String $id, required String $createdAt, required String $updatedAt, required String name, required String description, required String teamId, required String projectId, required String resourceType, required String resourceId, required WafRuleAction action, required int priority, required bool enabled, required List<Map> conditions, required Map<String, dynamic> config, required String challengeType, required int difficulty, required int ttl})
WafRuleChallenge.fromMap(Map<String, dynamic> map)
factory

Properties

$createdAt → String
WAF rule creation time in ISO 8601 format.
final
$id → String
Rule ID.
final
$updatedAt → String
WAF rule last update time in ISO 8601 format.
final
action → WafRuleAction
Action performed when the rule matches.
final
challengeType → String
Challenge type enforced when the rule matches.
final
conditions → List<Map>
List of conditions evaluated for this rule.
final
config → Map<String, dynamic>
Action specific configuration.
final
description → String
Optional description for the rule.
final
difficulty → int
Challenge difficulty from 1 (easiest) to 5 (hardest) enforced when the rule matches.
final
enabled → bool
Whether the rule is active.
final
hashCode → int
The hash code for this object.
no setterinherited
name → String
Human friendly rule name.
final
priority → int
Evaluation priority. Lower values execute earlier.
final
projectId → String
Project ID.
final
resourceId → String
Resource identifier. Empty for API-wide rules.
final
resourceType → String
Resource type the rule is scoped to.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
teamId → String
Team ID.
final
ttl → int
Seconds a visitor stays cleared after passing the challenge before being challenged again.
final

Methods

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

Operators

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