System Log events for Device-Bound SSO
Early Access release. See Enable self-service features.
Okta records System Log events to help you track the lifecycle and usage of device sessions in your org. You can use these events to audit when device sessions are established, used to access apps, or terminated.
Events for device sessions
The following events record the creation and termination of the device session:
|
Event type |
Description |
|---|---|
|
user.device_session.start |
This event is recorded when a user successfully authenticates on a managed device and Okta creates a device session. |
|
user.device_session.end |
This event is recorded when one or more of the following actions ends the device session:
This event isn't recorded when any of the following actions take place:
|
|
user.session.clear |
This event is recorded when all user sessions are cleared, either by an admin or through a system-initiated actor such as Identity Threat Protection. |
Track session activity
To help you correlate authentication activity with a specific device session, Okta adds a deviceSessionId field to the authenticationContext object in the System Log:
|
Event type |
Description |
|---|---|
|
authenticationContext.deviceSessionId |
A unique identifier for the device session. This field is populated for all authentication events, where the device session is used to satisfy the authentication requirements, such as user.authentication.verify or policy.evaluate_sign_on. If a device session isn't used when creating the authenticationContext, then this attribute doesn't appear in the System Log. |
To view all activity associated with a specific device session, you can search the System Log using the session ID, for example:
authenticationContext.deviceSessionId eq "your_device_session_id"
This query returns the initial session start, all subsequent app access events, and the session end event. This provides a complete audit trail for that session.
