Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Source Okta: deprovisioned users not returning #8143

Closed
zbrak opened this issue Nov 19, 2021 · 2 comments · Fixed by #15001
Closed

Source Okta: deprovisioned users not returning #8143

zbrak opened this issue Nov 19, 2021 · 2 comments · Fixed by #15001

Comments

@zbrak
Copy link
Contributor

zbrak commented Nov 19, 2021

Tell us about the problem you're trying to solve

This request is in response to a constraint with the Okta connector - it’s quite mission critical as the current connector does not effectively allow us to account for user lifecycle.

Problem statement

  • The users stream hits the default ‘list users’ endpoint for Okta users the first run unfiltered. This endpoint only returns users not in a "DEPROVISIONED" status when not filtered.
  • This corrupts the output, as de-provisioned users aren’t returned, and you will always overstate your active users in the dataset.
  • The "DEPROVISIONED" status users need to be returned within the stream in order for a complete user picture out of okta.
    This heavily devalues the use of this connector for seeing a full user lifecycle.

Describe the solution you’d like

The "DEPROVISIONED" status users can be returned through a filtered call - I’m not sure the best way this can be resolved, but I believe if the stream can be filtered initially - it would return all de-provisioned users along with it.

A couple ideas - not sure which one makes most sense:

  • The users stream makes a secondary call setting the filter to status eq "DEPROVISIONED"
  • An initial “Sync data from date” parameter is passed, facilitating an initial filter of: lastUpdated gt "yyyy-MM-dd'T'HH:mm:ss.SSSZ" (this may be most accessible to the existing stream)
  • A secondary users stream, called deprovisioned_users is copied from the initial with a fixed filter of status eq "DEPROVISIONED"

Thank you for your consideration, Again this is extremely important to having us able to effectively account for user lifecycle out of the Okta tenant.

@zbrak zbrak added the type/enhancement New feature or request label Nov 19, 2021
@alafanechere alafanechere changed the title Okta source connector - deprovisioned users not returning Source Okta: deprovisioned users not returning Nov 30, 2021
@alafanechere alafanechere added area/connectors Connector related issues and removed needs-triage labels Nov 30, 2021
@bleonard bleonard added autoteam team/tse Technical Support Engineers labels Apr 26, 2022
@marcosmarxm marcosmarxm added team/extensibility and removed team/tse Technical Support Engineers labels Jun 14, 2022
@YiyangLi
Copy link
Contributor

@zbrak do you still have the challenge? From my first impression, the 3rd solution would be easier to implement, which is to add a secondary stream called deprovisioned_users, where the schema is the same as users, let me know.

@zbrak
Copy link
Contributor Author

zbrak commented Jul 12, 2022 via email

@annalvova05 annalvova05 linked a pull request Jul 25, 2022 that will close this issue
14 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

9 participants