Skip to main content

AlertDeviceAssigned

Emitted when an alert becomes active on a device, one event per device.

Payload​

FieldTypeRequiredDescription
alertRuleUidstring | null✅Identifier of the alert rule the alert was created from. null only on historical events emitted before this field existed.
ownerobject✅Ownership 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.organizationUidstring✅UID of the organization that owns the event.
owner.parentCompanyUidstring✅UID of the owning organization's parent company.
alertUidstring✅Unique identifier for each alert across system
deviceIdentityHashstring✅Server-generated unique identifier of the device, used as the public-facing identifier in the REST API.
type"Alert.AlertDeviceAssigned" (literal)✅Fully-qualified event type discriminator (e.g. Device.DeviceConnectionAdded).
originatorobject—Actor that initiated the action behind this event. Omitted for system-triggered events.
originator.accountIdnumber—Numeric identifier of the account that initiated the action.
originator.organizationUidstring—Organization on whose behalf the action was initiated.
originator.policyUidstring—Policy under which the action was initiated, if applicable.

Example​

{
"id": "string",
"kind": "domain",
"type": "Alert.AlertDeviceAssigned",
"payload": {
"alertRuleUid": "c54eacdaxxxxxxxxxxxxxxxx9f6136d5",
"owner": {
"ownershipType": "organization",
"organizationUid": "a50acc53xxxxxxxxxxxxxxxx8f975173",
"parentCompanyUid": "8b434f9cxxxxxxxxxxxxxxxx61679ca2"
},
"alertUid": "9a5f4b89xxxxxxxxxxxxxxxx9e0b4afc",
"deviceIdentityHash": "704404ffxxxxxxxxxxxxxxxxc0493bae",
"type": "Alert.AlertDeviceAssigned",
"originator": {
"accountId": 5278,
"organizationUid": "b921ac89xxxxxxxxxxxxxxxx5d530b01",
"policyUid": "94013b44xxxxxxxxxxxxxxxxd5cba551"
}
}
}

Shape​

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