Posted on
02-01-2021
09:56 AM
- last edited
a week ago
by
kh-richa_mig
I work 99% in bash, so thats my main language, but currently Im working with python as thats whats working with OKTA.
Currently I get a list of all user status from OKTA, which i need to then compare against and see if there are any overlapping names from JSS.
For any overlap, i need their user id and ALL the computer IDs so that i can put them into specific static groups.
I have this working in shell (without OKTA) but my brain is struggling with python/json and how to work the language.
hoping someone has some insight.
I have simplified the workflow thanks to "import jamf" and "pprint" but so far i have been only able to get a list of all users with their ID and computers with their ID, but its too generic for the workflow.
Ideally it would work like this: