Hi all,
The client needs to know what identities have to much access. To achieve this I have written a PS script that uses the endpoint \v2024\roles to get all roles and their accessProfiles, and the \search endpoint to get all identities with their roles and accessProfiles.
I then create two arrays of expected access and assigned access, then comparing the difference to provide two deltas.
This is working perfectly in sandbox and takes around a minute to run.
This is NOT working at all in Production due to an error with the \search endpoint. This has been raised with Sailpoint and is currently sitting with the engineers to fix.
So, the longwinded ask, is, does anyone know how to get easily get each identities’ roles and accessProfiles without using the search endpoint? The client is looking for an answer as I said that I could deliver this quickly.
Thanks
…and this error is in all versions of the search endpoint? And I’m guessing you can’t even interactively download an identity report to “Include Access Details”? i.e. Data availability / accessibility is severely / negatively impacted. #SomeoneElsesComputer
From a service availability perspective:
If it’s a production issue…it’s P1, getting that fixed by SailPoint would likely be the quickest…unless there’s some other reason/need that says P1 resolution isn’t even fast enough.
The data in production isn’t ‘correlated’ properly. Probably not the correct word, but basically each identity seems to have every entitlement associated with it when you search for it using \search. The amount of data being brought back is huge and crashing the API call.
I’ve tried pagination, which works for a few iterations, but then the “sort = {field = “id”; order = “asc” }” function fails and the returned data is repeated
Its not really a P1 problem, but we are pushing Sailpoint to resolve it.
My current idea is to use \search to just bring back all identity.ID which takes around 10s and just survives, then loop through each one, again using \search to pull back the access.type & access.Name attributes. It’s still +3500 API calls which is not a great idea and going to take a lot processing. Not sure if Powershell is up to the task
I was implementing search, storing thousands of identity data in list and looping that list to process each identity. There was no issue for me and it was not taking that much time. Can you try with python scripting?
if anyone knows how to exclude access.type:entitlement that would might solve the problem, as its the stupid number of entitlements being returned that is the problem
(Regarding Python or PS) It’s not a matter of the programming language (in this case)…it’s the API, regardless of the language you decide to use to interact with the APIs.