AddRuleRequest

constructor(url: String, pattern: PatternType, action: ActionType, reason: ReasonType, source: String? = "ozone/default", comment: String? = null, createdBy: Did? = null)

Parameters

url

The URL or domain to apply the rule to

source

Source of the rule

comment

Optional comment about the decision

createdBy

Author DID. Only respected when using admin auth