okta / okta-sdk-golang

A Golang SDK for interacting with the Okta management API, enabling server-side code to manage Okta users, groups, applications, and more.
https://github.com/okta/okta-sdk-golang
Other
174 stars 143 forks source link

Device information in LogEvent #475

Open assurancetourix12 opened 1 month ago

assurancetourix12 commented 1 month ago

Describe the feature request?

As I see in the system-log api docs, we should expect to get the field "device" in the LogEvent when listing the logs. But this field is not in the LogEvent struct (https://github.com/okta/okta-sdk-golang/blob/master/okta/logEvent.go). Is there any reason for this or do we have any other way to get the device from the event?

New or Affected Resource(s)

The main reason for this request is, I need to identify the device that triggered the event when using Okta Verify and get the device details from the inventory.

Provide a documentation link

The expected field is described here https://developer.okta.com/docs/reference/api/system-log/#device-object

Additional Information?

When using Postman collection from okta api docs we can see this field being returned.

duytiennguyen-okta commented 1 month ago

OKTA internal reference https://oktainc.atlassian.net/browse/OKTA-756116

github-actions[bot] commented 4 weeks ago

This issue has been marked stale because there has been no activity within the last 14 days. To keep this issue active, remove the stale label.

duytiennguyen-okta commented 4 weeks ago

@assurancetourix12 do you have the response the server?

github-actions[bot] commented 2 weeks ago

This issue has been marked stale because there has been no activity within the last 14 days. To keep this issue active, remove the stale label.