tools.ozone.safelink.defs
#event
An event for URL safety decisions
Property | Type | Known Values | Required | Description |
---|---|---|---|---|
id | integer | - | ✅ | Auto-incrementing row ID |
eventType | #eventType | - | ✅ | - |
url | string | - | ✅ | The URL that this rule applies to |
pattern | #patternType | - | ✅ | - |
action | #actionType | - | ✅ | - |
reason | #reasonType | - | ✅ | - |
createdBy | string (did) | - | ✅ | DID of the user who created this rule |
createdAt | string (datetime) | - | ✅ | - |
comment | string | - | ❌ | Optional comment about the decision |
#eventType
Property | Type | Known Values | Required | Description |
---|---|---|---|---|
eventType | string | addRule updateRule removeRule | ❌ | - |
#patternType
Property | Type | Known Values | Required | Description |
---|---|---|---|---|
patternType | string | domain url | ❌ | - |
#actionType
Property | Type | Known Values | Required | Description |
---|---|---|---|---|
actionType | string | block warn whitelist | ❌ | - |
#reasonType
Property | Type | Known Values | Required | Description |
---|---|---|---|---|
reasonType | string | csam spam phishing none | ❌ | - |
#urlRule
Input for creating a URL safety rule
Property | Type | Known Values | Required | Description |
---|---|---|---|---|
url | string | - | ✅ | The URL or domain to apply the rule to |
pattern | #patternType | - | ✅ | - |
action | #actionType | - | ✅ | - |
reason | #reasonType | - | ✅ | - |
comment | string | - | ❌ | Optional comment about the decision |
createdBy | string (did) | - | ✅ | DID of the user added the rule. |
createdAt | string (datetime) | - | ✅ | Timestamp when the rule was created |
updatedAt | string (datetime) | - | ✅ | Timestamp when the rule was last updated |