We want to secure our dashboards and allow some users only to visualize dashboards: no modification, no save, no upgrade.
I understand that I have to create a dedicated role but it does not work:
With this configuration of "read" to indice ".kibana", I have a blank page.
With "all" to indice ".kibana", I can modify and delete dashboards.
How to setup the profile ?
thanks for your tips,
This user also needs read access to the indices that are associated with those dashboards. Have you granted access to those indices that contain data for those dashboards?
Apologies, I see what you're doing now. You're a great candidate for our new feature in 6.0, dashboard-only mode, which allows you a first-class way to grant read-only access to kibana saved objects. Check it out here: https://www.elastic.co/blog/kibana-dashboard-only-mode
In your case, though, you can still do it, but it's not as pretty. It requires setting an additional privilege for this user on .kibana. So in addition to read, you also need view_index_metadata.
Now the way it works is, this user can still see the dashboard edit button and can attempt to add visualizations and change the dashboard options, but upon clicking save, the user will meet with "action [indices:data/write/index] is unauthorized for user [xyz]" and be unable to save the changes.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.