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

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...

Community Content Calendar, September edition

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