I need to find the user roles which has searchindexallowed = " * or _* "
The below command list all the roles with searchindexallowed details, but how do I get only roles which has permission to all indexes.
| rest /services/admin/roles | table title, srchIndexesAllowed | rename title as role.
Also, is there any way to find this with btool command ?
You have the correct query, just add search filter as follows:
| rest /services/admin/roles | search srchIndexesAllowed=* OR srchIndexesAllowed=_* |table title, srchIndexesAllowed | rename title as role