kibana/x-pack/plugins/beats_management
Matt Apperson d5138178f0
[BeatsCM] fix API for tokens to support any number (#30335)
* add basic script for standing up a fake env

* tweaks

* API needs to support any number of tokens not us

* [BeatsCM] Add testing script used to create test deployments

* Move to JWT for enrollment

* wrap dont scroll command

* Dont use token as token ID

* fix tests

* not sure why this file is enabled in this branch/PR…
2019-02-20 19:39:09 -05:00
..
common
public [BeatsCM] fix API for tokens to support any number (#30335) 2019-02-20 19:39:09 -05:00
scripts [BeatsCM] fix API for tokens to support any number (#30335) 2019-02-20 19:39:09 -05:00
server [BeatsCM] fix API for tokens to support any number (#30335) 2019-02-20 19:39:09 -05:00
types
index.ts
readme.md [BeatsCM] fix API for tokens to support any number (#30335) 2019-02-20 19:39:09 -05:00
tsconfig.json
wallaby.js

Documentation for Beats CM in x-pack kibana

Notes: Falure to have auth enabled in Kibana will make for a broken UI. UI based errors not yet in place

Run tests

node scripts/jest.js plugins/beats --watch

and for functional... (from x-pack root)

 node scripts/functional_tests  --config test/api_integration/config

Run command to fake an enrolling beat (from beats_management dir)

node scripts/enroll.js <enrollment token>

Run a command to setup a fake large-scale deployment

Note: ts-node is required to be installed gloably from NPM/Yarn for this action

ts-node scripts/fake_env.ts <KIBANA BASE PATH> <# of beats> <# of tags per beat> <# of congifs per tag>