Event types in Nebula
Overview
Events allow you to see activity that is taking place within your installation. For example, these could be events which indicate which access points are being unlocked and by whom.
Certain events also include information about the actor - the principal entity (such as a manager or service account) that initiated or performed the action associated with the event. This provides audit trail information about who made changes to your system.
This section aims to detail the types of events that are currently available in the Nebula API. We may add more at any time, so in developing and maintaining your code, you should not assume that only these types exist.
See also the documentation for the events service.
Event types
You'll notice that these events generally follow the pattern: {{resource}}{{event}}.
For example: accesspointcreated.
Our goal is to design a consistent system that makes things easier to anticipate and code against.
List of events
All event type names use the fully qualified name.
com.saltosystems.nebula.event.v1.accesspointcreated
Event representing the creation of an access point. Includes the access point that was created and the actor who created it.
com.saltosystems.nebula.event.v1.accesspointupdated
Event representing the update of an access point. Includes the access point that was updated and the actor who updated it.
com.saltosystems.nebula.event.v1.accesspointdeleted
Event representing the deletion of an access point. Includes the access point that was deleted and the actor who deleted it.
com.saltosystems.nebula.event.v1.accesspointunlocked
Event representing the unlocking of an access point.
Includes the access point that's been unlocked: salto.nebula.accesspoint.v1.AccessPoint and the user who unlocked the access point: salto.nebula.user.v1.User.
For user unlocking, the event includes the credential type used to unlock the access point. The following credential types are available:
salto.nebula.emergencykey.v1.EmergencyKeysalto.nebula.user.v1.CardKeysalto.nebula.user.v1.AppKeysalto.nebula.user.v1.WalletKeysalto.nebula.user.v1.Passcode
The event also includes a direction field that indicates the direction of passage:
DIRECTION_UNSPECIFIED- Direction is not specified (used for remote opening)ENTRY- Credential used to gain access from outside to insideEXIT- Credential used to leave from inside to outside
Remote unlocking uses DIRECTION_UNSPECIFIED and does not include a credential type.
com.saltosystems.nebula.event.v1.accesspointlocked
Event representing the locking of an access point.
Includes the access point that's been locked: salto.nebula.accesspoint.v1.AccessPoint and the user who locked the access point salto.nebula.user.v1.User.
For user locking, the event includes the credential type used to lock the access point. The following credential types are available:
salto.nebula.emergencykey.v1.EmergencyKeysalto.nebula.user.v1.CardKeysalto.nebula.user.v1.AppKeysalto.nebula.user.v1.WalletKeysalto.nebula.user.v1.Passcode
com.saltosystems.nebula.event.v1.accesspointforcedopen Beta
Event representing a forced open of an access point. That's to say, the access point has been unlocked without using a valid key.
com.saltosystems.nebula.event.v1.accesspointclosed
Event representing the closing of an access point. This event might not be triggered with all access point closures.
com.saltosystems.nebula.event.v1.accessdenied
Event representing a denied access to a user by an access point or controller.
Includes the source that denied access (either salto.nebula.accesspoint.v1.AccessPoint or salto.nebula.controller.v1.Controller) and the user whose access was rejected: salto.nebula.user.v1.User.
The event also includes a reason field that indicates why access was denied.
The following reasons are available:
REASON_UNSPECIFIED- The reason is not specified.CREDENTIAL_EXPIRED- The presented credential has expired and is no longer valid.CREDENTIAL_UNACTIVATED- The provided key is not yet activated. The key's activation date and time are scheduled for a future moment.CREDENTIAL_PERMISSION_INSUFFICIENT- The provided credential does not have the required permission.CREDENTIAL_PERMISSION_OUTSIDE_VALIDITY- The provided credential is permitted within the allowed schedule but the permission is not activated at this time.CREDENTIAL_PERMISSION_OUTSIDE_SCHEDULE- The provided credential is not permitted within the allowed schedule.INVALID_ACCESS_CODE- The provided access code is invalid. Access codes are numeric passcodes entered by users on a device keypad to gain access.DEVICE_BATTERY_INSUFFICIENT- The device at which the credential was presented has insufficient battery level and cannot process the access request.
For user access attempts, the event includes the credential type used to attempt access. The following credential types are available:
salto.nebula.emergencykey.v1.EmergencyKeysalto.nebula.user.v1.CardKeysalto.nebula.user.v1.AppKeysalto.nebula.user.v1.WalletKeysalto.nebula.user.v1.Passcode
com.saltosystems.nebula.event.v1.accesspointleftopen Beta
Event representing the detection of an access point that's been left open.
com.saltosystems.nebula.event.v1.accessrightcreated
Event representing the creation of an access right. Includes the access right that was created and the actor who created it.
com.saltosystems.nebula.event.v1.accessrightupdated
Event representing the update of an access right. Includes the access right that was updated and the actor who updated it.
com.saltosystems.nebula.event.v1.accessrightdeleted
Event representing the deletion of an access right. Includes the access right that was deleted and the actor who deleted it.
com.saltosystems.nebula.event.v1.accessrightaccesspointcreated
Event representing the creation of an access right's access point association.
Includes the creation of the access point's access right association: salto.nebula.accessright.v1.AccessRight and the Access right's access point association: salto.nebula.accesspoint.v1.AccessPoint, as well as the actor who created it.
com.saltosystems.nebula.event.v1.accessrightaccesspointdeleted
Event representing the deletion of an access right's access point association.
Includes the deletion of the access point's access right association: salto.nebula.accessright.v1.AccessRight and the access right's access point association:
salto.nebula.accesspoint.v1.AccessPoint, as well as the actor who deleted it.
com.saltosystems.nebula.event.v1.accessrightaccesspointsbatchcreated
Event representing the creation of multiple access right's access points association. Includes the actor who created them.
com.saltosystems.nebula.event.v1.accessrightaccesspointsbatchdeleted
Event representing the deletion of multiple access right's access point association. Includes the actor who deleted them.
com.saltosystems.nebula.event.v1.usercreated
Event representing the creation of a user. Includes the user that was created and the actor who created it.
com.saltosystems.nebula.event.v1.userupdated
Event representing the update of a user. Includes the user that was updated and the actor who updated it.
com.saltosystems.nebula.event.v1.userblocked
Event representing the blocking of a user. Includes the user that was blocked and the actor who blocked them. See more on blocking and unblocking users in the user guide.
com.saltosystems.nebula.event.v1.userunblocked
Event representing the unblocking of a user. Includes the user that was unblocked and the actor who unblocked them. See more on blocking and unblocking users in the user guide.
com.saltosystems.nebula.event.v1.userdeleted
Event representing the deletion of a user. Includes the user that was deleted and the actor who deleted it.
com.saltosystems.nebula.event.v1.useraccessrightcreated
Event representing the creation of a user's access right association.
Includes the access right's user association: salto.nebula.user.v1.User and the user's access right association: salto.nebula.accessright.v1.AccessRight, as well as the actor who created it.
com.saltosystems.nebula.event.v1.useraccessrightupdated
Event representing the update of a user's access right association.
Includes the access right's user association: salto.nebula.user.v1.User and the user's access right association: salto.nebula.accessright.v1.AccessRight, as well as the actor who updated it.
com.saltosystems.nebula.event.v1.useraccessrightdeleted
Event representing the deletion of a user's access right association.
Includes the access right's user association: salto.nebula.user.v1.User and the user's access right association: salto.nebula.accessright.v1.AccessRight, as well as the actor who deleted it.
com.saltosystems.nebula.event.v1.cardkeyassigned
Event representing the assignment of a user's card key.
Includes the card key's user: salto.nebula.user.v1.User and the card key assigned: salto.nebula.user.v1.CardKey, as well as the actor who assigned it.
com.saltosystems.nebula.event.v1.cardkeycanceled
Event representing the cancelation of a user's card key.
Includes the card key's user: salto.nebula.user.v1.User and the card key canceled: salto.nebula.user.v1.CardKey, as well as the actor who canceled it.
com.saltosystems.nebula.event.v1.appkeyassigned
Event representing the assignment of a user's app key.
Includes the app key's user: salto.nebula.user.v1.User and the app key assigned: salto.nebula.user.v1.AppKey, as well as the actor who assigned it.
com.saltosystems.nebula.event.v1.appkeycanceled
Event representing the cancelation of a user's app key.
Includes the app key's user: salto.nebula.user.v1.User and the app key canceled: salto.nebula.user.v1.AppKey, as well as the actor who canceled it.
com.saltosystems.nebula.event.v1.walletkeyassigned
Event representing the assignment of a user's wallet key.
Includes the wallet key's user: salto.nebula.user.v1.User and the wallet key assigned: salto.nebula.user.v1.WalletKey, as well as the actor who assigned it.
com.saltosystems.nebula.event.v1.walletkeycanceled
Event representing the cancelation of a user's wallet key.
Includes the wallet key's user: salto.nebula.user.v1.User and the wallet key canceled: salto.nebula.user.v1.WalletKey, as well as the actor who canceled it.
com.saltosystems.nebula.event.v1.unitmovedin
Event representing the move in of a unit. Includes the unit and the actor who moved them in. See the documentation on units for more information.
com.saltosystems.nebula.event.v1.unitmovedout
Event representing the move out of a unit. Includes the unit and the actor who moved them out. See the documentation on units for more information.
com.saltosystems.nebula.event.v1.unitcreated
Event representing the creation of a unit. Includes the unit that was created and the actor who created it. See the documentation on units for more information.
com.saltosystems.nebula.event.v1.unitupdated
Event representing the update of a unit. Includes the unit that was updated and the actor who updated it. See the documentation on units for more information.
com.saltosystems.nebula.event.v1.unitdeleted
Event representing the deletion of a unit. Includes the unit that was deleted and the actor who deleted it. See the documentation on units for more information.
com.saltosystems.nebula.event.v1.emergencykeycreated
Event representing the creation of an emergency key. Includes the emergency key that was created and the actor who created it.
com.saltosystems.nebula.event.v1.emergencykeyupdated
Event representing the update of an emergency key. Includes the emergency key that was updated and the actor who updated it.
com.saltosystems.nebula.event.v1.emergencykeydeleted
Event representing the deletion of an emergency key. Includes the emergency key that was deleted and the actor who deleted it.
com.saltosystems.nebula.event.v1.accessgranted
Event representing access being granted to a user. This event indicates that a user's key was successfully validated and access permissions were activated.
This event is typically used in scenarios where the device manages multiple destinations and cannot determine the user's final action, or where it represents a general access grant rather than a specific door unlock.
This differs from accesspointunlocked in that:
- It can enable multiple relays/destinations simultaneously (for example: elevator buttons for authorized floors).
- It represents the granting of access rights rather than the physical unlocking of a specific access point.
Common use case:
- Controllers (elevators, multi-door, garages): enabling floor buttons, granting access to multiple doors, or triggering a garage door.
Includes the device that granted access (currently salto.nebula.controller.v1.Controller) and the user who was granted access: salto.nebula.user.v1.User.
For user access grants, the event includes the credential type used. The following credential types are available:
salto.nebula.emergencykey.v1.EmergencyKeysalto.nebula.user.v1.CardKeysalto.nebula.user.v1.AppKeysalto.nebula.user.v1.WalletKeysalto.nebula.user.v1.Passcode