The poor man's shield
Buckler is a really simple security layer for elasticsearch.
It simply forwards all requests to the desired elasticsearch cluster, but requires a Basic Authorization header to fulfill the requests.
- Configure you ES firewall to only accept requests from the machine running buckler.
- Edit the config.js file with the port the server will run and the ES address, OR inject them as environment variables (PORT, ELASTICSEARCH)
- Edit the allowedClients.js file, so that it exports the allowed username/password combinations.
- npm install
- npm start