Monasca Kibana plugin for Keystone authentication
Go to file
Jakub Wachowski 4d13e5d03b Fix problems with multitenancy
This commit fixes the following problems:
- Kibana is not auto-detected by monasca-agent (Bug-Id: 13118)
- Kibana renders error page when token expires
- Keystone-token can be 'stolen' due to sharing
   of default session in Kibana
- Some endpoints were not secured

Related change for monasca-ui: https://review.openstack.org/#/c/387269/
Bug-Id: 13118


Change-Id: I2a363ebabcf593469943f7d071a92a680344ec73
2016-10-24 15:56:49 +02:00
server Fix problems with multitenancy 2016-10-24 15:56:49 +02:00
.babelrc Initial commit 2016-02-23 11:05:03 +01:00
.eslintrc Initial commit 2016-02-23 11:05:03 +01:00
.gitignore Initial commit 2016-02-23 11:05:03 +01:00
.jshintrc Add Multi-Tenancy for keystone plugin 2016-08-17 08:26:45 +02:00
LICENSE Initial commit 2016-02-23 11:05:03 +01:00
README.md Automatically create default index pattern 2016-10-13 12:57:48 +02:00
gulpfile.js Initial commit 2016-02-23 11:05:03 +01:00
index.js Automatically create default index pattern 2016-10-13 12:57:48 +02:00
package.json Fix problems with multitenancy 2016-10-24 15:56:49 +02:00

README.md

FTS-Keystone

Keystone authentication support for Kibana 4.4.x

Installation

Requires a working version of Kibana. The kibana configuration file (/opt/kibana/config/kibana.yml) should be updated where keystone_port should be the keystone admin port (default: 35357) not the keystone member port (default: 5000):

fts-keystone.port: ${keystone_port}
fts-keystone.url: http://${keystone_host}
fts-keystone.enabled: True
fts-keystone.defaultTimeField: '@timestamp'

To install the fts-keystone plugin, first the latest release should be downloaded:

$ (cd /tmp; wget https://github.com/FujitsuEnablingSoftwareTechnologyGmbH/fts-keystone/releases/download/v0.0.1/fts-keystone-0.0.1.tar.gz; cd -)

Then installed using the Kibana plugin manager tool:

$ /opt/kibana/bin/kibana plugin --install fts-keystone --url file:///tmp/fts-keystone-0.0.1.tar.gz
Installing fts-keystone
Attempting to transfer from file:///tmp/fts-keystone-0.0.1.tar.gz
Transferring 7567007 bytes....................
Transfer complete
Extracting plugin archive
Extraction complete
Optimizing and caching browser bundles...
Plugin installation complete

$ /opt/kibana/bin/kibana plugin --list
fts-keystone

Now start/restart your Kibana server by running:

$ service kibana restart