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.