Coder Social home page Coder Social logo

mmhuang / kibana-express-session Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kadishmal/kibana-express-session

0.0 2.0 0.0 5 KB

express-session compatible Redis backed authentication for Kibana

License: MIT License

JavaScript 100.00%

kibana-express-session's Introduction

kibana-express-session

A Kibana plugin to check (and only check) if a user is authenticated. Uses express-session-hapi module to check for session data in Redis.

This module does not perform the actual authentication. It does not register any route handler. It only checks if the user is authenticated. If not, it redirects to a configurable redirectTo location.

Usage

./bin/kibana plugin -i kibana-express-session -u https://github.com/kadishmal/kibana-express-session/releases/download/v1.0.0/kibana-express-session-1.0.0.zip

Notice that when specifying a URL via -u flag, Kibana requires the URL to point to a ZIP file which includes all the dependencies. Kibana doesn't run npm install when installing a plugin. So, the ZIP file should be archived and uploaded somewhere. Follow the Build section below for build instructions.

Options

kibana-express-session: 
  cookieName: ''
  # Disable or enable this Kibana plugin.
  enabled: true
  redis:
    host: ''
  redirectTo: '/login'
  secret: ''

Basically, the same options accepted by express-session-hapi module are accepted by kibana-express-session.

Build

grunt build

This generates a ZIP files into build/ directory. Upload this archive to the Releases tab in the Github repository.

License

The MIT License (MIT)

Copyright (c) 2016 Esen Sagynov

kibana-express-session's People

Contributors

kadishmal avatar

Watchers

James Cloos avatar Raymond Huang avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.