kibana-authentication-proxy icon indicating copy to clipboard operation
kibana-authentication-proxy copied to clipboard

* added option to place user/password combinations in flatfile

Open strima opened this issue 10 years ago • 7 comments

  • added option to place user/password combinations in flatfile
  • added configurable option for base_path (so that you can "mount" the whole proxy under eg /kibanaauthproxy)

strima avatar Apr 23 '14 15:04 strima

Placing user/password separated is really a good feature, but I will not merge the base_path because it's not so necessary in most common cases. just want to keep it simple.

Thanks for your efforts:)

fangli avatar Apr 24 '14 10:04 fangli

and if i do something like that:

if (!config.base_path) { config.base_path=""; }

then it would be ok if this option is not specified, but for others that want/need it it would still be there

what do you think ?

strima avatar Apr 24 '14 11:04 strima

Good that's perfect.

BTW, Could you please add the basic_auth_file section and its description into config.js? so that I can merge the features easily. Default value of basic_auth_file should be ""[empty], and If it's specific, the content in this file will take place of basic_auth_users.

Thanks.

fangli avatar Apr 25 '14 03:04 fangli

done as proposed. hope it's ok now.

btw, i adopted the whole thing for grafana. see https://github.com/strima/grafana-authentication-proxy

hope that's ok - i mentioned this project of course as base

strima avatar Apr 28 '14 19:04 strima

Never mind, you are welcomed to fork or adopt as you go. it's helpful to the community, thank you :) I'll merge the pull request later, after performed a few tests.

fangli avatar Apr 30 '14 02:04 fangli

hi, as written in the config.js and readme.md i added an option for user based regex filtering of elasticsearch indizes, thus enabling some kind of authorization.

can be used eg. for restricting certain users to certain logstash indizes - thus not seeing all logs only the ones which are relevant for the user

strima avatar May 13 '14 12:05 strima

@fangli : did you already have time to do your tests ?

strima avatar Aug 05 '14 13:08 strima