Skip to main content

tools.ozone.safelink.defs

#event

An event for URL safety decisions

PropertyTypeKnown ValuesRequiredDescription
idinteger-Auto-incrementing row ID
eventType#eventType--
urlstring-The URL that this rule applies to
pattern#patternType--
action#actionType--
reason#reasonType--
createdBystring (did)-DID of the user who created this rule
createdAtstring (datetime)--
commentstring-Optional comment about the decision

#eventType

PropertyTypeKnown ValuesRequiredDescription
eventTypestringaddRule
updateRule
removeRule
-

#patternType

PropertyTypeKnown ValuesRequiredDescription
patternTypestringdomain
url
-

#actionType

PropertyTypeKnown ValuesRequiredDescription
actionTypestringblock
warn
whitelist
-

#reasonType

PropertyTypeKnown ValuesRequiredDescription
reasonTypestringcsam
spam
phishing
none
-

#urlRule

Input for creating a URL safety rule

PropertyTypeKnown ValuesRequiredDescription
urlstring-The URL or domain to apply the rule to
pattern#patternType--
action#actionType--
reason#reasonType--
commentstring-Optional comment about the decision
createdBystring (did)-DID of the user added the rule.
createdAtstring (datetime)-Timestamp when the rule was created
updatedAtstring (datetime)-Timestamp when the rule was last updated