This article will help acquire a report of all managed and unmanaged devices via Okta System Logs.
- Multi-Factor Authentication (MFA)
- Okta Identity Engine (OIE)
- Okta System Logs
- Log in to the Okta Admin Console.
- Go to Reports > System Log.
- In the Search field, run one of the queries mentioned below.
- Then, download the report by clicking Download CSV. It will be easier to filter depending on the company's requirements.
To get/check the Device Trust Managed Devices Reports:
actor.id eq "[UserID]" and device.managed eq "true"
To get/check the Device Trust Unmanaged Devices Reports:
actor.id eq "[UserID]" and device.managed eq "false"
To include a specific OS Platform that was used to log in, add the following to the search (for Windows, for example):
client.userAgent.os co "Windows"
Sample Search:
actor.id eq "[UserID]" and device.managed eq "true" and client.userAgent.os co "Windows"
To include the specific Application (for example, Okta Dashboard):
actor.id eq "[UserID]" and device.managed eq "true" and client.userAgent.os co "Windows" and target.alternateId eq "Okta Dashboard"
Results:
To verify, expand the Evaluation sign-on policy CHALLENGE, it will appear as a registered and managed device, along with the OS Platform used to log in.
For example:
-
- Device Type
client.device eq "Mobile"client.device eq "Computer"
- Managed/Un-managed Device
device.managed eq "true"device.managed eq "false"
- Desktop OS
client.userAgent.os co "Mac OS"client.userAgent.os co "Windows"
- Device Type
NOTE: At this time, no out-of-the-box report is available. For an alternative solution, please refer to the How to Get a List of All Managed and Unmanaged Devices in Okta documentation to obtain device management status information via API.
