Security

How can we find out who has access to a certain index?

danielbb
Motivator

We would like to find out who has access to a certain index. How can we do that?

Labels (1)
Tags (1)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

To find roles that access index 'foo', look for srchIndexesAllowed = foo or srchIndexesAllowed = * in your authorize.conf files. Btool can help.

splunk btool --debug authorize list | grep 'srchIndexesAllowed\s*=.*(\*|foo)'
---
If this reply helps you, Karma would be appreciated.

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

To find roles that access index 'foo', look for srchIndexesAllowed = foo or srchIndexesAllowed = * in your authorize.conf files. Btool can help.

splunk btool --debug authorize list | grep 'srchIndexesAllowed\s*=.*(\*|foo)'
---
If this reply helps you, Karma would be appreciated.
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...