kibana/x-pack/legacy/plugins/beats_management
2020-06-05 08:11:58 +02:00
..
common apply prettier styles 2020-05-22 09:08:58 +02:00
scripts apply prettier styles 2020-05-22 09:08:58 +02:00
server Register privileges in Kibana Platform Security plugin and remove legacy getUser API. (#65472) 2020-06-05 08:11:58 +02:00
types Update deprecated React.SFC and React.StatelessComponent types (#50852) 2019-11-21 20:53:54 +01:00
index.ts apply prettier styles 2020-05-22 09:08:58 +02:00
readme.md Register privileges in Kibana Platform Security plugin and remove legacy getUser API. (#65472) 2020-06-05 08:11:58 +02:00
tsconfig.json
wallaby.js apply prettier styles 2020-05-22 09:08:58 +02:00

Beats CM

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

Testing

Unit tests

From ~/kibana/x-pack, run node scripts/jest.js plugins/beats --watch.

API tests

In one shell, from ~/kibana/x-pack: node scripts/functional_tests-server.js

In another shell, from ~kibana/x-pack: node ../scripts/functional_test_runner.js --config test/api_integration/config.ts.

Manual e2e testing

  • Run this 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>