I have been able to find searches for roles mapped to AD Groups, but I need to get the indexes those roles are allowed to use. I'm creating a search to assist in upgrading to a new system. This mapping will give me the relationships. I have used:
| rest /services/admin/roles | table title, srchIndexesAllowed | rename title as role, but it only gives me the role and searchIndexes. I need to map it to AD groups too. Also, when I went to download that searches content, it did not download all the data.
I also used: | rest /services/admin/roles | table title, srchIndexesAllowed | rename title as role, but what I really need is all three values: Role mapped to AD Group and role mapped to indexes in the same search.
Not sure if it's what you're looking for, but try
| rest /services/admin/LDAP-groups