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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...