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
Get Updates on the Splunk Community!

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Your Voice Matters! Help Us Shape the New Splunk Lantern Experience

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

Building Momentum: Splunk Developer Program at .conf25

At Splunk, developers are at the heart of innovation. That’s why this year at .conf25, we officially launched ...