Security

Users are able to see search results from index that they don't have permission

ps
Explorer

Hi,

I am using Splunk Enterprise Version:8.0.1

I bunch of indexes and roles for users. I created a role that has only one capability "search" and only permission to one index (included, default).

When I run search command eg. * from Search & Reporting's search I get expected result, only search results from the index that user has permission.

If I run search: index IN("<index_with_permission>" "<index_not_permission_in_role") I get all the results also from the index that user has no permission. Any idea what could be the issue?

Labels (1)
0 Karma
1 Solution

gcusello
SplunkTrust
SplunkTrust

Hi @ps,

inheritance is the only way because you have access to an index not directly grated.

Ciao.

Giuseppe

View solution in original post

gcusello
SplunkTrust
SplunkTrust

Hi @ps,

check if you inherited your role from another one (e.g. user), in this case you have all the grants of the other role.

Ciao.

Giuseppe

0 Karma

ps
Explorer

Hi,

Role is newly generated for this test after I noticed this problem, not inherited any permissions and have only "search" capability in capability list.

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @ps,

inheritance is the only way because you have access to an index not directly grated.

Ciao.

Giuseppe

ps
Explorer

Hi,

Thanks for quick answer. I checked user again and you were correct. Splunk default role "user" allows you to search from any index that you don't even have permission. After removing this search results are as expected.

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @ps,

good for you!

Ciao and happy splunking.

Giuseppe

P.S.: Karma Points are appreciated 😉

0 Karma
Get Updates on the Splunk Community!

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...