Security

Restrict access to Savedsearches for specific roles

rijutha
Explorer

Hi,

I have many savedsearches running in my environment that are regularly writing data to summary indexes and metric store. And some savedsearches that are just meant to perform the basic search function.

I have restricted savedsearches read access to all users in the environment except those who belong to the admin role. However I would like to grant read access to some savedsearches to a specific role/group. I tried the below however that does not work. The users given access to the search -Summary_Find cant see any savedsearches.

[savedsearches]
access = read : [ dev, admin, power ], write : [ admin, power, dev ]
export = none

[savedsearches/Summary_Find]
access = read : [ admin, business_admin, dev, support, power ], write : [ admin, dev, power ]
export = none
owner = nobody

Please do let me know if there is a solution to do this in Splunk.

0 Karma

woodcock
Esteemed Legend

Go to Settings -> Searches, reports, and alerts, select All for every dropdown and search for your search in the search box. When you find it, click the Edit permissions item in the Edit link, modify to suit, and click Save.

0 Karma

vishaltaneja070
Motivator

@rijutha

you can provide access on a particular roles directly by editing permission of a report on Splunk UI.

0 Karma

rijutha
Explorer

@vishaltaneja07011993 Thanks. I was looking for an easy way to do this instead of setting individual permissions for every searche. I have 73 of them. And I only want some searches about 3-4 to be given read access to used other than admin/power/dev.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...