Skip to main content

Account events

Account Logged In Event​

Type: infrahub.account.logged_in Description: Emitted when a user successfully authenticates.

Uses node_kind filter for webhooks: false

KeyDescription
meta.branchThe branch on which originate this event
meta.request_idN/A
meta.account_idThe ID of the account triggering this event
meta.initiator_idThe worker identity of the initial sender of this message
meta.contextThe context used when originating this event
meta.levelN/A
meta.has_childrenIndicates if this event might potentially have child events under it.
meta.idUUID of the event
meta.parentThe UUID of the parent event if applicable
meta.ancestorsAny event used to trigger this event
kindThe type of account object
account_idUUID of the account
account_nameUsername of the account
account_typeUSER or SCRIPT
auth_methodHow they authenticated
session_idUUID of the session
groupsList of group names/IDs
rolesList of role names/IDs
identity_sourceExternal identity provider name (if applicable)
client_ipSource IP address
user_agentBrowser/client info
timestampWhen the login occurred (UTC)

Account Logged Out Event​

Type: infrahub.account.logged_out Description: Emitted when a user explicitly logs out.

Uses node_kind filter for webhooks: false

KeyDescription
meta.branchThe branch on which originate this event
meta.request_idN/A
meta.account_idThe ID of the account triggering this event
meta.initiator_idThe worker identity of the initial sender of this message
meta.contextThe context used when originating this event
meta.levelN/A
meta.has_childrenIndicates if this event might potentially have child events under it.
meta.idUUID of the event
meta.parentThe UUID of the parent event if applicable
meta.ancestorsAny event used to trigger this event
kindThe type of account object
account_idUUID of the account
account_nameUsername of the account
session_idUUID of the session being terminated
logout_typeHow logout occurred
client_ipSource IP address
user_agentBrowser/client info
timestampWhen the logout occurred (UTC)