Security

What is the configuration required to create a view-only role?

the_wolverine
Champion

I want to create a role where the user is not able to search Splunk. They should only be able to view dashboards that have been pre-populated by scheduled searches.

Labels (1)
1 Solution

somesoni2
Revered Legend

Here is what you can do

  1. Create a User Role, say read-only-user with following capabilities:-
    change_own_password
    get_metadata
    rest_properties_get
    search

  2. Go to Manager Apps and for Sharing permission for app 'Search & Reporting', give read permission to all roles except 'read-only-user' role. By default Read is assigned to 'Everyone'

  3. For Splunk Apps that user in role 'read-only-user' should access, change the home page from 'search' to appropriate dashboard. Otherwise, they'll get error while opening the App.

You should be all set.

List item

View solution in original post

agentguerry
Path Finder

would this be an appropriate way to complete this?

https://answers.splunk.com/answers/550347/how-to-create-dashboard-app.html

0 Karma

somesoni2
Revered Legend

Here is what you can do

  1. Create a User Role, say read-only-user with following capabilities:-
    change_own_password
    get_metadata
    rest_properties_get
    search

  2. Go to Manager Apps and for Sharing permission for app 'Search & Reporting', give read permission to all roles except 'read-only-user' role. By default Read is assigned to 'Everyone'

  3. For Splunk Apps that user in role 'read-only-user' should access, change the home page from 'search' to appropriate dashboard. Otherwise, they'll get error while opening the App.

You should be all set.

List item

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, ...