Does ROR pro restricts indexes in dropdown based on the role?


(Rohit Kasat) #1

Kibana 6 has filter dropdown where we can select a particular index. Currently, it lists out all the indexes. Does ROR Kibana Pro restricts the indices based upon rules?


(Simone Scarduzio) #2

Do you mean the dropdown with the index patterns?


(Rohit Kasat) #3

yes. exactly.
Use should see only accessible indices.
And wondering what happens if pattern matches with two indices where on is accessible and one isnt?


(Simone Scarduzio) #4

Those patterns are written in the “.kibana” index. So ANY user with “rw” or “admin” kibana access can configure them from the “management” tab.

It’s natural that with ROR PRO (or the ES plugin alone) some users will not be allowed to query for some of those indices. The ES plugin will just return rewrite the request to include only the indices they can see, or nothing at all.

This discrepancy is the result of the fact that users with different index privileges are accessing the same “.kibana” index. The only real thing to do if you want to hide any reference to indices that are not allowed, is to use multi-tenancy (each user can have their own “.kibana” index), which is something we offer in ROR Enterprise.