Hi, I'm following this tutorial on Elastic blog to embed Kibana dashboard on my website. I expect only the dashboard to appear using this method. However, the Elasticsearch bar, side bar and some other items also appear.
The problem with this is that the user can navigate to other dashboards that I'd like to restrict them from accessing.
The steps I follow are:
- Create a new user: anomymous_user. Grant it a role with two privileges: (1) Elasticsearch Index privileges (for selected Indices): read, (2) Kibana Custom privileges: Read for Dashboards.
- I update the kibana.yml file by adding the anonymous user credentials in the anonymous authentication config. Also, set sameSiteCookies to None.
Is this a problem in generation of iframe or is it something else, any fixes?