Role Membership Criteria Search

Team - Do we have way to search Roles by “Role Membership Criteria” ?

As in you want to find any specific roles based on their membership criteria? e.g., find all roles which have a criteria based on department?.

While I don’t know of a way to do this via search (I am pretty sure it’s not possible, looking at the role search model, but happy for someone from SailPoint to correct me here), you could do this by using the APIs and a bit of coding:

https://{{orgname}}.identitynow.com/api/role/list
to get all the roles
https://{{orgname}}.identitynow.com/api/role/get/{{roleid}} to get each individual role

In the get response is the role criteria. You could dump this response to a file and then search the files.