<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D51Y0000AFtNGOSQ3Okta Classic EngineIntegrationsAnswered2024-03-25T06:09:53.000Z2021-01-12T19:47:42.000Z2021-01-14T22:55:23.000Z

ik1vr (ik1vr) asked a question.

Okta Event Hooks (Filtering) Okta User Querying (Filtering)

I want to create a log of all activation / password changing related activity for users on my application.

 

Problem: Okta event hooks read from system log which is "global" in a sense and gathers all account activity information for all users in the okta instance.

 

Currently it doesn't seem like there is a way to filter out activity by application. Is there?

 

So instead I thought of taking a polling approach where I query for all users under an application id.

 

Problem: Currently when querying users with application you have 4 fields to "filter" on, lastname, firstname, email, and username

 

GET USERS

/api/v1/users?limit=2500

 

has the available filters:

lastUpdated "yyyy-MM-dd'T'HH:mm:ss.SSSZ" - Users last updated before a specific timestamplastUpdated "yyyy-MM-dd'T'HH:mm:ss.SSSZ" - Users last updated at a specific timestamplastUpdated "yyyy-MM-dd'T'HH:mm:ss.SSSZ" - Users last updated after a specific timestamp

 

GET USERS BY APP ID

/api/v1/apps/${applicationId}/users

 

has the available "filtering":

The value of q is matched against an application user profile's userName, firstName, lastName, and email. Note: This operation only supports startsWith that matches what the string starts with to the query.

 

Really what I want to avoid is polling users from different applications in my organization that are using the same okta instance.

 

 

 


This question is closed.
Loading
Okta Event Hooks (Filtering) Okta User Querying (Filtering)