
Matthew Harshbarger (State of Iowa) asked a question.
Event Hook Alternative for event type policy.mapping.create
I'm considering using Events API or System Log API to pull "policy.mapping.create" events. I see in the documentation that System Log API says it is "more structured data than the Events API". Are there any other differences I should know about when considering which API to use for my use case? I'm thinking about polling the logs every 15 minutes.
System Log API Docs:
https://developer.okta.com/docs/reference/api/system-log/
Events API Docs:
https://developer.okta.com/docs/reference/api/events/
FYI - I've created an Okta Idea to request the creation of an Event Hook for "policy.mapping.create" event type. (*171437) Please upvote this idea if this is something you would be interested in. Thanks!
https://ideas.okta.com/app/*/case/171437

Hi @Matthew Harshbarger (State of Iowa) , Thank you for reaching out to the Okta Community!
As far as I know, the Events API is being phased out. I'm surprised it's still on, but that's probably delayed for pre-existing deployments.
The following articles provide more info on this:
https://support.okta.com/help/s/article/FAQ-Events-API-End-of-Life?language=en_US
https://developer.okta.com/docs/concepts/events-api-migration/#introduction
If my answer helped, remember to mark it as best to increase its visibility for other members of the Okta Community who might have the same questions as you.
Hope my answer helps!
--------------------------------
Community members help others by clicking Like or Select as Best on responses. Try it today.