Skip to main content

AlertUnarchived

Emitted when a user reverts a manual alert resolution. The alert becomes active again with the same device assignments it had when it was resolved; no new AlertDeviceAssigned events are emitted.

Payload

FieldTypeRequiredDescription
alertRuleUidstring | nullIdentifier of the alert rule the alert was created from. null only on historical events emitted before this field existed.
ownerobjectOwnership envelope identifying the company or organization that owns this event.
owner.ownershipType"organization" (literal)Discriminator for the ownership envelope; always organization for these events.
owner.organizationUidstringUID of the organization that owns the event.
owner.parentCompanyUidstringUID of the owning organization's parent company.
alertUidstringUnique identifier for each alert across system
type"Alert.AlertUnarchived" (literal)Fully-qualified event type discriminator (e.g. Device.DeviceConnectionAdded).
originatorobjectActor that initiated the action behind this event. Omitted for system-triggered events.
originator.accountIdnumberNumeric identifier of the account that initiated the action.
originator.organizationUidstringOrganization on whose behalf the action was initiated.
originator.policyUidstringPolicy under which the action was initiated, if applicable.

Example

{
"id": "string",
"kind": "domain",
"type": "Alert.AlertUnarchived",
"payload": {
"alertRuleUid": "57a143c7xxxxxxxxxxxxxxxxcdef318a",
"owner": {
"ownershipType": "organization",
"organizationUid": "b9718729xxxxxxxxxxxxxxxx5bbbf86b",
"parentCompanyUid": "a0fbdea9xxxxxxxxxxxxxxxxde5ec5ba"
},
"alertUid": "fc70b845xxxxxxxxxxxxxxxx47b354dd",
"type": "Alert.AlertUnarchived",
"originator": {
"accountId": 6825,
"organizationUid": "e6c76d53xxxxxxxxxxxxxxxx1bb52c48",
"policyUid": "9427ac93xxxxxxxxxxxxxxxx5c1f22c7"
}
}
}

Shape

{
"id": "string",
"kind": "domain",
"type": "Alert.AlertUnarchived",
"payload": {
"alertRuleUid": "string | null",
"owner": {
"ownershipType": "organization",
"organizationUid": "string",
"parentCompanyUid": "string"
},
"alertUid": "string",
"type": "Alert.AlertUnarchived",
"originator?": {
"accountId?": "number",
"organizationUid?": "string",
"policyUid?": "string"
}
}
}