Security

Query to retrieve dashboard accessible by a particular role?

saurabh009
Path Finder

Hi,

Is there a way to find which dashboards are accessible to a particular role of users?

0 Karma

harsmarvania57
Ultra Champion

Hi,

Please use below query, this will display all dashboards in all apps (If you have admin access).

| rest /servicesNS/-/-/data/ui/views
| rename "eai:acl.perms.read" as read_permission, "eai:acl.perms.write" as write_permission, "eai:acl.sharing" as sharing, "eai:acl.app" as app
| table app, title, read_permission, write_permission, sharing

EDIT: To check read access for specific role, please try below query (In below query replace <role_name> with actual role name.

| rest /servicesNS/-/-/data/ui/views
| rename "eai:acl.perms.read" as read_permission, "eai:acl.perms.write" as write_permission, "eai:acl.sharing" as sharing, "eai:acl.app" as app
| mvexpand read_permission
| search read_permission=<role_name>
| table app, title, read_permission, write_permission, sharing
0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...