Historical identities of a Role

Accessing Role Identity History

Hello devs!
I’m reaching out because I’m having difficulty accessing the historical data of identities associated with a specific role in SailPoint, including details on when the role was granted or revoked, along with the corresponding dates.

I was under the impression that this information could be retrieved using queries in the interface, but I’m struggling to filter the data accurately to obtain the desired results. I’d like to export this data as a CSV like other queries, but the system isn’t allowing me to do so.

Thank you so much for your help, and please let me know if you need any additional details to assist me further

Hi @stefanoperetti

Welcome to the SailPoint Developer Community.

Please check the below topic for the role identity history report.

Is there a report either by GUI or API that will show when a users were added to a birthright role? - Identity Security Cloud (ISC) / ISC Discussion and Questions - SailPoint Developer Community

Hello @pattabhi. When I execute that query, in this case, I got 11 events

created:[* TO now] AND (name.exact:“Add Role Passed” OR name.exact:“Remove Role Passed” AND attributes.roleName:“My Role”)

But when I use this endpoint of the API, I got 250 identities

{{baseUrl}}/roles/:My role ID/assigned-identities

I think that the numbers of historical identities should match with it´s own dates, I don´t know where is the mistake.

There is other option to get the access history of a user. But, using this way you can only search one identity at a time and no way to export the data (but you can do copy and paste)

Admin–>Identity Management–>Access History

Hello @JackSparrow. I´m searching a way of exporting historical identities from a role and their dates of being part of that role or living it, not historical roles of an identity. Please let me know if you need more information

try the below API details:

3 Likes

But how do I filter that I want a specific role to the endpoint?

Hi @stefanoperetti

The SailPoint REST API uses pagination to manage the number of results returned in a single response, with a default limit of 250 records per page for list endpoints. To retrieve more than 250 records, you need to use the limit and offset parameters to retrieve subsequent pages of results.

Hi @pattabhi I already know that and thank you, but I´m searching a way of filtering historical identities from a role. Let me know if you need more info please