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!

Database Performance Sidebar Panel Now on APM Database Query Performance & Service ...

We’ve streamlined the troubleshooting experience for database-related service issues by adding a database ...

IM Landing Page Filter - Now Available

We’ve added the capability for you to filter across the summary details on the main Infrastructure Monitoring ...

Dynamic Links from Alerts to IM Navigators - New in Observability Cloud

Splunk continues to improve the troubleshooting experience in Observability Cloud with this latest enhancement ...