fangli / kibana-authentication-proxy

Hosts the latest kibana3 and elasticsearch behind Google OAuth2, Basic Authentication or CAS Authentication
MIT License
223 stars 66 forks source link

Only specific users can access specific dashboards #49

Open twood9003 opened 9 years ago

twood9003 commented 9 years ago

I am looking to lock down techsupport to only 1 dashboard. Dashboards: test, test1, test2, techsupport

It looks like this this was possible in "Per-user kibana index supported. now you can use index kibana-int-userA for user A and kibana-int-userB for user B"

How is this done? I would be using basic auth and having multiple users but would want only user "techsupport" to be able to access "techsupport" dashboard.

twood9003 commented 9 years ago

Testing with the following: 43 "kibana_es_index": "kibana-int", // "kibana-int-%user%" 44 "which_auth_type_for_kibana_index": "basic", // google, cas or basic 45
46 "kibana_es_index": "kibana-int-for-%techsupport%", // "kibana-int-%user%" 47 "which_auth_type_for_kibana_index": "basic", // google, cas or basic

83 "enable_basic_auth": true, 84 // Multiple user/passwd supported 85 // The User&Passwd list for basic auth 86 "basic_auth_users": [ 87 {"user": "demo1", "password": "pwd1"}, 88 {"user": "demo1", "password": "pwd2"}, 89 {"user": "techsupport", "password": "techsupport"}, 90 ],