Security

User access to _internal

L_Petch
Path Finder

Hello,

 

I need to give certain users access to _internal but only allow them to see certain hosts. I planned to do this by adding a new role, giving them access to the index and then limiting them to the hosts in the search filter section. This works however it restricts access in all other indexes they have access to, to the same search filter even though this isn't inherited and access granted by a separate role.

 

Is there an easier/better way of doing this?

Labels (1)
1 Solution

gcusello
SplunkTrust
SplunkTrust

hi @L_Petch ,

use as filter:

index=* OR (index=_internal host IN (spl001,spl002))

Ciao.

Giuseppe

View solution in original post

L_Petch
Path Finder

Hi @gcusello 

How does this stop the filter from stopping access to all the other indexers the user has access to? As soon as I add the filter " host::spl001 OR host::spl002 " for example it will apply this restriction to all indexes not jus the _internal I want it to wont it?

0 Karma

gcusello
SplunkTrust
SplunkTrust

hi @L_Petch ,

use as filter:

index=* OR (index=_internal host IN (spl001,spl002))

Ciao.

Giuseppe

L_Petch
Path Finder

@gcusello thanks that is exactly what I needed 

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @L_Petch ,

to create the new role don't use Inheritation but clone the role from another one and modify the search filters.

Ciao.

Giuseppe

0 Karma
Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...