kibana/package.json

422 lines
13 KiB
JSON
Raw Normal View History

2014-02-07 00:29:19 +01:00
{
"name": "kibana",
"description": "Kibana is a browser based analytics and search dashboard for Elasticsearch. Kibana is a snap to setup and start using. Kibana strives to be easy to get started with, while also being flexible and powerful, just like Elasticsearch.",
"keywords": [
"kibana",
"elasticsearch",
"logstash",
"analytics",
"visualizations",
"dashboards",
"dashboarding"
],
"private": true,
2019-02-07 22:58:24 +01:00
"version": "7.1.0",
2019-02-14 17:28:46 +01:00
"branch": "7.x",
"types": "./kibana.d.ts",
"build": {
2015-08-31 20:14:09 +02:00
"number": 8467,
"sha": "6cb7fec4e154faa0a4a3fee4b33dfef91b9870d9"
},
"homepage": "https://www.elastic.co/products/kibana",
"bugs": {
"url": "http://github.com/elastic/kibana/issues"
},
"kibana": {
"clean": {
"extraPatterns": [
"build",
"optimize",
"built_assets",
".eslintcache"
]
}
},
"author": "Rashid Khan <rashid.khan@elastic.co>",
"scripts": {
"preinstall": "node ./preinstall_check",
"kbn": "node scripts/kbn",
"es": "node scripts/es",
"test": "grunt test",
"test:dev": "grunt test:dev",
"test:quick": "grunt test:quick",
"test:browser": "grunt test:browser",
"test:jest": "node scripts/jest",
"test:mocha": "grunt test:mocha",
"test:ui": "node scripts/functional_tests",
"test:ui:server": "node scripts/functional_tests_server",
"test:ui:runner": "node scripts/functional_test_runner",
"test:server": "grunt test:server",
2015-08-25 02:10:21 +02:00
"test:coverage": "grunt test:coverage",
"typespec": "typings-tester --config x-pack/plugins/canvas/public/lib/aeroelastic/tsconfig.json x-pack/plugins/canvas/public/lib/aeroelastic/__fixtures__/typescript/typespec_tests.ts",
"checkLicenses": "grunt licenses --dev",
"build": "node scripts/build --all-platforms",
"start": "node --trace-warnings --trace-deprecation scripts/kibana --dev ",
"debug": "node --nolazy --inspect scripts/kibana --dev",
"debug-break": "node --nolazy --inspect-brk scripts/kibana --dev",
"precommit": "node scripts/precommit_hook",
"karma": "karma start",
"lint": "yarn run lint:es && yarn run lint:ts && yarn run lint:sass",
"lint:es": "node scripts/eslint",
"lint:ts": "node scripts/tslint",
"lint:sass": "node scripts/sasslint",
"makelogs": "node scripts/makelogs",
"mocha": "node scripts/mocha",
"uiFramework:start": "cd packages/kbn-ui-framework && yarn docSiteStart",
"uiFramework:build": "cd packages/kbn-ui-framework && yarn docSiteBuild",
"uiFramework:createComponent": "cd packages/kbn-ui-framework && yarn createComponent",
"uiFramework:documentComponent": "cd packages/kbn-ui-framework && yarn documentComponent",
"kbn:watch": "node scripts/kibana --dev --logging.json=false",
"kbn:bootstrap": "node scripts/register_git_hook"
},
"repository": {
"type": "git",
"url": "https://github.com/elastic/kibana.git"
},
Beats Management (#23819) * [Beats Management] Initial scaffolding for plugin (#18977) * Initial scaffolding for Beats plugin * Removing bits not (yet) necessary in initial scaffolding * [Beats Management] Install Beats index template on plugin init (#19072) * Install Beats index template on plugin init * Adding missing files * [Beats Management] APIs: Create enrollment tokens (#19018) * WIP checkin * Register API routes * Fixing typo in index name * Adding TODOs * Removing commented out license checking code that isn't yet implemented * Remove unnecessary async/await * Don't return until indices have been refreshed * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Adding TODO * Fixing variable name * Using a single index * Adding expiration date field * Adding test for expiration date field * Ignore non-existent index * Fixing logic in test * Creating constant for default enrollment tokens TTL value * Updating test * Fixing name of test file (#19100) * [Beats Management] APIs: Enroll beat (#19056) * WIP checkin * Add API integration test * Converting to Jest test * Create API for enrolling a beat * Handle invalid or expired enrollment tokens * Use create instead of index to prevent same beat from being enrolled twice * Adding unit test for duplicate beat enrollment * Do not persist enrollment token with beat once token has been checked and used * Fix datatype of host_ip field * Make Kibana API guess host IP instead of requiring it in payload * Fixing error introduced in rebase conflict resolution * [Beats Management] APIs: List beats (#19086) * WIP checkin * Add API integration test * Converting to Jest test * WIP checkin * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Updating mapping * [Beats Management] APIs: Verify beats (#19103) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Fleshing out remaining tests * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Moving TODO comment to right file * Rename determine* helper functions to find* * Fixing assertions (#19194) * [Beats Management] APIs: Update beat (#19148) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Add API tests * Update template to allow version field for beat * Implement PUT /api/beats/agent/{beat ID} API * Make enroll beat code consistent with update beat code * Fixing minor typo in TODO comment * Allow version in request payload * Make sure beat is not updated in ES in error scenarios * Adding version as required field in Enroll Beat API payload * Using destructuring * Fixing rename that was accidentally reversed in conflict fixing * [Beats Management] APIs: take auth tokens via headers (#19210) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Make "Enroll Beat" API take enrollment token via header instead of request body * Make "Update Beat" API take access token via header instead of request body * [Beats Management] APIs: Create configuration block (#19270) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Implementing POST /api/beats/configuration_blocks API * Removing unnecessary escaping * Fleshing out types + adding validation for them * Making output singular (was outputs) * Removing metricbeat.inputs * Revert implementation of `POST /api/beats/configuration_blocks` API (#19340) This API allowed the user to operate at a level of abstraction that is unnecessarily and dangerously too low. A better API would be at one level higher, where users can create, update, and delete tags (where a tag can contain multiple configuration blocks). * [Beats Management] APIs: Create or update tag (#19342) * Updating mappings * Implementing PUT /api/beats/tag/{tag} API * [Beats Management] Prevent timing attacks when checking auth tokens (#19363) * Using crypto.timingSafeEqual() for comparing auth tokens * Prevent subtler timing attack in token comparison function * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * [Beats Management] APIs: Assign tag(s) to beat(s) (#19431) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Rename "determine" to "find" * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Updating ES archive * Renaming * Use destructuring * Moving start of script to own line to increase readability * Using destructuring * [Beats Management] APIs: Remove tag(s) from beat(s) (#19440) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Renaming * Use destructuring * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Implementing `POST /api/beats/agents_tags/removals` API * Updating ES archive * Use destructuring * Moving start of script to own line to increase readability * Nothing to remove if there are no existing tags! * Updating tests to match changes in bulk update painless script * Use destructuring * [Beats Management] Move to Ingest UI arch and initial TS effort (#20039) * [Beats Management] Initial scaffolding for plugin (#18977) * Initial scaffolding for Beats plugin * Removing bits not (yet) necessary in initial scaffolding * [Beats Management] Install Beats index template on plugin init (#19072) * Install Beats index template on plugin init * Adding missing files * [Beats Management] APIs: Create enrollment tokens (#19018) * WIP checkin * Register API routes * Fixing typo in index name * Adding TODOs * Removing commented out license checking code that isn't yet implemented * Remove unnecessary async/await * Don't return until indices have been refreshed * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Adding TODO * Fixing variable name * Using a single index * Adding expiration date field * Adding test for expiration date field * Ignore non-existent index * Fixing logic in test * Creating constant for default enrollment tokens TTL value * Updating test * Fixing name of test file (#19100) * [Beats Management] APIs: Enroll beat (#19056) * WIP checkin * Add API integration test * Converting to Jest test * Create API for enrolling a beat * Handle invalid or expired enrollment tokens * Use create instead of index to prevent same beat from being enrolled twice * Adding unit test for duplicate beat enrollment * Do not persist enrollment token with beat once token has been checked and used * Fix datatype of host_ip field * Make Kibana API guess host IP instead of requiring it in payload * Fixing error introduced in rebase conflict resolution * [Beats Management] APIs: List beats (#19086) * WIP checkin * Add API integration test * Converting to Jest test * WIP checkin * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Updating mapping * [Beats Management] APIs: Verify beats (#19103) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Fleshing out remaining tests * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Moving TODO comment to right file * Rename determine* helper functions to find* * Fixing assertions (#19194) * [Beats Management] APIs: Update beat (#19148) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Add API tests * Update template to allow version field for beat * Implement PUT /api/beats/agent/{beat ID} API * Make enroll beat code consistent with update beat code * Fixing minor typo in TODO comment * Allow version in request payload * Make sure beat is not updated in ES in error scenarios * Adding version as required field in Enroll Beat API payload * Using destructuring * Fixing rename that was accidentally reversed in conflict fixing * [Beats Management] APIs: take auth tokens via headers (#19210) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Make "Enroll Beat" API take enrollment token via header instead of request body * Make "Update Beat" API take access token via header instead of request body * [Beats Management] APIs: Create configuration block (#19270) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Implementing POST /api/beats/configuration_blocks API * Removing unnecessary escaping * Fleshing out types + adding validation for them * Making output singular (was outputs) * Removing metricbeat.inputs * Revert implementation of `POST /api/beats/configuration_blocks` API (#19340) This API allowed the user to operate at a level of abstraction that is unnecessarily and dangerously too low. A better API would be at one level higher, where users can create, update, and delete tags (where a tag can contain multiple configuration blocks). * [Beats Management] APIs: Create or update tag (#19342) * Updating mappings * Implementing PUT /api/beats/tag/{tag} API * [Beats Management] Prevent timing attacks when checking auth tokens (#19363) * Using crypto.timingSafeEqual() for comparing auth tokens * Prevent subtler timing attack in token comparison function * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * [Beats Management] APIs: Assign tag(s) to beat(s) (#19431) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Rename "determine" to "find" * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Updating ES archive * Renaming * Use destructuring * Moving start of script to own line to increase readability * Using destructuring * [Beats Management] APIs: Remove tag(s) from beat(s) (#19440) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Renaming * Use destructuring * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Implementing `POST /api/beats/agents_tags/removals` API * Updating ES archive * Use destructuring * Moving start of script to own line to increase readability * Nothing to remove if there are no existing tags! * Updating tests to match changes in bulk update painless script * Use destructuring * Ported over base types and arch structure * move management of installIndexTemplate into the framework adapter * ts-lint fix * tslint fixes * more ts tweaks * fix paths * added several working endpoints * add more routes and bug fixes * fix linting * fix type remove CRUFT * remove more cruft * remove more CRUFT * added comments, change plurality * add tsconfig file * add extends path * fixed typo * serveral PR review fixes * fixed lodash type version * “fix” types by applying a lot of any * [Beats Management] Move tokens to use JWT, add more complete test suite (#20317) * inital effort to move to JWT and added jest based tests on libs * assign beats tests all passing * token tests now pass * add more tests * all tests now green * fix broken test, this is beats CM not logstash 😊 * added readme * move enrollment token back to a hash * remove un-needed comment * alias lodash get to avoid confusion * isolated hash creation * [Beats Management] add more tests, update types, break out ES into it's own adapter (#20566) * inital effort to move to JWT and added jest based tests on libs * assign beats tests all passing * token tests now pass * add more tests * all tests now green * move enrollment token back to a hash * remove un-needed comment * alias lodash get to avoid confusion * isolated hash creation * Add initial efforts for backend framework adapter testing * move ES code to a DatabaseAdapter from BackendAdapter and add a TON of types for ES * re-typed * renamed types to match pattern * aditional renames * adapter tests should always just use adapterSetup(); * database now uses InternalRequest * corrected spelling of framework * fix typings * remove CRUFT * RequestOrInternal * Dont pass around request objects everywhere, just pass the user. Also, removed hapi types as they were not compatible * fix tests, add test, removed extra comment * fix auth * updated lock file * [Beats Management] add get beat endpoint (#20603) * [Beats Management] Move tokens to use JWT, add more complete test suite (#20317) * inital effort to move to JWT and added jest based tests on libs * assign beats tests all passing * token tests now pass * add more tests * all tests now green * fix broken test, this is beats CM not logstash 😊 * added readme * move enrollment token back to a hash * remove un-needed comment * alias lodash get to avoid confusion * isolated hash creation * inital effort to move to JWT and added jest based tests on libs * assign beats tests all passing * token tests now pass * add more tests * all tests now green * move enrollment token back to a hash * remove un-needed comment * alias lodash get to avoid confusion * isolated hash creation * Add initial efforts for backend framework adapter testing * move ES code to a DatabaseAdapter from BackendAdapter and add a TON of types for ES * re-typed * renamed types to match pattern * aditional renames * adapter tests should always just use adapterSetup(); * database now uses InternalRequest * corrected spelling of framework * fix typings * remove CRUFT * RequestOrInternal * Dont pass around request objects everywhere, just pass the user. Also, removed hapi types as they were not compatible * fix tests, add test, removed extra comment * Moved critical path code from route, to more easeley tested domain * fix auth * remove beat verification, added get beat endpoint to return configs * fix type * update createGetBeatConfigurationRoute URL * rename method * update to match PR #20566 * updated lock file * fix bad merge * update TSLinting * fix bad rebase * [Beats Management] [WIP] Create public resources for management plugin (#20864) * Init plugin public resources. * rename beats to beats_management * rendering react now * Beats/initial ui (#20994) * initial layout and main nav * modal UI and pattern for UI established * fix path * wire up in-memroy adapters * tweak adapters * add getAll method to tags adapter (#21287) * Beats/real adapters (#21481) * add initial real adapters, and nulled data where we need endpoints * UI adapters and needed endpoints added (though not tested) * prep for route tests and some cleanup * move files * [Beats Management] Add BeatsTable/Bulk Action Search Component (#21182) * Add BeatsTable and control bar components. * Clean yarn.lock. * Move raw numbers/strings to constants. Remove obsolete state/props. * Update/add tests. * Change prop name from "items" to "beats". * Rename some variables. * Move search bar filter definitions to table render. * Update table to support assignment options. * Update action control position. * Refactor split render function into custom components. * Beats/basic use cases (#21660) * tweak adapter responses / types. re-add enroll ui * routes enabled, enroll now pings the server * full enrollment path now working * improved pinging for beat enrollment * fix location of history call * reload beats list on beat enrollment completion * [Beats Management] Add Tags List (#21274) * Add BeatsTable and control bar components. * Clean yarn.lock. * Move raw numbers/strings to constants. Remove obsolete state/props. * Update/add tests. * Change prop name from "items" to "beats". * Add TagsTable component and associated search/action bar. * Rename some variables. * Add constant after forgetting to save file. * Fix design mistake in table component. * Disable delete button when no tags selected. * Export tags table from index.ts. * Move search bar filter definitions to table render. * Update table to support assignment options. * Update action control position. * Refactor split render function into custom components. * Add assignment options to Tags List. * Remove obsolete code. * Move tooltips for tag icons to top position. * Beats/update (#21702) * [ML] Fixing issue with historical job audit messages (#21718) * Add proper aria-label for close inspector (#21719) * [Beats Management] Initial scaffolding for plugin (#18977) * Initial scaffolding for Beats plugin * Removing bits not (yet) necessary in initial scaffolding * [Beats Management] Install Beats index template on plugin init (#19072) * Install Beats index template on plugin init * Adding missing files * [Beats Management] APIs: Create enrollment tokens (#19018) * WIP checkin * Register API routes * Fixing typo in index name * Adding TODOs * Removing commented out license checking code that isn't yet implemented * Remove unnecessary async/await * Don't return until indices have been refreshed * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Adding TODO * Fixing variable name * Using a single index * Adding expiration date field * Adding test for expiration date field * Ignore non-existent index * Fixing logic in test * Creating constant for default enrollment tokens TTL value * Updating test * Fixing name of test file (#19100) * [Beats Management] APIs: Enroll beat (#19056) * WIP checkin * Add API integration test * Converting to Jest test * Create API for enrolling a beat * Handle invalid or expired enrollment tokens * Use create instead of index to prevent same beat from being enrolled twice * Adding unit test for duplicate beat enrollment * Do not persist enrollment token with beat once token has been checked and used * Fix datatype of host_ip field * Make Kibana API guess host IP instead of requiring it in payload * Fixing error introduced in rebase conflict resolution * [Beats Management] APIs: List beats (#19086) * WIP checkin * Add API integration test * Converting to Jest test * WIP checkin * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Updating mapping * [Beats Management] APIs: Verify beats (#19103) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Fleshing out remaining tests * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Moving TODO comment to right file * Rename determine* helper functions to find* * Fixing assertions (#19194) * [Beats Management] APIs: Update beat (#19148) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Add API tests * Update template to allow version field for beat * Implement PUT /api/beats/agent/{beat ID} API * Make enroll beat code consistent with update beat code * Fixing minor typo in TODO comment * Allow version in request payload * Make sure beat is not updated in ES in error scenarios * Adding version as required field in Enroll Beat API payload * Using destructuring * Fixing rename that was accidentally reversed in conflict fixing * [Beats Management] APIs: take auth tokens via headers (#19210) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Make "Enroll Beat" API take enrollment token via header instead of request body * Make "Update Beat" API take access token via header instead of request body * [Beats Management] APIs: Create configuration block (#19270) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Implementing POST /api/beats/configuration_blocks API * Removing unnecessary escaping * Fleshing out types + adding validation for them * Making output singular (was outputs) * Removing metricbeat.inputs * Revert implementation of `POST /api/beats/configuration_blocks` API (#19340) This API allowed the user to operate at a level of abstraction that is unnecessarily and dangerously too low. A better API would be at one level higher, where users can create, update, and delete tags (where a tag can contain multiple configuration blocks). * [Beats Management] APIs: Create or update tag (#19342) * Updating mappings * Implementing PUT /api/beats/tag/{tag} API * [Beats Management] Prevent timing attacks when checking auth tokens (#19363) * Using crypto.timingSafeEqual() for comparing auth tokens * Prevent subtler timing attack in token comparison function * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * [Beats Management] APIs: Assign tag(s) to beat(s) (#19431) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Rename "determine" to "find" * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Updating ES archive * Renaming * Use destructuring * Moving start of script to own line to increase readability * Using destructuring * [Beats Management] APIs: Remove tag(s) from beat(s) (#19440) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Renaming * Use destructuring * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Implementing `POST /api/beats/agents_tags/removals` API * Updating ES archive * Use destructuring * Moving start of script to own line to increase readability * Nothing to remove if there are no existing tags! * Updating tests to match changes in bulk update painless script * Use destructuring * [Beats Management] Move to Ingest UI arch and initial TS effort (#20039) * [Beats Management] Initial scaffolding for plugin (#18977) * Initial scaffolding for Beats plugin * Removing bits not (yet) necessary in initial scaffolding * [Beats Management] Install Beats index template on plugin init (#19072) * Install Beats index template on plugin init * Adding missing files * [Beats Management] APIs: Create enrollment tokens (#19018) * WIP checkin * Register API routes * Fixing typo in index name * Adding TODOs * Removing commented out license checking code that isn't yet implemented * Remove unnecessary async/await * Don't return until indices have been refreshed * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Adding TODO * Fixing variable name * Using a single index * Adding expiration date field * Adding test for expiration date field * Ignore non-existent index * Fixing logic in test * Creating constant for default enrollment tokens TTL value * Updating test * Fixing name of test file (#19100) * [Beats Management] APIs: Enroll beat (#19056) * WIP checkin * Add API integration test * Converting to Jest test * Create API for enrolling a beat * Handle invalid or expired enrollment tokens * Use create instead of index to prevent same beat from being enrolled twice * Adding unit test for duplicate beat enrollment * Do not persist enrollment token with beat once token has been checked and used * Fix datatype of host_ip field * Make Kibana API guess host IP instead of requiring it in payload * Fixing error introduced in rebase conflict resolution * [Beats Management] APIs: List beats (#19086) * WIP checkin * Add API integration test * Converting to Jest test * WIP checkin * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Updating mapping * [Beats Management] APIs: Verify beats (#19103) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Fleshing out remaining tests * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Moving TODO comment to right file * Rename determine* helper functions to find* * Fixing assertions (#19194) * [Beats Management] APIs: Update beat (#19148) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Add API tests * Update template to allow version field for beat * Implement PUT /api/beats/agent/{beat ID} API * Make enroll beat code consistent with update beat code * Fixing minor typo in TODO comment * Allow version in request payload * Make sure beat is not updated in ES in error scenarios * Adding version as required field in Enroll Beat API payload * Using destructuring * Fixing rename that was accidentally reversed in conflict fixing * [Beats Management] APIs: take auth tokens via headers (#19210) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Make "Enroll Beat" API take enrollment token via header instead of request body * Make "Update Beat" API take access token via header instead of request body * [Beats Management] APIs: Create configuration block (#19270) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Implementing POST /api/beats/configuration_blocks API * Removing unnecessary escaping * Fleshing out types + adding validation for them * Making output singular (was outputs) * Removing metricbeat.inputs * Revert implementation of `POST /api/beats/configuration_blocks` API (#19340) This API allowed the user to operate at a level of abstraction that is unnecessarily and dangerously too low. A better API would be at one level higher, where users can create, update, and delete tags (where a tag can contain multiple configuration blocks). * [Beats Management] APIs: Create or update tag (#19342) * Updating mappings * Implementing PUT /api/beats/tag/{tag} API * [Beats Management] Prevent timing attacks when checking auth tokens (#19363) * Using crypto.timingSafeEqual() for comparing auth tokens * Prevent subtler timing attack in token comparison function * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * [Beats Management] APIs: Assign tag(s) to beat(s) (#19431) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Rename "determine" to "find" * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Updating ES archive * Renaming * Use destructuring * Moving start of script to own line to increase readability * Using destructuring * [Beats Management] APIs: Remove tag(s) from beat(s) (#19440) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Renaming * Use destructuring * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Implementing `POST /api/beats/agents_tags/removals` API * Updating ES archive * Use destructuring * Moving start of script to own line to increase readability * Nothing to remove if there are no existing tags! * Updating tests to match changes in bulk update painless script * Use destructuring * Ported over base types and arch structure * move management of installIndexTemplate into the framework adapter * ts-lint fix * tslint fixes * more ts tweaks * fix paths * added several working endpoints * add more routes and bug fixes * fix linting * fix type remove CRUFT * remove more cruft * remove more CRUFT * added comments, change plurality * add tsconfig file * add extends path * fixed typo * serveral PR review fixes * fixed lodash type version * “fix” types by applying a lot of any * [Beats Management] Move tokens to use JWT, add more complete test suite (#20317) * inital effort to move to JWT and added jest based tests on libs * assign beats tests all passing * token tests now pass * add more tests * all tests now green * fix broken test, this is beats CM not logstash 😊 * added readme * move enrollment token back to a hash * remove un-needed comment * alias lodash get to avoid confusion * isolated hash creation * [Beats Management] add more tests, update types, break out ES into it's own adapter (#20566) * inital effort to move to JWT and added jest based tests on libs * assign beats tests all passing * token tests now pass * add more tests * all tests now green * move enrollment token back to a hash * remove un-needed comment * alias lodash get to avoid confusion * isolated hash creation * Add initial efforts for backend framework adapter testing * move ES code to a DatabaseAdapter from BackendAdapter and add a TON of types for ES * re-typed * renamed types to match pattern * aditional renames * adapter tests should always just use adapterSetup(); * database now uses InternalRequest * corrected spelling of framework * fix typings * remove CRUFT * RequestOrInternal * Dont pass around request objects everywhere, just pass the user. Also, removed hapi types as they were not compatible * fix tests, add test, removed extra comment * fix auth * updated lock file * [Beats Management] add get beat endpoint (#20603) * [Beats Management] Move tokens to use JWT, add more complete test suite (#20317) * inital effort to move to JWT and added jest based tests on libs * assign beats tests all passing * token tests now pass * add more tests * all tests now green * fix broken test, this is beats CM not logstash 😊 * added readme * move enrollment token back to a hash * remove un-needed comment * alias lodash get to avoid confusion * isolated hash creation * inital effort to move to JWT and added jest based tests on libs * assign beats tests all passing * token tests now pass * add more tests * all tests now green * move enrollment token back to a hash * remove un-needed comment * alias lodash get to avoid confusion * isolated hash creation * Add initial efforts for backend framework adapter testing * move ES code to a DatabaseAdapter from BackendAdapter and add a TON of types for ES * re-typed * renamed types to match pattern * aditional renames * adapter tests should always just use adapterSetup(); * database now uses InternalRequest * corrected spelling of framework * fix typings * remove CRUFT * RequestOrInternal * Dont pass around request objects everywhere, just pass the user. Also, removed hapi types as they were not compatible * fix tests, add test, removed extra comment * Moved critical path code from route, to more easeley tested domain * fix auth * remove beat verification, added get beat endpoint to return configs * fix type * update createGetBeatConfigurationRoute URL * rename method * update to match PR #20566 * updated lock file * fix bad merge * update TSLinting * fix bad rebase * [Beats Management] [WIP] Create public resources for management plugin (#20864) * Init plugin public resources. * rename beats to beats_management * rendering react now * Beats/initial ui (#20994) * initial layout and main nav * modal UI and pattern for UI established * fix path * wire up in-memroy adapters * tweak adapters * add getAll method to tags adapter (#21287) * Beats/real adapters (#21481) * add initial real adapters, and nulled data where we need endpoints * UI adapters and needed endpoints added (though not tested) * prep for route tests and some cleanup * move files * [Beats Management] Add BeatsTable/Bulk Action Search Component (#21182) * Add BeatsTable and control bar components. * Clean yarn.lock. * Move raw numbers/strings to constants. Remove obsolete state/props. * Update/add tests. * Change prop name from "items" to "beats". * Rename some variables. * Move search bar filter definitions to table render. * Update table to support assignment options. * Update action control position. * Refactor split render function into custom components. * Beats/basic use cases (#21660) * tweak adapter responses / types. re-add enroll ui * routes enabled, enroll now pings the server * full enrollment path now working * improved pinging for beat enrollment * fix location of history call * reload beats list on beat enrollment completion * add update on client side, expand update on server to allow for partial data, and user auth * remove double beat lookup * fix tests * only return active beats * disenroll now working * fig getAll query * re-enrolling a beat will now work * fix types * fix types * update deps * update kibana API for version * [Beats CM] Manage Tags (#21776) * [ML] Fixing issue with historical job audit messages (#21718) * Add proper aria-label for close inspector (#21719) * [Beats Management] Initial scaffolding for plugin (#18977) * Initial scaffolding for Beats plugin * Removing bits not (yet) necessary in initial scaffolding * [Beats Management] Install Beats index template on plugin init (#19072) * Install Beats index template on plugin init * Adding missing files * [Beats Management] APIs: Create enrollment tokens (#19018) * WIP checkin * Register API routes * Fixing typo in index name * Adding TODOs * Removing commented out license checking code that isn't yet implemented * Remove unnecessary async/await * Don't return until indices have been refreshed * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Adding TODO * Fixing variable name * Using a single index * Adding expiration date field * Adding test for expiration date field * Ignore non-existent index * Fixing logic in test * Creating constant for default enrollment tokens TTL value * Updating test * Fixing name of test file (#19100) * [Beats Management] APIs: Enroll beat (#19056) * WIP checkin * Add API integration test * Converting to Jest test * Create API for enrolling a beat * Handle invalid or expired enrollment tokens * Use create instead of index to prevent same beat from being enrolled twice * Adding unit test for duplicate beat enrollment * Do not persist enrollment token with beat once token has been checked and used * Fix datatype of host_ip field * Make Kibana API guess host IP instead of requiring it in payload * Fixing error introduced in rebase conflict resolution * [Beats Management] APIs: List beats (#19086) * WIP checkin * Add API integration test * Converting to Jest test * WIP checkin * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Updating mapping * [Beats Management] APIs: Verify beats (#19103) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Fleshing out remaining tests * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Moving TODO comment to right file * Rename determine* helper functions to find* * Fixing assertions (#19194) * [Beats Management] APIs: Update beat (#19148) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Add API tests * Update template to allow version field for beat * Implement PUT /api/beats/agent/{beat ID} API * Make enroll beat code consistent with update beat code * Fixing minor typo in TODO comment * Allow version in request payload * Make sure beat is not updated in ES in error scenarios * Adding version as required field in Enroll Beat API payload * Using destructuring * Fixing rename that was accidentally reversed in conflict fixing * [Beats Management] APIs: take auth tokens via headers (#19210) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Make "Enroll Beat" API take enrollment token via header instead of request body * Make "Update Beat" API take access token via header instead of request body * [Beats Management] APIs: Create configuration block (#19270) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Implementing POST /api/beats/configuration_blocks API * Removing unnecessary escaping * Fleshing out types + adding validation for them * Making output singular (was outputs) * Removing metricbeat.inputs * Revert implementation of `POST /api/beats/configuration_blocks` API (#19340) This API allowed the user to operate at a level of abstraction that is unnecessarily and dangerously too low. A better API would be at one level higher, where users can create, update, and delete tags (where a tag can contain multiple configuration blocks). * [Beats Management] APIs: Create or update tag (#19342) * Updating mappings * Implementing PUT /api/beats/tag/{tag} API * [Beats Management] Prevent timing attacks when checking auth tokens (#19363) * Using crypto.timingSafeEqual() for comparing auth tokens * Prevent subtler timing attack in token comparison function * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * [Beats Management] APIs: Assign tag(s) to beat(s) (#19431) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Rename "determine" to "find" * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Updating ES archive * Renaming * Use destructuring * Moving start of script to own line to increase readability * Using destructuring * [Beats Management] APIs: Remove tag(s) from beat(s) (#19440) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Renaming * Use destructuring * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Implementing `POST /api/beats/agents_tags/removals` API * Updating ES archive * Use destructuring * Moving start of script to own line to increase readability * Nothing to remove if there are no existing tags! * Updating tests to match changes in bulk update painless script * Use destructuring * [Beats Management] Move to Ingest UI arch and initial TS effort (#20039) * [Beats Management] Initial scaffolding for plugin (#18977) * Initial scaffolding for Beats plugin * Removing bits not (yet) necessary in initial scaffolding * [Beats Management] Install Beats index template on plugin init (#19072) * Install Beats index template on plugin init * Adding missing files * [Beats Management] APIs: Create enrollment tokens (#19018) * WIP checkin * Register API routes * Fixing typo in index name * Adding TODOs * Removing commented out license checking code that isn't yet implemented * Remove unnecessary async/await * Don't return until indices have been refreshed * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Adding TODO * Fixing variable name * Using a single index * Adding expiration date field * Adding test for expiration date field * Ignore non-existent index * Fixing logic in test * Creating constant for default enrollment tokens TTL value * Updating test * Fixing name of test file (#19100) * [Beats Management] APIs: Enroll beat (#19056) * WIP checkin * Add API integration test * Converting to Jest test * Create API for enrolling a beat * Handle invalid or expired enrollment tokens * Use create instead of index to prevent same beat from being enrolled twice * Adding unit test for duplicate beat enrollment * Do not persist enrollment token with beat once token has been checked and used * Fix datatype of host_ip field * Make Kibana API guess host IP instead of requiring it in payload * Fixing error introduced in rebase conflict resolution * [Beats Management] APIs: List beats (#19086) * WIP checkin * Add API integration test * Converting to Jest test * WIP checkin * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Updating mapping * [Beats Management] APIs: Verify beats (#19103) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Fleshing out remaining tests * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Moving TODO comment to right file * Rename determine* helper functions to find* * Fixing assertions (#19194) * [Beats Management] APIs: Update beat (#19148) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Add API tests * Update template to allow version field for beat * Implement PUT /api/beats/agent/{beat ID} API * Make enroll beat code consistent with update beat code * Fixing minor typo in TODO comment * Allow version in request payload * Make sure beat is not updated in ES in error scenarios * Adding version as required field in Enroll Beat API payload * Using destructuring * Fixing rename that was accidentally reversed in conflict fixing * [Beats Management] APIs: take auth tokens via headers (#19210) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Make "Enroll Beat" API take enrollment token via header instead of request body * Make "Update Beat" API take access token via header instead of request body * [Beats Management] APIs: Create configuration block (#19270) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Implementing POST /api/beats/configuration_blocks API * Removing unnecessary escaping * Fleshing out types + adding validation for them * Making output singular (was outputs) * Removing metricbeat.inputs * Revert implementation of `POST /api/beats/configuration_blocks` API (#19340) This API allowed the user to operate at a level of abstraction that is unnecessarily and dangerously too low. A better API would be at one level higher, where users can create, update, and delete tags (where a tag can contain multiple configuration blocks). * [Beats Management] APIs: Create or update tag (#19342) * Updating mappings * Implementing PUT /api/beats/tag/{tag} API * [Beats Management] Prevent timing attacks when checking auth tokens (#19363) * Using crypto.timingSafeEqual() for comparing auth tokens * Prevent subtler timing attack in token comparison function * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * [Beats Management] APIs: Assign tag(s) to beat(s) (#19431) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Rename "determine" to "find" * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Updating ES archive * Renaming * Use destructuring * Moving start of script to own line to increase readability * Using destructuring * [Beats Management] APIs: Remove tag(s) from beat(s) (#19440) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Renaming * Use destructuring * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Implementing `POST /api/beats/agents_tags/removals` API * Updating ES archive * Use destructuring * Moving start of script to own line to increase readability * Nothing to remove if there are no existing tags! * Updating tests to match changes in bulk update painless script * Use destructuring * Ported over base types and arch structure * move management of installIndexTemplate into the framework adapter * ts-lint fix * tslint fixes * more ts tweaks * fix paths * added several working endpoints * add more routes and bug fixes * fix linting * fix type remove CRUFT * remove more cruft * remove more CRUFT * added comments, change plurality * add tsconfig file * add extends path * fixed typo * serveral PR review fixes * fixed lodash type version * “fix” types by applying a lot of any * [Beats Management] Move tokens to use JWT, add more complete test suite (#20317) * inital effort to move to JWT and added jest based tests on libs * assign beats tests all passing * token tests now pass * add more tests * all tests now green * fix broken test, this is beats CM not logstash 😊 * added readme * move enrollment token back to a hash * remove un-needed comment * alias lodash get to avoid confusion * isolated hash creation * [Beats Management] add more tests, update types, break out ES into it's own adapter (#20566) * inital effort to move to JWT and added jest based tests on libs * assign beats tests all passing * token tests now pass * add more tests * all tests now green * move enrollment token back to a hash * remove un-needed comment * alias lodash get to avoid confusion * isolated hash creation * Add initial efforts for backend framework adapter testing * move ES code to a DatabaseAdapter from BackendAdapter and add a TON of types for ES * re-typed * renamed types to match pattern * aditional renames * adapter tests should always just use adapterSetup(); * database now uses InternalRequest * corrected spelling of framework * fix typings * remove CRUFT * RequestOrInternal * Dont pass around request objects everywhere, just pass the user. Also, removed hapi types as they were not compatible * fix tests, add test, removed extra comment * fix auth * updated lock file * [Beats Management] add get beat endpoint (#20603) * [Beats Management] Move tokens to use JWT, add more complete test suite (#20317) * inital effort to move to JWT and added jest based tests on libs * assign beats tests all passing * token tests now pass * add more tests * all tests now green * fix broken test, this is beats CM not logstash 😊 * added readme * move enrollment token back to a hash * remove un-needed comment * alias lodash get to avoid confusion * isolated hash creation * inital effort to move to JWT and added jest based tests on libs * assign beats tests all passing * token tests now pass * add more tests * all tests now green * move enrollment token back to a hash * remove un-needed comment * alias lodash get to avoid confusion * isolated hash creation * Add initial efforts for backend framework adapter testing * move ES code to a DatabaseAdapter from BackendAdapter and add a TON of types for ES * re-typed * renamed types to match pattern * aditional renames * adapter tests should always just use adapterSetup(); * database now uses InternalRequest * corrected spelling of framework * fix typings * remove CRUFT * RequestOrInternal * Dont pass around request objects everywhere, just pass the user. Also, removed hapi types as they were not compatible * fix tests, add test, removed extra comment * Moved critical path code from route, to more easeley tested domain * fix auth * remove beat verification, added get beat endpoint to return configs * fix type * update createGetBeatConfigurationRoute URL * rename method * update to match PR #20566 * updated lock file * fix bad merge * update TSLinting * fix bad rebase * [Beats Management] [WIP] Create public resources for management plugin (#20864) * Init plugin public resources. * rename beats to beats_management * rendering react now * Beats/initial ui (#20994) * initial layout and main nav * modal UI and pattern for UI established * fix path * wire up in-memroy adapters * tweak adapters * add getAll method to tags adapter (#21287) * Beats/real adapters (#21481) * add initial real adapters, and nulled data where we need endpoints * UI adapters and needed endpoints added (though not tested) * prep for route tests and some cleanup * move files * [Beats Management] Add BeatsTable/Bulk Action Search Component (#21182) * Add BeatsTable and control bar components. * Clean yarn.lock. * Move raw numbers/strings to constants. Remove obsolete state/props. * Update/add tests. * Change prop name from "items" to "beats". * Rename some variables. * Move search bar filter definitions to table render. * Update table to support assignment options. * Update action control position. * Refactor split render function into custom components. * Beats/basic use cases (#21660) * tweak adapter responses / types. re-add enroll ui * routes enabled, enroll now pings the server * full enrollment path now working * improved pinging for beat enrollment * fix location of history call * reload beats list on beat enrollment completion * add update on client side, expand update on server to allow for partial data, and user auth * remove double beat lookup * fix tests * only return active beats * disenroll now working * fig getAll query * re-enrolling a beat will now work * fix types * Add create tags view. * fix types * update deps * update kibana API for version * Added component/config interface for editing/creating tags. Added separate pages for create/edit tags. * Fixup. * Beats/beat tags workflow (#21923) * [Beats Management] Move to Ingest UI arch and initial TS effort (#20039) * [Beats Management] Initial scaffolding for plugin (#18977) * Initial scaffolding for Beats plugin * Removing bits not (yet) necessary in initial scaffolding * [Beats Management] Install Beats index template on plugin init (#19072) * Install Beats index template on plugin init * Adding missing files * [Beats Management] APIs: Create enrollment tokens (#19018) * WIP checkin * Register API routes * Fixing typo in index name * Adding TODOs * Removing commented out license checking code that isn't yet implemented * Remove unnecessary async/await * Don't return until indices have been refreshed * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Adding TODO * Fixing variable name * Using a single index * Adding expiration date field * Adding test for expiration date field * Ignore non-existent index * Fixing logic in test * Creating constant for default enrollment tokens TTL value * Updating test * Fixing name of test file (#19100) * [Beats Management] APIs: Enroll beat (#19056) * WIP checkin * Add API integration test * Converting to Jest test * Create API for enrolling a beat * Handle invalid or expired enrollment tokens * Use create instead of index to prevent same beat from being enrolled twice * Adding unit test for duplicate beat enrollment * Do not persist enrollment token with beat once token has been checked and used * Fix datatype of host_ip field * Make Kibana API guess host IP instead of requiring it in payload * Fixing error introduced in rebase conflict resolution * [Beats Management] APIs: List beats (#19086) * WIP checkin * Add API integration test * Converting to Jest test * WIP checkin * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Updating mapping * [Beats Management] APIs: Verify beats (#19103) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Fleshing out remaining tests * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Moving TODO comment to right file * Rename determine* helper functions to find* * Fixing assertions (#19194) * [Beats Management] APIs: Update beat (#19148) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Add API tests * Update template to allow version field for beat * Implement PUT /api/beats/agent/{beat ID} API * Make enroll beat code consistent with update beat code * Fixing minor typo in TODO comment * Allow version in request payload * Make sure beat is not updated in ES in error scenarios * Adding version as required field in Enroll Beat API payload * Using destructuring * Fixing rename that was accidentally reversed in conflict fixing * [Beats Management] APIs: take auth tokens via headers (#19210) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Make "Enroll Beat" API take enrollment token via header instead of request body * Make "Update Beat" API take access token via header instead of request body * [Beats Management] APIs: Create configuration block (#19270) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Implementing POST /api/beats/configuration_blocks API * Removing unnecessary escaping * Fleshing out types + adding validation for them * Making output singular (was outputs) * Removing metricbeat.inputs * Revert implementation of `POST /api/beats/configuration_blocks` API (#19340) This API allowed the user to operate at a level of abstraction that is unnecessarily and dangerously too low. A better API would be at one level higher, where users can create, update, and delete tags (where a tag can contain multiple configuration blocks). * [Beats Management] APIs: Create or update tag (#19342) * Updating mappings * Implementing PUT /api/beats/tag/{tag} API * [Beats Management] Prevent timing attacks when checking auth tokens (#19363) * Using crypto.timingSafeEqual() for comparing auth tokens * Prevent subtler timing attack in token comparison function * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * [Beats Management] APIs: Assign tag(s) to beat(s) (#19431) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Rename "determine" to "find" * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Updating ES archive * Renaming * Use destructuring * Moving start of script to own line to increase readability * Using destructuring * [Beats Management] APIs: Remove tag(s) from beat(s) (#19440) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Renaming * Use destructuring * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Implementing `POST /api/beats/agents_tags/removals` API * Updating ES archive * Use destructuring * Moving start of script to own line to increase readability * Nothing to remove if there are no existing tags! * Updating tests to match changes in bulk update painless script * Use destructuring * Ported over base types and arch structure * move management of installIndexTemplate into the framework adapter * ts-lint fix * tslint fixes * more ts tweaks * fix paths * added several working endpoints * add more routes and bug fixes * fix linting * fix type remove CRUFT * remove more cruft * remove more CRUFT * added comments, change plurality * add tsconfig file * add extends path * fixed typo * serveral PR review fixes * fixed lodash type version * “fix” types by applying a lot of any * add details page, re-configure routes * move tag crud to new route stuff * update tag create/edit component api * tags creation now working * bunch of stuff I should have split up better… * fixed perf bug, selected items that are removed are no longer phantom selected * fix rendering of assignments * remove assign to beats, the UX was too poor * Beats/config view (#22177) * [Beats Management] Move to Ingest UI arch and initial TS effort (#20039) * [Beats Management] Initial scaffolding for plugin (#18977) * Initial scaffolding for Beats plugin * Removing bits not (yet) necessary in initial scaffolding * [Beats Management] Install Beats index template on plugin init (#19072) * Install Beats index template on plugin init * Adding missing files * [Beats Management] APIs: Create enrollment tokens (#19018) * WIP checkin * Register API routes * Fixing typo in index name * Adding TODOs * Removing commented out license checking code that isn't yet implemented * Remove unnecessary async/await * Don't return until indices have been refreshed * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Adding TODO * Fixing variable name * Using a single index * Adding expiration date field * Adding test for expiration date field * Ignore non-existent index * Fixing logic in test * Creating constant for default enrollment tokens TTL value * Updating test * Fixing name of test file (#19100) * [Beats Management] APIs: Enroll beat (#19056) * WIP checkin * Add API integration test * Converting to Jest test * Create API for enrolling a beat * Handle invalid or expired enrollment tokens * Use create instead of index to prevent same beat from being enrolled twice * Adding unit test for duplicate beat enrollment * Do not persist enrollment token with beat once token has been checked and used * Fix datatype of host_ip field * Make Kibana API guess host IP instead of requiring it in payload * Fixing error introduced in rebase conflict resolution * [Beats Management] APIs: List beats (#19086) * WIP checkin * Add API integration test * Converting to Jest test * WIP checkin * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Updating mapping * [Beats Management] APIs: Verify beats (#19103) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Fleshing out remaining tests * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Moving TODO comment to right file * Rename determine* helper functions to find* * Fixing assertions (#19194) * [Beats Management] APIs: Update beat (#19148) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Add API tests * Update template to allow version field for beat * Implement PUT /api/beats/agent/{beat ID} API * Make enroll beat code consistent with update beat code * Fixing minor typo in TODO comment * Allow version in request payload * Make sure beat is not updated in ES in error scenarios * Adding version as required field in Enroll Beat API payload * Using destructuring * Fixing rename that was accidentally reversed in conflict fixing * [Beats Management] APIs: take auth tokens via headers (#19210) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Make "Enroll Beat" API take enrollment token via header instead of request body * Make "Update Beat" API take access token via header instead of request body * [Beats Management] APIs: Create configuration block (#19270) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Implementing POST /api/beats/configuration_blocks API * Removing unnecessary escaping * Fleshing out types + adding validation for them * Making output singular (was outputs) * Removing metricbeat.inputs * Revert implementation of `POST /api/beats/configuration_blocks` API (#19340) This API allowed the user to operate at a level of abstraction that is unnecessarily and dangerously too low. A better API would be at one level higher, where users can create, update, and delete tags (where a tag can contain multiple configuration blocks). * [Beats Management] APIs: Create or update tag (#19342) * Updating mappings * Implementing PUT /api/beats/tag/{tag} API * [Beats Management] Prevent timing attacks when checking auth tokens (#19363) * Using crypto.timingSafeEqual() for comparing auth tokens * Prevent subtler timing attack in token comparison function * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * [Beats Management] APIs: Assign tag(s) to beat(s) (#19431) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Rename "determine" to "find" * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Updating ES archive * Renaming * Use destructuring * Moving start of script to own line to increase readability * Using destructuring * [Beats Management] APIs: Remove tag(s) from beat(s) (#19440) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Renaming * Use destructuring * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Implementing `POST /api/beats/agents_tags/removals` API * Updating ES archive * Use destructuring * Moving start of script to own line to increase readability * Nothing to remove if there are no existing tags! * Updating tests to match changes in bulk update painless script * Use destructuring * Ported over base types and arch structure * move management of installIndexTemplate into the framework adapter * ts-lint fix * tslint fixes * more ts tweaks * fix paths * added several working endpoints * add more routes and bug fixes * fix linting * fix type remove CRUFT * remove more cruft * remove more CRUFT * added comments, change plurality * add tsconfig file * add extends path * fixed typo * serveral PR review fixes * fixed lodash type version * “fix” types by applying a lot of any * add details page, re-configure routes * move tag crud to new route stuff * update tag create/edit component api * tags creation now working * bunch of stuff I should have split up better… * fixed perf bug, selected items that are removed are no longer phantom selected * fix rendering of assignments * remove assign to beats, the UX was too poor * [Beats Management] Move to Ingest UI arch and initial TS effort (#20039) * [Beats Management] Initial scaffolding for plugin (#18977) * Initial scaffolding for Beats plugin * Removing bits not (yet) necessary in initial scaffolding * [Beats Management] Install Beats index template on plugin init (#19072) * Install Beats index template on plugin init * Adding missing files * [Beats Management] APIs: Create enrollment tokens (#19018) * WIP checkin * Register API routes * Fixing typo in index name * Adding TODOs * Removing commented out license checking code that isn't yet implemented * Remove unnecessary async/await * Don't return until indices have been refreshed * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Adding TODO * Fixing variable name * Using a single index * Adding expiration date field * Adding test for expiration date field * Ignore non-existent index * Fixing logic in test * Creating constant for default enrollment tokens TTL value * Updating test * Fixing name of test file (#19100) * [Beats Management] APIs: Enroll beat (#19056) * WIP checkin * Add API integration test * Converting to Jest test * Create API for enrolling a beat * Handle invalid or expired enrollment tokens * Use create instead of index to prevent same beat from being enrolled twice * Adding unit test for duplicate beat enrollment * Do not persist enrollment token with beat once token has been checked and used * Fix datatype of host_ip field * Make Kibana API guess host IP instead of requiring it in payload * Fixing error introduced in rebase conflict resolution * [Beats Management] APIs: List beats (#19086) * WIP checkin * Add API integration test * Converting to Jest test * WIP checkin * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Updating mapping * [Beats Management] APIs: Verify beats (#19103) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Fleshing out remaining tests * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Moving TODO comment to right file * Rename determine* helper functions to find* * Fixing assertions (#19194) * [Beats Management] APIs: Update beat (#19148) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Add API tests * Update template to allow version field for beat * Implement PUT /api/beats/agent/{beat ID} API * Make enroll beat code consistent with update beat code * Fixing minor typo in TODO comment * Allow version in request payload * Make sure beat is not updated in ES in error scenarios * Adding version as required field in Enroll Beat API payload * Using destructuring * Fixing rename that was accidentally reversed in conflict fixing * [Beats Management] APIs: take auth tokens via headers (#19210) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Make "Enroll Beat" API take enrollment token via header instead of request body * Make "Update Beat" API take access token via header instead of request body * [Beats Management] APIs: Create configuration block (#19270) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Implementing POST /api/beats/configuration_blocks API * Removing unnecessary escaping * Fleshing out types + adding validation for them * Making output singular (was outputs) * Removing metricbeat.inputs * Revert implementation of `POST /api/beats/configuration_blocks` API (#19340) This API allowed the user to operate at a level of abstraction that is unnecessarily and dangerously too low. A better API would be at one level higher, where users can create, update, and delete tags (where a tag can contain multiple configuration blocks). * [Beats Management] APIs: Create or update tag (#19342) * Updating mappings * Implementing PUT /api/beats/tag/{tag} API * [Beats Management] Prevent timing attacks when checking auth tokens (#19363) * Using crypto.timingSafeEqual() for comparing auth tokens * Prevent subtler timing attack in token comparison function * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * [Beats Management] APIs: Assign tag(s) to beat(s) (#19431) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Rename "determine" to "find" * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Updating ES archive * Renaming * Use destructuring * Moving start of script to own line to increase readability * Using destructuring * [Beats Management] APIs: Remove tag(s) from beat(s) (#19440) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Renaming * Use destructuring * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Implementing `POST /api/beats/agents_tags/removals` API * Updating ES archive * Use destructuring * Moving start of script to own line to increase readability * Nothing to remove if there are no existing tags! * Updating tests to match changes in bulk update painless script * Use destructuring * Ported over base types and arch structure * move management of installIndexTemplate into the framework adapter * ts-lint fix * tslint fixes * more ts tweaks * fix paths * added several working endpoints * add more routes and bug fixes * fix linting * fix type remove CRUFT * remove more cruft * remove more CRUFT * added comments, change plurality * add tsconfig file * add extends path * fixed typo * serveral PR review fixes * fixed lodash type version * “fix” types by applying a lot of any * Beats/update (#21702) * [ML] Fixing issue with historical job audit messages (#21718) * Add proper aria-label for close inspector (#21719) * [Beats Management] Initial scaffolding for plugin (#18977) * Initial scaffolding for Beats plugin * Removing bits not (yet) necessary in initial scaffolding * [Beats Management] Install Beats index template on plugin init (#19072) * Install Beats index template on plugin init * Adding missing files * [Beats Management] APIs: Create enrollment tokens (#19018) * WIP checkin * Register API routes * Fixing typo in index name * Adding TODOs * Removing commented out license checking code that isn't yet implemented * Remove unnecessary async/await * Don't return until indices have been refreshed * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Adding TODO * Fixing variable name * Using a single index * Adding expiration date field * Adding test for expiration date field * Ignore non-existent index * Fixing logic in test * Creating constant for default enrollment tokens TTL value * Updating test * Fixing name of test file (#19100) * [Beats Management] APIs: Enroll beat (#19056) * WIP checkin * Add API integration test * Converting to Jest test * Create API for enrolling a beat * Handle invalid or expired enrollment tokens * Use create instead of index to prevent same beat from being enrolled twice * Adding unit test for duplicate beat enrollment * Do not persist enrollment token with beat once token has been checked and used * Fix datatype of host_ip field * Make Kibana API guess host IP instead of requiring it in payload * Fixing error introduced in rebase conflict resolution * [Beats Management] APIs: List beats (#19086) * WIP checkin * Add API integration test * Converting to Jest test * WIP checkin * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Updating mapping * [Beats Management] APIs: Verify beats (#19103) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Fleshing out remaining tests * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Moving TODO comment to right file * Rename determine* helper functions to find* * Fixing assertions (#19194) * [Beats Management] APIs: Update beat (#19148) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Add API tests * Update template to allow version field for beat * Implement PUT /api/beats/agent/{beat ID} API * Make enroll beat code consistent with update beat code * Fixing minor typo in TODO comment * Allow version in request payload * Make sure beat is not updated in ES in error scenarios * Adding version as required field in Enroll Beat API payload * Using destructuring * Fixing rename that was accidentally reversed in conflict fixing * [Beats Management] APIs: take auth tokens via headers (#19210) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Make "Enroll Beat" API take enrollment token via header instead of request body * Make "Update Beat" API take access token via header instead of request body * [Beats Management] APIs: Create configuration block (#19270) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Implementing POST /api/beats/configuration_blocks API * Removing unnecessary escaping * Fleshing out types + adding validation for them * Making output singular (was outputs) * Removing metricbeat.inputs * Revert implementation of `POST /api/beats/configuration_blocks` API (#19340) This API allowed the user to operate at a level of abstraction that is unnecessarily and dangerously too low. A better API would be at one level higher, where users can create, update, and delete tags (where a tag can contain multiple configuration blocks). * [Beats Management] APIs: Create or update tag (#19342) * Updating mappings * Implementing PUT /api/beats/tag/{tag} API * [Beats Management] Prevent timing attacks when checking auth tokens (#19363) * Using crypto.timingSafeEqual() for comparing auth tokens * Prevent subtler timing attack in token comparison function * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * [Beats Management] APIs: Assign tag(s) to beat(s) (#19431) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Rename "determine" to "find" * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Updating ES archive * Renaming * Use destructuring * Moving start of script to own line to increase readability * Using destructuring * [Beats Management] APIs: Remove tag(s) from beat(s) (#19440) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Renaming * Use destructuring * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Implementing `POST /api/beats/agents_tags/removals` API * Updating ES archive * Use destructuring * Moving start of script to own line to increase readability * Nothing to remove if there are no existing tags! * Updating tests to match changes in bulk update painless script * Use destructuring * [Beats Management] Move to Ingest UI arch and initial TS effort (#20039) * [Beats Management] Initial scaffolding for plugin (#18977) * Initial scaffolding for Beats plugin * Removing bits not (yet) necessary in initial scaffolding * [Beats Management] Install Beats index template on plugin init (#19072) * Install Beats index template on plugin init * Adding missing files * [Beats Management] APIs: Create enrollment tokens (#19018) * WIP checkin * Register API routes * Fixing typo in index name * Adding TODOs * Removing commented out license checking code that isn't yet implemented * Remove unnecessary async/await * Don't return until indices have been refreshed * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Adding TODO * Fixing variable name * Using a single index * Adding expiration date field * Adding test for expiration date field * Ignore non-existent index * Fixing logic in test * Creating constant for default enrollment tokens TTL value * Updating test * Fixing name of test file (#19100) * [Beats Management] APIs: Enroll beat (#19056) * WIP checkin * Add API integration test * Converting to Jest test * Create API for enrolling a beat * Handle invalid or expired enrollment tokens * Use create instead of index to prevent same beat from being enrolled twice * Adding unit test for duplicate beat enrollment * Do not persist enrollment token with beat once token has been checked and used * Fix datatype of host_ip field * Make Kibana API guess host IP instead of requiring it in payload * Fixing error introduced in rebase conflict resolution * [Beats Management] APIs: List beats (#19086) * WIP checkin * Add API integration test * Converting to Jest test * WIP checkin * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Updating mapping * [Beats Management] APIs: Verify beats (#19103) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Fleshing out remaining tests * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Moving TODO comment to right file * Rename determine* helper functions to find* * Fixing assertions (#19194) * [Beats Management] APIs: Update beat (#19148) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Add API tests * Update template to allow version field for beat * Implement PUT /api/beats/agent/{beat ID} API * Make enroll beat code consistent with update beat code * Fixing minor typo in TODO comment * Allow version in request payload * Make sure beat is not updated in ES in error scenarios * Adding version as required field in Enroll Beat API payload * Using destructuring * Fixing rename that was accidentally reversed in conflict fixing * [Beats Management] APIs: take auth tokens via headers (#19210) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Make "Enroll Beat" API take enrollment token via header instead of request body * Make "Update Beat" API take access token via header instead of request body * [Beats Management] APIs: Create configuration block (#19270) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Implementing POST /api/beats/configuration_blocks API * Removing unnecessary escaping * Fleshing out types + adding validation for them * Making output singular (was outputs) * Removing metricbeat.inputs * Revert implementation of `POST /api/beats/configuration_blocks` API (#19340) This API allowed the user to operate at a level of abstraction that is unnecessarily and dangerously too low. A better API would be at one level higher, where users can create, update, and delete tags (where a tag can contain multiple configuration blocks). * [Beats Management] APIs: Create or update tag (#19342) * Updating mappings * Implementing PUT /api/beats/tag/{tag} API * [Beats Management] Prevent timing attacks when checking auth tokens (#19363) * Using crypto.timingSafeEqual() for comparing auth tokens * Prevent subtler timing attack in token comparison function * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * [Beats Management] APIs: Assign tag(s) to beat(s) (#19431) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Rename "determine" to "find" * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Updating ES archive * Renaming * Use destructuring * Moving start of script to own line to increase readability * Using destructuring * [Beats Management] APIs: Remove tag(s) from beat(s) (#19440) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Renaming * Use destructuring * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Implementing `POST /api/beats/agents_tags/removals` API * Updating ES archive * Use destructuring * Moving start of script to own line to increase readability * Nothing to remove if there are no existing tags! * Updating tests to match changes in bulk update painless script * Use destructuring * Ported over base types and arch structure * move management of installIndexTemplate into the framework adapter * ts-lint fix * tslint fixes * more ts tweaks * fix paths * added several working endpoints * add more routes and bug fixes * fix linting * fix type remove CRUFT * remove more cruft * remove more CRUFT * added comments, change plurality * add tsconfig file * add extends path * fixed typo * serveral PR review fixes * fixed lodash type version * “fix” types by applying a lot of any * [Beats Management] Move tokens to use JWT, add more complete test suite (#20317) * inital effort to move to JWT and added jest based tests on libs * assign beats tests all passing * token tests now pass * add more tests * all tests now green * fix broken test, this is beats CM not logstash 😊 * added readme * move enrollment token back to a hash * remove un-needed comment * alias lodash get to avoid confusion * isolated hash creation * [Beats Management] add more tests, update types, break out ES into it's own adapter (#20566) * inital effort to move to JWT and added jest based tests on libs * assign beats tests all passing * token tests now pass * add more tests * all tests now green * move enrollment token back to a hash * remove un-needed comment * alias lodash get to avoid confusion * isolated hash creation * Add initial efforts for backend framework adapter testing * move ES code to a DatabaseAdapter from BackendAdapter and add a TON of types for ES * re-typed * renamed types to match pattern * aditional renames * adapter tests should always just use adapterSetup(); * database now uses InternalRequest * corrected spelling of framework * fix typings * remove CRUFT * RequestOrInternal * Dont pass around request objects everywhere, just pass the user. Also, removed hapi types as they were not compatible * fix tests, add test, removed extra comment * fix auth * updated lock file * [Beats Management] add get beat endpoint (#20603) * [Beats Management] Move tokens to use JWT, add more complete test suite (#20317) * inital effort to move to JWT and added jest based tests on libs * assign beats tests all passing * token tests now pass * add more tests * all tests now green * fix broken test, this is beats CM not logstash 😊 * added readme * move enrollment token back to a hash * remove un-needed comment * alias lodash get to avoid confusion * isolated hash creation * inital effort to move to JWT and added jest based tests on libs * assign beats tests all passing * token tests now pass * add more tests * all tests now green * move enrollment token back to a hash * remove un-needed comment * alias lodash get to avoid confusion * isolated hash creation * Add initial efforts for backend framework adapter testing * move ES code to a DatabaseAdapter from BackendAdapter and add a TON of types for ES * re-typed * renamed types to match pattern * aditional renames * adapter tests should always just use adapterSetup(); * database now uses InternalRequest * corrected spelling of framework * fix typings * remove CRUFT * RequestOrInternal * Dont pass around request objects everywhere, just pass the user. Also, removed hapi types as they were not compatible * fix tests, add test, removed extra comment * Moved critical path code from route, to more easeley tested domain * fix auth * remove beat verification, added get beat endpoint to return configs * fix type * update createGetBeatConfigurationRoute URL * rename method * update to match PR #20566 * updated lock file * fix bad merge * update TSLinting * fix bad rebase * [Beats Management] [WIP] Create public resources for management plugin (#20864) * Init plugin public resources. * rename beats to beats_management * rendering react now * Beats/initial ui (#20994) * initial layout and main nav * modal UI and pattern for UI established * fix path * wire up in-memroy adapters * tweak adapters * add getAll method to tags adapter (#21287) * Beats/real adapters (#21481) * add initial real adapters, and nulled data where we need endpoints * UI adapters and needed endpoints added (though not tested) * prep for route tests and some cleanup * move files * [Beats Management] Add BeatsTable/Bulk Action Search Component (#21182) * Add BeatsTable and control bar components. * Clean yarn.lock. * Move raw numbers/strings to constants. Remove obsolete state/props. * Update/add tests. * Change prop name from "items" to "beats". * Rename some variables. * Move search bar filter definitions to table render. * Update table to support assignment options. * Update action control position. * Refactor split render function into custom components. * Beats/basic use cases (#21660) * tweak adapter responses / types. re-add enroll ui * routes enabled, enroll now pings the server * full enrollment path now working * improved pinging for beat enrollment * fix location of history call * reload beats list on beat enrollment completion * add update on client side, expand update on server to allow for partial data, and user auth * remove double beat lookup * fix tests * only return active beats * disenroll now working * fig getAll query * re-enrolling a beat will now work * fix types * fix types * update deps * update kibana API for version * progress on config forms * config view inital input types working * ts fixes * fix more ts * code now errors on invalid yaml * remove un-needed include * fix bad rebase * saving config blocks as yaml to db is now working * propperly formatted YAML * loading tags back on edit screen in-progress * fix types * vis name validation for tag * update EUI style * tweak design * fixed tag assignments (still has a ui glitch) * fix form validation on select * fix deps * update deps * attached beats now works in the edit tag screen, edit now disables changing the tag id * better un-parsing of yaml, some elements now rendering to edit config blocks * delete config block now works * fix ability to edit config * fix deps * fix another rebase issue * tweaks and fixes * fix several bugs * Beats/security (#22500) * client side security working * check license on route * forgot a file * [Beats CM] Add beats details pages (#22455) * Move edits from previous details branch. * Add tag view to beat details. * Added notifications for add/remove tag from beat. * Fix dependencies upgrade/downgrade add/removes. * Create new page files for each sub-section of details view. * Move page functionality from dedicated components to pages. * [Beats CM] move to json for configs (#22693) * move to json for configs, fix some tests * tweaks * add fixes (#22711) * add fixes * return only one config * much improved validation for hosts, no longer require not required fields, no longer have JS in the config form config * fix condition argument * [Beats CM] Improve UX for assignment of tag to list of beats (#22687) * Improve UX for assignment of tag to list of beats. * Revert a change. * [Beats CM] Sort beat list tags (#22729) * Add logic to sort tags by ID when rendering in Beats List. * Prefer lodash sortBy over inline sort implementation. * [Beats CM] Remove key warnings from beat list components (#22772) * Add logic to sort tags by ID when rendering in Beats List. * Remove key warnings from beats list and associated components. * Prefer lodash sortBy over inline sort implementation. * [Beats CM] Add check for BeatsPage component to avoid setState when unmounted (#22836) * Add check if component is unmounted when loading Beats List page. * Move call to loadBeats() to componentDidMount lifecycle function. * Update field name in table type config. (#23228) * Utilize TagBadge functional component to standardize display of tag names. (#23253) * [Beats CM] Add beat name to update endpoint (#23291) * Update beat index template and update endpoints to expect name type. Add test file for update. * Update enroll script and endpoint to create a 'name' field for beats. * Add name field to CMBeat domain type. * Update functional tests to include name field. * Fix broken tag assignment functional test. * Edit beats list table config to display most recently-updated tag time. (#23337) * Update beat detail view info. (#23369) * Update beat detail view info. * Add period to end of update field. * [Beat CM] Show only tags associated with selected beat (#23398) * Reenable output config. * Make beat detail tag page only show tags associated with that tag. * Display beat name instead of ID on details screen. (#23410) * [Beat CM] Display config name instead of beat type in beat detail view (#23411) * Update config table in beat detail view to show config type instead of beat type. * Modify Beat Detail view to display human-friendly names for config block types. * [Beats CM] Add password input and re-enable output config schema (#23417) * wip defining controls * Complete adding formsy password field. * Re-enable output config schema definition. * Simplify import/export for formsy components. * Add full list of current Filebeat & Metricbeat module (#23258) This change also renames `Metricbeat input` to `Metricbeat module` * Beats/ui tweaks (#23655) * add initial breadcrumbs * prevent errors * New routing in place for supporting URLState needed for Kuery bar * beats table kuery bar “working” (but not submitting) * pulling activity view from current phase’s spec * setup link now at correct URL * kuery bar * autocomplete bar now working * Add walkthrough (#23785) * add test system, framework, and example tests * adding walkthrough * clicking walkthrough step should take you to that step * try/catch beats loading to prevent unhandeled error when there are no beats * fix walkthrough not redirecting to main beats page * update yarn lock files * fix prettier * fix x-pack package.json formatting * update kbn server creation * remove types from old table implementation * move to Boom.boomify * fix TS errors * fix type * rollback dep version * fix more conflicting dep issues * deps * force correct node type resolution * cleanup and skip tests (kbn test util is broken) * added formsy and basePath * update yarn lock file * add beats management icon * rename beats management main section * Tags now called Configuration Tags in the tabs * tokens must expire at most after 2 weeks * fix bad auto-import * beat details now shows the extra data needed * tweak package.json deps for continuity * update yarn lock for new yarn version * [Beats CM] Re-arch table assignment control definitions (#23663) * Patch changes to latest feature branch. * Update table controls to offer standard search bar if kuery bar props not provided. * Tweaked enrollment UI to inlcude beat type selection * Reduce badge list gutter size, change logic for tag assignment to unassign all if some selected. (#24091) * dont use genaric search bar * removed unused import * fix es-lint error * fix outputs * fix types from infra merge * remove dupe dep * update lock file * push another lock file * Add unfilteredBeats field to beat list state to prevent inappropriate redirect. (#24146) * fix yarn lock because yarn is dumb * Fix broken tests
2018-10-18 04:06:43 +02:00
"resolutions": {
"**/@types/node": "10.12.27",
"**/typescript": "^3.3.3333"
Beats Management (#23819) * [Beats Management] Initial scaffolding for plugin (#18977) * Initial scaffolding for Beats plugin * Removing bits not (yet) necessary in initial scaffolding * [Beats Management] Install Beats index template on plugin init (#19072) * Install Beats index template on plugin init * Adding missing files * [Beats Management] APIs: Create enrollment tokens (#19018) * WIP checkin * Register API routes * Fixing typo in index name * Adding TODOs * Removing commented out license checking code that isn't yet implemented * Remove unnecessary async/await * Don't return until indices have been refreshed * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Adding TODO * Fixing variable name * Using a single index * Adding expiration date field * Adding test for expiration date field * Ignore non-existent index * Fixing logic in test * Creating constant for default enrollment tokens TTL value * Updating test * Fixing name of test file (#19100) * [Beats Management] APIs: Enroll beat (#19056) * WIP checkin * Add API integration test * Converting to Jest test * Create API for enrolling a beat * Handle invalid or expired enrollment tokens * Use create instead of index to prevent same beat from being enrolled twice * Adding unit test for duplicate beat enrollment * Do not persist enrollment token with beat once token has been checked and used * Fix datatype of host_ip field * Make Kibana API guess host IP instead of requiring it in payload * Fixing error introduced in rebase conflict resolution * [Beats Management] APIs: List beats (#19086) * WIP checkin * Add API integration test * Converting to Jest test * WIP checkin * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Updating mapping * [Beats Management] APIs: Verify beats (#19103) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Fleshing out remaining tests * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Moving TODO comment to right file * Rename determine* helper functions to find* * Fixing assertions (#19194) * [Beats Management] APIs: Update beat (#19148) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Add API tests * Update template to allow version field for beat * Implement PUT /api/beats/agent/{beat ID} API * Make enroll beat code consistent with update beat code * Fixing minor typo in TODO comment * Allow version in request payload * Make sure beat is not updated in ES in error scenarios * Adding version as required field in Enroll Beat API payload * Using destructuring * Fixing rename that was accidentally reversed in conflict fixing * [Beats Management] APIs: take auth tokens via headers (#19210) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Make "Enroll Beat" API take enrollment token via header instead of request body * Make "Update Beat" API take access token via header instead of request body * [Beats Management] APIs: Create configuration block (#19270) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Implementing POST /api/beats/configuration_blocks API * Removing unnecessary escaping * Fleshing out types + adding validation for them * Making output singular (was outputs) * Removing metricbeat.inputs * Revert implementation of `POST /api/beats/configuration_blocks` API (#19340) This API allowed the user to operate at a level of abstraction that is unnecessarily and dangerously too low. A better API would be at one level higher, where users can create, update, and delete tags (where a tag can contain multiple configuration blocks). * [Beats Management] APIs: Create or update tag (#19342) * Updating mappings * Implementing PUT /api/beats/tag/{tag} API * [Beats Management] Prevent timing attacks when checking auth tokens (#19363) * Using crypto.timingSafeEqual() for comparing auth tokens * Prevent subtler timing attack in token comparison function * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * [Beats Management] APIs: Assign tag(s) to beat(s) (#19431) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Rename "determine" to "find" * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Updating ES archive * Renaming * Use destructuring * Moving start of script to own line to increase readability * Using destructuring * [Beats Management] APIs: Remove tag(s) from beat(s) (#19440) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Renaming * Use destructuring * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Implementing `POST /api/beats/agents_tags/removals` API * Updating ES archive * Use destructuring * Moving start of script to own line to increase readability * Nothing to remove if there are no existing tags! * Updating tests to match changes in bulk update painless script * Use destructuring * [Beats Management] Move to Ingest UI arch and initial TS effort (#20039) * [Beats Management] Initial scaffolding for plugin (#18977) * Initial scaffolding for Beats plugin * Removing bits not (yet) necessary in initial scaffolding * [Beats Management] Install Beats index template on plugin init (#19072) * Install Beats index template on plugin init * Adding missing files * [Beats Management] APIs: Create enrollment tokens (#19018) * WIP checkin * Register API routes * Fixing typo in index name * Adding TODOs * Removing commented out license checking code that isn't yet implemented * Remove unnecessary async/await * Don't return until indices have been refreshed * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Adding TODO * Fixing variable name * Using a single index * Adding expiration date field * Adding test for expiration date field * Ignore non-existent index * Fixing logic in test * Creating constant for default enrollment tokens TTL value * Updating test * Fixing name of test file (#19100) * [Beats Management] APIs: Enroll beat (#19056) * WIP checkin * Add API integration test * Converting to Jest test * Create API for enrolling a beat * Handle invalid or expired enrollment tokens * Use create instead of index to prevent same beat from being enrolled twice * Adding unit test for duplicate beat enrollment * Do not persist enrollment token with beat once token has been checked and used * Fix datatype of host_ip field * Make Kibana API guess host IP instead of requiring it in payload * Fixing error introduced in rebase conflict resolution * [Beats Management] APIs: List beats (#19086) * WIP checkin * Add API integration test * Converting to Jest test * WIP checkin * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Updating mapping * [Beats Management] APIs: Verify beats (#19103) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Fleshing out remaining tests * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Moving TODO comment to right file * Rename determine* helper functions to find* * Fixing assertions (#19194) * [Beats Management] APIs: Update beat (#19148) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Add API tests * Update template to allow version field for beat * Implement PUT /api/beats/agent/{beat ID} API * Make enroll beat code consistent with update beat code * Fixing minor typo in TODO comment * Allow version in request payload * Make sure beat is not updated in ES in error scenarios * Adding version as required field in Enroll Beat API payload * Using destructuring * Fixing rename that was accidentally reversed in conflict fixing * [Beats Management] APIs: take auth tokens via headers (#19210) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Make "Enroll Beat" API take enrollment token via header instead of request body * Make "Update Beat" API take access token via header instead of request body * [Beats Management] APIs: Create configuration block (#19270) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Implementing POST /api/beats/configuration_blocks API * Removing unnecessary escaping * Fleshing out types + adding validation for them * Making output singular (was outputs) * Removing metricbeat.inputs * Revert implementation of `POST /api/beats/configuration_blocks` API (#19340) This API allowed the user to operate at a level of abstraction that is unnecessarily and dangerously too low. A better API would be at one level higher, where users can create, update, and delete tags (where a tag can contain multiple configuration blocks). * [Beats Management] APIs: Create or update tag (#19342) * Updating mappings * Implementing PUT /api/beats/tag/{tag} API * [Beats Management] Prevent timing attacks when checking auth tokens (#19363) * Using crypto.timingSafeEqual() for comparing auth tokens * Prevent subtler timing attack in token comparison function * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * [Beats Management] APIs: Assign tag(s) to beat(s) (#19431) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Rename "determine" to "find" * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Updating ES archive * Renaming * Use destructuring * Moving start of script to own line to increase readability * Using destructuring * [Beats Management] APIs: Remove tag(s) from beat(s) (#19440) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Renaming * Use destructuring * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Implementing `POST /api/beats/agents_tags/removals` API * Updating ES archive * Use destructuring * Moving start of script to own line to increase readability * Nothing to remove if there are no existing tags! * Updating tests to match changes in bulk update painless script * Use destructuring * Ported over base types and arch structure * move management of installIndexTemplate into the framework adapter * ts-lint fix * tslint fixes * more ts tweaks * fix paths * added several working endpoints * add more routes and bug fixes * fix linting * fix type remove CRUFT * remove more cruft * remove more CRUFT * added comments, change plurality * add tsconfig file * add extends path * fixed typo * serveral PR review fixes * fixed lodash type version * “fix” types by applying a lot of any * [Beats Management] Move tokens to use JWT, add more complete test suite (#20317) * inital effort to move to JWT and added jest based tests on libs * assign beats tests all passing * token tests now pass * add more tests * all tests now green * fix broken test, this is beats CM not logstash 😊 * added readme * move enrollment token back to a hash * remove un-needed comment * alias lodash get to avoid confusion * isolated hash creation * [Beats Management] add more tests, update types, break out ES into it's own adapter (#20566) * inital effort to move to JWT and added jest based tests on libs * assign beats tests all passing * token tests now pass * add more tests * all tests now green * move enrollment token back to a hash * remove un-needed comment * alias lodash get to avoid confusion * isolated hash creation * Add initial efforts for backend framework adapter testing * move ES code to a DatabaseAdapter from BackendAdapter and add a TON of types for ES * re-typed * renamed types to match pattern * aditional renames * adapter tests should always just use adapterSetup(); * database now uses InternalRequest * corrected spelling of framework * fix typings * remove CRUFT * RequestOrInternal * Dont pass around request objects everywhere, just pass the user. Also, removed hapi types as they were not compatible * fix tests, add test, removed extra comment * fix auth * updated lock file * [Beats Management] add get beat endpoint (#20603) * [Beats Management] Move tokens to use JWT, add more complete test suite (#20317) * inital effort to move to JWT and added jest based tests on libs * assign beats tests all passing * token tests now pass * add more tests * all tests now green * fix broken test, this is beats CM not logstash 😊 * added readme * move enrollment token back to a hash * remove un-needed comment * alias lodash get to avoid confusion * isolated hash creation * inital effort to move to JWT and added jest based tests on libs * assign beats tests all passing * token tests now pass * add more tests * all tests now green * move enrollment token back to a hash * remove un-needed comment * alias lodash get to avoid confusion * isolated hash creation * Add initial efforts for backend framework adapter testing * move ES code to a DatabaseAdapter from BackendAdapter and add a TON of types for ES * re-typed * renamed types to match pattern * aditional renames * adapter tests should always just use adapterSetup(); * database now uses InternalRequest * corrected spelling of framework * fix typings * remove CRUFT * RequestOrInternal * Dont pass around request objects everywhere, just pass the user. Also, removed hapi types as they were not compatible * fix tests, add test, removed extra comment * Moved critical path code from route, to more easeley tested domain * fix auth * remove beat verification, added get beat endpoint to return configs * fix type * update createGetBeatConfigurationRoute URL * rename method * update to match PR #20566 * updated lock file * fix bad merge * update TSLinting * fix bad rebase * [Beats Management] [WIP] Create public resources for management plugin (#20864) * Init plugin public resources. * rename beats to beats_management * rendering react now * Beats/initial ui (#20994) * initial layout and main nav * modal UI and pattern for UI established * fix path * wire up in-memroy adapters * tweak adapters * add getAll method to tags adapter (#21287) * Beats/real adapters (#21481) * add initial real adapters, and nulled data where we need endpoints * UI adapters and needed endpoints added (though not tested) * prep for route tests and some cleanup * move files * [Beats Management] Add BeatsTable/Bulk Action Search Component (#21182) * Add BeatsTable and control bar components. * Clean yarn.lock. * Move raw numbers/strings to constants. Remove obsolete state/props. * Update/add tests. * Change prop name from "items" to "beats". * Rename some variables. * Move search bar filter definitions to table render. * Update table to support assignment options. * Update action control position. * Refactor split render function into custom components. * Beats/basic use cases (#21660) * tweak adapter responses / types. re-add enroll ui * routes enabled, enroll now pings the server * full enrollment path now working * improved pinging for beat enrollment * fix location of history call * reload beats list on beat enrollment completion * [Beats Management] Add Tags List (#21274) * Add BeatsTable and control bar components. * Clean yarn.lock. * Move raw numbers/strings to constants. Remove obsolete state/props. * Update/add tests. * Change prop name from "items" to "beats". * Add TagsTable component and associated search/action bar. * Rename some variables. * Add constant after forgetting to save file. * Fix design mistake in table component. * Disable delete button when no tags selected. * Export tags table from index.ts. * Move search bar filter definitions to table render. * Update table to support assignment options. * Update action control position. * Refactor split render function into custom components. * Add assignment options to Tags List. * Remove obsolete code. * Move tooltips for tag icons to top position. * Beats/update (#21702) * [ML] Fixing issue with historical job audit messages (#21718) * Add proper aria-label for close inspector (#21719) * [Beats Management] Initial scaffolding for plugin (#18977) * Initial scaffolding for Beats plugin * Removing bits not (yet) necessary in initial scaffolding * [Beats Management] Install Beats index template on plugin init (#19072) * Install Beats index template on plugin init * Adding missing files * [Beats Management] APIs: Create enrollment tokens (#19018) * WIP checkin * Register API routes * Fixing typo in index name * Adding TODOs * Removing commented out license checking code that isn't yet implemented * Remove unnecessary async/await * Don't return until indices have been refreshed * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Adding TODO * Fixing variable name * Using a single index * Adding expiration date field * Adding test for expiration date field * Ignore non-existent index * Fixing logic in test * Creating constant for default enrollment tokens TTL value * Updating test * Fixing name of test file (#19100) * [Beats Management] APIs: Enroll beat (#19056) * WIP checkin * Add API integration test * Converting to Jest test * Create API for enrolling a beat * Handle invalid or expired enrollment tokens * Use create instead of index to prevent same beat from being enrolled twice * Adding unit test for duplicate beat enrollment * Do not persist enrollment token with beat once token has been checked and used * Fix datatype of host_ip field * Make Kibana API guess host IP instead of requiring it in payload * Fixing error introduced in rebase conflict resolution * [Beats Management] APIs: List beats (#19086) * WIP checkin * Add API integration test * Converting to Jest test * WIP checkin * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Updating mapping * [Beats Management] APIs: Verify beats (#19103) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Fleshing out remaining tests * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Moving TODO comment to right file * Rename determine* helper functions to find* * Fixing assertions (#19194) * [Beats Management] APIs: Update beat (#19148) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Add API tests * Update template to allow version field for beat * Implement PUT /api/beats/agent/{beat ID} API * Make enroll beat code consistent with update beat code * Fixing minor typo in TODO comment * Allow version in request payload * Make sure beat is not updated in ES in error scenarios * Adding version as required field in Enroll Beat API payload * Using destructuring * Fixing rename that was accidentally reversed in conflict fixing * [Beats Management] APIs: take auth tokens via headers (#19210) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Make "Enroll Beat" API take enrollment token via header instead of request body * Make "Update Beat" API take access token via header instead of request body * [Beats Management] APIs: Create configuration block (#19270) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Implementing POST /api/beats/configuration_blocks API * Removing unnecessary escaping * Fleshing out types + adding validation for them * Making output singular (was outputs) * Removing metricbeat.inputs * Revert implementation of `POST /api/beats/configuration_blocks` API (#19340) This API allowed the user to operate at a level of abstraction that is unnecessarily and dangerously too low. A better API would be at one level higher, where users can create, update, and delete tags (where a tag can contain multiple configuration blocks). * [Beats Management] APIs: Create or update tag (#19342) * Updating mappings * Implementing PUT /api/beats/tag/{tag} API * [Beats Management] Prevent timing attacks when checking auth tokens (#19363) * Using crypto.timingSafeEqual() for comparing auth tokens * Prevent subtler timing attack in token comparison function * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * [Beats Management] APIs: Assign tag(s) to beat(s) (#19431) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Rename "determine" to "find" * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Updating ES archive * Renaming * Use destructuring * Moving start of script to own line to increase readability * Using destructuring * [Beats Management] APIs: Remove tag(s) from beat(s) (#19440) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Renaming * Use destructuring * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Implementing `POST /api/beats/agents_tags/removals` API * Updating ES archive * Use destructuring * Moving start of script to own line to increase readability * Nothing to remove if there are no existing tags! * Updating tests to match changes in bulk update painless script * Use destructuring * [Beats Management] Move to Ingest UI arch and initial TS effort (#20039) * [Beats Management] Initial scaffolding for plugin (#18977) * Initial scaffolding for Beats plugin * Removing bits not (yet) necessary in initial scaffolding * [Beats Management] Install Beats index template on plugin init (#19072) * Install Beats index template on plugin init * Adding missing files * [Beats Management] APIs: Create enrollment tokens (#19018) * WIP checkin * Register API routes * Fixing typo in index name * Adding TODOs * Removing commented out license checking code that isn't yet implemented * Remove unnecessary async/await * Don't return until indices have been refreshed * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Adding TODO * Fixing variable name * Using a single index * Adding expiration date field * Adding test for expiration date field * Ignore non-existent index * Fixing logic in test * Creating constant for default enrollment tokens TTL value * Updating test * Fixing name of test file (#19100) * [Beats Management] APIs: Enroll beat (#19056) * WIP checkin * Add API integration test * Converting to Jest test * Create API for enrolling a beat * Handle invalid or expired enrollment tokens * Use create instead of index to prevent same beat from being enrolled twice * Adding unit test for duplicate beat enrollment * Do not persist enrollment token with beat once token has been checked and used * Fix datatype of host_ip field * Make Kibana API guess host IP instead of requiring it in payload * Fixing error introduced in rebase conflict resolution * [Beats Management] APIs: List beats (#19086) * WIP checkin * Add API integration test * Converting to Jest test * WIP checkin * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Updating mapping * [Beats Management] APIs: Verify beats (#19103) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Fleshing out remaining tests * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Moving TODO comment to right file * Rename determine* helper functions to find* * Fixing assertions (#19194) * [Beats Management] APIs: Update beat (#19148) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Add API tests * Update template to allow version field for beat * Implement PUT /api/beats/agent/{beat ID} API * Make enroll beat code consistent with update beat code * Fixing minor typo in TODO comment * Allow version in request payload * Make sure beat is not updated in ES in error scenarios * Adding version as required field in Enroll Beat API payload * Using destructuring * Fixing rename that was accidentally reversed in conflict fixing * [Beats Management] APIs: take auth tokens via headers (#19210) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Make "Enroll Beat" API take enrollment token via header instead of request body * Make "Update Beat" API take access token via header instead of request body * [Beats Management] APIs: Create configuration block (#19270) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Implementing POST /api/beats/configuration_blocks API * Removing unnecessary escaping * Fleshing out types + adding validation for them * Making output singular (was outputs) * Removing metricbeat.inputs * Revert implementation of `POST /api/beats/configuration_blocks` API (#19340) This API allowed the user to operate at a level of abstraction that is unnecessarily and dangerously too low. A better API would be at one level higher, where users can create, update, and delete tags (where a tag can contain multiple configuration blocks). * [Beats Management] APIs: Create or update tag (#19342) * Updating mappings * Implementing PUT /api/beats/tag/{tag} API * [Beats Management] Prevent timing attacks when checking auth tokens (#19363) * Using crypto.timingSafeEqual() for comparing auth tokens * Prevent subtler timing attack in token comparison function * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * [Beats Management] APIs: Assign tag(s) to beat(s) (#19431) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Rename "determine" to "find" * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Updating ES archive * Renaming * Use destructuring * Moving start of script to own line to increase readability * Using destructuring * [Beats Management] APIs: Remove tag(s) from beat(s) (#19440) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Renaming * Use destructuring * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Implementing `POST /api/beats/agents_tags/removals` API * Updating ES archive * Use destructuring * Moving start of script to own line to increase readability * Nothing to remove if there are no existing tags! * Updating tests to match changes in bulk update painless script * Use destructuring * Ported over base types and arch structure * move management of installIndexTemplate into the framework adapter * ts-lint fix * tslint fixes * more ts tweaks * fix paths * added several working endpoints * add more routes and bug fixes * fix linting * fix type remove CRUFT * remove more cruft * remove more CRUFT * added comments, change plurality * add tsconfig file * add extends path * fixed typo * serveral PR review fixes * fixed lodash type version * “fix” types by applying a lot of any * [Beats Management] Move tokens to use JWT, add more complete test suite (#20317) * inital effort to move to JWT and added jest based tests on libs * assign beats tests all passing * token tests now pass * add more tests * all tests now green * fix broken test, this is beats CM not logstash 😊 * added readme * move enrollment token back to a hash * remove un-needed comment * alias lodash get to avoid confusion * isolated hash creation * [Beats Management] add more tests, update types, break out ES into it's own adapter (#20566) * inital effort to move to JWT and added jest based tests on libs * assign beats tests all passing * token tests now pass * add more tests * all tests now green * move enrollment token back to a hash * remove un-needed comment * alias lodash get to avoid confusion * isolated hash creation * Add initial efforts for backend framework adapter testing * move ES code to a DatabaseAdapter from BackendAdapter and add a TON of types for ES * re-typed * renamed types to match pattern * aditional renames * adapter tests should always just use adapterSetup(); * database now uses InternalRequest * corrected spelling of framework * fix typings * remove CRUFT * RequestOrInternal * Dont pass around request objects everywhere, just pass the user. Also, removed hapi types as they were not compatible * fix tests, add test, removed extra comment * fix auth * updated lock file * [Beats Management] add get beat endpoint (#20603) * [Beats Management] Move tokens to use JWT, add more complete test suite (#20317) * inital effort to move to JWT and added jest based tests on libs * assign beats tests all passing * token tests now pass * add more tests * all tests now green * fix broken test, this is beats CM not logstash 😊 * added readme * move enrollment token back to a hash * remove un-needed comment * alias lodash get to avoid confusion * isolated hash creation * inital effort to move to JWT and added jest based tests on libs * assign beats tests all passing * token tests now pass * add more tests * all tests now green * move enrollment token back to a hash * remove un-needed comment * alias lodash get to avoid confusion * isolated hash creation * Add initial efforts for backend framework adapter testing * move ES code to a DatabaseAdapter from BackendAdapter and add a TON of types for ES * re-typed * renamed types to match pattern * aditional renames * adapter tests should always just use adapterSetup(); * database now uses InternalRequest * corrected spelling of framework * fix typings * remove CRUFT * RequestOrInternal * Dont pass around request objects everywhere, just pass the user. Also, removed hapi types as they were not compatible * fix tests, add test, removed extra comment * Moved critical path code from route, to more easeley tested domain * fix auth * remove beat verification, added get beat endpoint to return configs * fix type * update createGetBeatConfigurationRoute URL * rename method * update to match PR #20566 * updated lock file * fix bad merge * update TSLinting * fix bad rebase * [Beats Management] [WIP] Create public resources for management plugin (#20864) * Init plugin public resources. * rename beats to beats_management * rendering react now * Beats/initial ui (#20994) * initial layout and main nav * modal UI and pattern for UI established * fix path * wire up in-memroy adapters * tweak adapters * add getAll method to tags adapter (#21287) * Beats/real adapters (#21481) * add initial real adapters, and nulled data where we need endpoints * UI adapters and needed endpoints added (though not tested) * prep for route tests and some cleanup * move files * [Beats Management] Add BeatsTable/Bulk Action Search Component (#21182) * Add BeatsTable and control bar components. * Clean yarn.lock. * Move raw numbers/strings to constants. Remove obsolete state/props. * Update/add tests. * Change prop name from "items" to "beats". * Rename some variables. * Move search bar filter definitions to table render. * Update table to support assignment options. * Update action control position. * Refactor split render function into custom components. * Beats/basic use cases (#21660) * tweak adapter responses / types. re-add enroll ui * routes enabled, enroll now pings the server * full enrollment path now working * improved pinging for beat enrollment * fix location of history call * reload beats list on beat enrollment completion * add update on client side, expand update on server to allow for partial data, and user auth * remove double beat lookup * fix tests * only return active beats * disenroll now working * fig getAll query * re-enrolling a beat will now work * fix types * fix types * update deps * update kibana API for version * [Beats CM] Manage Tags (#21776) * [ML] Fixing issue with historical job audit messages (#21718) * Add proper aria-label for close inspector (#21719) * [Beats Management] Initial scaffolding for plugin (#18977) * Initial scaffolding for Beats plugin * Removing bits not (yet) necessary in initial scaffolding * [Beats Management] Install Beats index template on plugin init (#19072) * Install Beats index template on plugin init * Adding missing files * [Beats Management] APIs: Create enrollment tokens (#19018) * WIP checkin * Register API routes * Fixing typo in index name * Adding TODOs * Removing commented out license checking code that isn't yet implemented * Remove unnecessary async/await * Don't return until indices have been refreshed * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Adding TODO * Fixing variable name * Using a single index * Adding expiration date field * Adding test for expiration date field * Ignore non-existent index * Fixing logic in test * Creating constant for default enrollment tokens TTL value * Updating test * Fixing name of test file (#19100) * [Beats Management] APIs: Enroll beat (#19056) * WIP checkin * Add API integration test * Converting to Jest test * Create API for enrolling a beat * Handle invalid or expired enrollment tokens * Use create instead of index to prevent same beat from being enrolled twice * Adding unit test for duplicate beat enrollment * Do not persist enrollment token with beat once token has been checked and used * Fix datatype of host_ip field * Make Kibana API guess host IP instead of requiring it in payload * Fixing error introduced in rebase conflict resolution * [Beats Management] APIs: List beats (#19086) * WIP checkin * Add API integration test * Converting to Jest test * WIP checkin * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Updating mapping * [Beats Management] APIs: Verify beats (#19103) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Fleshing out remaining tests * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Moving TODO comment to right file * Rename determine* helper functions to find* * Fixing assertions (#19194) * [Beats Management] APIs: Update beat (#19148) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Add API tests * Update template to allow version field for beat * Implement PUT /api/beats/agent/{beat ID} API * Make enroll beat code consistent with update beat code * Fixing minor typo in TODO comment * Allow version in request payload * Make sure beat is not updated in ES in error scenarios * Adding version as required field in Enroll Beat API payload * Using destructuring * Fixing rename that was accidentally reversed in conflict fixing * [Beats Management] APIs: take auth tokens via headers (#19210) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Make "Enroll Beat" API take enrollment token via header instead of request body * Make "Update Beat" API take access token via header instead of request body * [Beats Management] APIs: Create configuration block (#19270) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Implementing POST /api/beats/configuration_blocks API * Removing unnecessary escaping * Fleshing out types + adding validation for them * Making output singular (was outputs) * Removing metricbeat.inputs * Revert implementation of `POST /api/beats/configuration_blocks` API (#19340) This API allowed the user to operate at a level of abstraction that is unnecessarily and dangerously too low. A better API would be at one level higher, where users can create, update, and delete tags (where a tag can contain multiple configuration blocks). * [Beats Management] APIs: Create or update tag (#19342) * Updating mappings * Implementing PUT /api/beats/tag/{tag} API * [Beats Management] Prevent timing attacks when checking auth tokens (#19363) * Using crypto.timingSafeEqual() for comparing auth tokens * Prevent subtler timing attack in token comparison function * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * [Beats Management] APIs: Assign tag(s) to beat(s) (#19431) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Rename "determine" to "find" * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Updating ES archive * Renaming * Use destructuring * Moving start of script to own line to increase readability * Using destructuring * [Beats Management] APIs: Remove tag(s) from beat(s) (#19440) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Renaming * Use destructuring * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Implementing `POST /api/beats/agents_tags/removals` API * Updating ES archive * Use destructuring * Moving start of script to own line to increase readability * Nothing to remove if there are no existing tags! * Updating tests to match changes in bulk update painless script * Use destructuring * [Beats Management] Move to Ingest UI arch and initial TS effort (#20039) * [Beats Management] Initial scaffolding for plugin (#18977) * Initial scaffolding for Beats plugin * Removing bits not (yet) necessary in initial scaffolding * [Beats Management] Install Beats index template on plugin init (#19072) * Install Beats index template on plugin init * Adding missing files * [Beats Management] APIs: Create enrollment tokens (#19018) * WIP checkin * Register API routes * Fixing typo in index name * Adding TODOs * Removing commented out license checking code that isn't yet implemented * Remove unnecessary async/await * Don't return until indices have been refreshed * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Adding TODO * Fixing variable name * Using a single index * Adding expiration date field * Adding test for expiration date field * Ignore non-existent index * Fixing logic in test * Creating constant for default enrollment tokens TTL value * Updating test * Fixing name of test file (#19100) * [Beats Management] APIs: Enroll beat (#19056) * WIP checkin * Add API integration test * Converting to Jest test * Create API for enrolling a beat * Handle invalid or expired enrollment tokens * Use create instead of index to prevent same beat from being enrolled twice * Adding unit test for duplicate beat enrollment * Do not persist enrollment token with beat once token has been checked and used * Fix datatype of host_ip field * Make Kibana API guess host IP instead of requiring it in payload * Fixing error introduced in rebase conflict resolution * [Beats Management] APIs: List beats (#19086) * WIP checkin * Add API integration test * Converting to Jest test * WIP checkin * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Updating mapping * [Beats Management] APIs: Verify beats (#19103) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Fleshing out remaining tests * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Moving TODO comment to right file * Rename determine* helper functions to find* * Fixing assertions (#19194) * [Beats Management] APIs: Update beat (#19148) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Add API tests * Update template to allow version field for beat * Implement PUT /api/beats/agent/{beat ID} API * Make enroll beat code consistent with update beat code * Fixing minor typo in TODO comment * Allow version in request payload * Make sure beat is not updated in ES in error scenarios * Adding version as required field in Enroll Beat API payload * Using destructuring * Fixing rename that was accidentally reversed in conflict fixing * [Beats Management] APIs: take auth tokens via headers (#19210) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Make "Enroll Beat" API take enrollment token via header instead of request body * Make "Update Beat" API take access token via header instead of request body * [Beats Management] APIs: Create configuration block (#19270) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Implementing POST /api/beats/configuration_blocks API * Removing unnecessary escaping * Fleshing out types + adding validation for them * Making output singular (was outputs) * Removing metricbeat.inputs * Revert implementation of `POST /api/beats/configuration_blocks` API (#19340) This API allowed the user to operate at a level of abstraction that is unnecessarily and dangerously too low. A better API would be at one level higher, where users can create, update, and delete tags (where a tag can contain multiple configuration blocks). * [Beats Management] APIs: Create or update tag (#19342) * Updating mappings * Implementing PUT /api/beats/tag/{tag} API * [Beats Management] Prevent timing attacks when checking auth tokens (#19363) * Using crypto.timingSafeEqual() for comparing auth tokens * Prevent subtler timing attack in token comparison function * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * [Beats Management] APIs: Assign tag(s) to beat(s) (#19431) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Rename "determine" to "find" * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Updating ES archive * Renaming * Use destructuring * Moving start of script to own line to increase readability * Using destructuring * [Beats Management] APIs: Remove tag(s) from beat(s) (#19440) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Renaming * Use destructuring * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Implementing `POST /api/beats/agents_tags/removals` API * Updating ES archive * Use destructuring * Moving start of script to own line to increase readability * Nothing to remove if there are no existing tags! * Updating tests to match changes in bulk update painless script * Use destructuring * Ported over base types and arch structure * move management of installIndexTemplate into the framework adapter * ts-lint fix * tslint fixes * more ts tweaks * fix paths * added several working endpoints * add more routes and bug fixes * fix linting * fix type remove CRUFT * remove more cruft * remove more CRUFT * added comments, change plurality * add tsconfig file * add extends path * fixed typo * serveral PR review fixes * fixed lodash type version * “fix” types by applying a lot of any * [Beats Management] Move tokens to use JWT, add more complete test suite (#20317) * inital effort to move to JWT and added jest based tests on libs * assign beats tests all passing * token tests now pass * add more tests * all tests now green * fix broken test, this is beats CM not logstash 😊 * added readme * move enrollment token back to a hash * remove un-needed comment * alias lodash get to avoid confusion * isolated hash creation * [Beats Management] add more tests, update types, break out ES into it's own adapter (#20566) * inital effort to move to JWT and added jest based tests on libs * assign beats tests all passing * token tests now pass * add more tests * all tests now green * move enrollment token back to a hash * remove un-needed comment * alias lodash get to avoid confusion * isolated hash creation * Add initial efforts for backend framework adapter testing * move ES code to a DatabaseAdapter from BackendAdapter and add a TON of types for ES * re-typed * renamed types to match pattern * aditional renames * adapter tests should always just use adapterSetup(); * database now uses InternalRequest * corrected spelling of framework * fix typings * remove CRUFT * RequestOrInternal * Dont pass around request objects everywhere, just pass the user. Also, removed hapi types as they were not compatible * fix tests, add test, removed extra comment * fix auth * updated lock file * [Beats Management] add get beat endpoint (#20603) * [Beats Management] Move tokens to use JWT, add more complete test suite (#20317) * inital effort to move to JWT and added jest based tests on libs * assign beats tests all passing * token tests now pass * add more tests * all tests now green * fix broken test, this is beats CM not logstash 😊 * added readme * move enrollment token back to a hash * remove un-needed comment * alias lodash get to avoid confusion * isolated hash creation * inital effort to move to JWT and added jest based tests on libs * assign beats tests all passing * token tests now pass * add more tests * all tests now green * move enrollment token back to a hash * remove un-needed comment * alias lodash get to avoid confusion * isolated hash creation * Add initial efforts for backend framework adapter testing * move ES code to a DatabaseAdapter from BackendAdapter and add a TON of types for ES * re-typed * renamed types to match pattern * aditional renames * adapter tests should always just use adapterSetup(); * database now uses InternalRequest * corrected spelling of framework * fix typings * remove CRUFT * RequestOrInternal * Dont pass around request objects everywhere, just pass the user. Also, removed hapi types as they were not compatible * fix tests, add test, removed extra comment * Moved critical path code from route, to more easeley tested domain * fix auth * remove beat verification, added get beat endpoint to return configs * fix type * update createGetBeatConfigurationRoute URL * rename method * update to match PR #20566 * updated lock file * fix bad merge * update TSLinting * fix bad rebase * [Beats Management] [WIP] Create public resources for management plugin (#20864) * Init plugin public resources. * rename beats to beats_management * rendering react now * Beats/initial ui (#20994) * initial layout and main nav * modal UI and pattern for UI established * fix path * wire up in-memroy adapters * tweak adapters * add getAll method to tags adapter (#21287) * Beats/real adapters (#21481) * add initial real adapters, and nulled data where we need endpoints * UI adapters and needed endpoints added (though not tested) * prep for route tests and some cleanup * move files * [Beats Management] Add BeatsTable/Bulk Action Search Component (#21182) * Add BeatsTable and control bar components. * Clean yarn.lock. * Move raw numbers/strings to constants. Remove obsolete state/props. * Update/add tests. * Change prop name from "items" to "beats". * Rename some variables. * Move search bar filter definitions to table render. * Update table to support assignment options. * Update action control position. * Refactor split render function into custom components. * Beats/basic use cases (#21660) * tweak adapter responses / types. re-add enroll ui * routes enabled, enroll now pings the server * full enrollment path now working * improved pinging for beat enrollment * fix location of history call * reload beats list on beat enrollment completion * add update on client side, expand update on server to allow for partial data, and user auth * remove double beat lookup * fix tests * only return active beats * disenroll now working * fig getAll query * re-enrolling a beat will now work * fix types * Add create tags view. * fix types * update deps * update kibana API for version * Added component/config interface for editing/creating tags. Added separate pages for create/edit tags. * Fixup. * Beats/beat tags workflow (#21923) * [Beats Management] Move to Ingest UI arch and initial TS effort (#20039) * [Beats Management] Initial scaffolding for plugin (#18977) * Initial scaffolding for Beats plugin * Removing bits not (yet) necessary in initial scaffolding * [Beats Management] Install Beats index template on plugin init (#19072) * Install Beats index template on plugin init * Adding missing files * [Beats Management] APIs: Create enrollment tokens (#19018) * WIP checkin * Register API routes * Fixing typo in index name * Adding TODOs * Removing commented out license checking code that isn't yet implemented * Remove unnecessary async/await * Don't return until indices have been refreshed * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Adding TODO * Fixing variable name * Using a single index * Adding expiration date field * Adding test for expiration date field * Ignore non-existent index * Fixing logic in test * Creating constant for default enrollment tokens TTL value * Updating test * Fixing name of test file (#19100) * [Beats Management] APIs: Enroll beat (#19056) * WIP checkin * Add API integration test * Converting to Jest test * Create API for enrolling a beat * Handle invalid or expired enrollment tokens * Use create instead of index to prevent same beat from being enrolled twice * Adding unit test for duplicate beat enrollment * Do not persist enrollment token with beat once token has been checked and used * Fix datatype of host_ip field * Make Kibana API guess host IP instead of requiring it in payload * Fixing error introduced in rebase conflict resolution * [Beats Management] APIs: List beats (#19086) * WIP checkin * Add API integration test * Converting to Jest test * WIP checkin * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Updating mapping * [Beats Management] APIs: Verify beats (#19103) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Fleshing out remaining tests * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Moving TODO comment to right file * Rename determine* helper functions to find* * Fixing assertions (#19194) * [Beats Management] APIs: Update beat (#19148) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Add API tests * Update template to allow version field for beat * Implement PUT /api/beats/agent/{beat ID} API * Make enroll beat code consistent with update beat code * Fixing minor typo in TODO comment * Allow version in request payload * Make sure beat is not updated in ES in error scenarios * Adding version as required field in Enroll Beat API payload * Using destructuring * Fixing rename that was accidentally reversed in conflict fixing * [Beats Management] APIs: take auth tokens via headers (#19210) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Make "Enroll Beat" API take enrollment token via header instead of request body * Make "Update Beat" API take access token via header instead of request body * [Beats Management] APIs: Create configuration block (#19270) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Implementing POST /api/beats/configuration_blocks API * Removing unnecessary escaping * Fleshing out types + adding validation for them * Making output singular (was outputs) * Removing metricbeat.inputs * Revert implementation of `POST /api/beats/configuration_blocks` API (#19340) This API allowed the user to operate at a level of abstraction that is unnecessarily and dangerously too low. A better API would be at one level higher, where users can create, update, and delete tags (where a tag can contain multiple configuration blocks). * [Beats Management] APIs: Create or update tag (#19342) * Updating mappings * Implementing PUT /api/beats/tag/{tag} API * [Beats Management] Prevent timing attacks when checking auth tokens (#19363) * Using crypto.timingSafeEqual() for comparing auth tokens * Prevent subtler timing attack in token comparison function * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * [Beats Management] APIs: Assign tag(s) to beat(s) (#19431) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Rename "determine" to "find" * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Updating ES archive * Renaming * Use destructuring * Moving start of script to own line to increase readability * Using destructuring * [Beats Management] APIs: Remove tag(s) from beat(s) (#19440) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Renaming * Use destructuring * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Implementing `POST /api/beats/agents_tags/removals` API * Updating ES archive * Use destructuring * Moving start of script to own line to increase readability * Nothing to remove if there are no existing tags! * Updating tests to match changes in bulk update painless script * Use destructuring * Ported over base types and arch structure * move management of installIndexTemplate into the framework adapter * ts-lint fix * tslint fixes * more ts tweaks * fix paths * added several working endpoints * add more routes and bug fixes * fix linting * fix type remove CRUFT * remove more cruft * remove more CRUFT * added comments, change plurality * add tsconfig file * add extends path * fixed typo * serveral PR review fixes * fixed lodash type version * “fix” types by applying a lot of any * add details page, re-configure routes * move tag crud to new route stuff * update tag create/edit component api * tags creation now working * bunch of stuff I should have split up better… * fixed perf bug, selected items that are removed are no longer phantom selected * fix rendering of assignments * remove assign to beats, the UX was too poor * Beats/config view (#22177) * [Beats Management] Move to Ingest UI arch and initial TS effort (#20039) * [Beats Management] Initial scaffolding for plugin (#18977) * Initial scaffolding for Beats plugin * Removing bits not (yet) necessary in initial scaffolding * [Beats Management] Install Beats index template on plugin init (#19072) * Install Beats index template on plugin init * Adding missing files * [Beats Management] APIs: Create enrollment tokens (#19018) * WIP checkin * Register API routes * Fixing typo in index name * Adding TODOs * Removing commented out license checking code that isn't yet implemented * Remove unnecessary async/await * Don't return until indices have been refreshed * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Adding TODO * Fixing variable name * Using a single index * Adding expiration date field * Adding test for expiration date field * Ignore non-existent index * Fixing logic in test * Creating constant for default enrollment tokens TTL value * Updating test * Fixing name of test file (#19100) * [Beats Management] APIs: Enroll beat (#19056) * WIP checkin * Add API integration test * Converting to Jest test * Create API for enrolling a beat * Handle invalid or expired enrollment tokens * Use create instead of index to prevent same beat from being enrolled twice * Adding unit test for duplicate beat enrollment * Do not persist enrollment token with beat once token has been checked and used * Fix datatype of host_ip field * Make Kibana API guess host IP instead of requiring it in payload * Fixing error introduced in rebase conflict resolution * [Beats Management] APIs: List beats (#19086) * WIP checkin * Add API integration test * Converting to Jest test * WIP checkin * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Updating mapping * [Beats Management] APIs: Verify beats (#19103) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Fleshing out remaining tests * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Moving TODO comment to right file * Rename determine* helper functions to find* * Fixing assertions (#19194) * [Beats Management] APIs: Update beat (#19148) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Add API tests * Update template to allow version field for beat * Implement PUT /api/beats/agent/{beat ID} API * Make enroll beat code consistent with update beat code * Fixing minor typo in TODO comment * Allow version in request payload * Make sure beat is not updated in ES in error scenarios * Adding version as required field in Enroll Beat API payload * Using destructuring * Fixing rename that was accidentally reversed in conflict fixing * [Beats Management] APIs: take auth tokens via headers (#19210) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Make "Enroll Beat" API take enrollment token via header instead of request body * Make "Update Beat" API take access token via header instead of request body * [Beats Management] APIs: Create configuration block (#19270) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Implementing POST /api/beats/configuration_blocks API * Removing unnecessary escaping * Fleshing out types + adding validation for them * Making output singular (was outputs) * Removing metricbeat.inputs * Revert implementation of `POST /api/beats/configuration_blocks` API (#19340) This API allowed the user to operate at a level of abstraction that is unnecessarily and dangerously too low. A better API would be at one level higher, where users can create, update, and delete tags (where a tag can contain multiple configuration blocks). * [Beats Management] APIs: Create or update tag (#19342) * Updating mappings * Implementing PUT /api/beats/tag/{tag} API * [Beats Management] Prevent timing attacks when checking auth tokens (#19363) * Using crypto.timingSafeEqual() for comparing auth tokens * Prevent subtler timing attack in token comparison function * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * [Beats Management] APIs: Assign tag(s) to beat(s) (#19431) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Rename "determine" to "find" * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Updating ES archive * Renaming * Use destructuring * Moving start of script to own line to increase readability * Using destructuring * [Beats Management] APIs: Remove tag(s) from beat(s) (#19440) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Renaming * Use destructuring * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Implementing `POST /api/beats/agents_tags/removals` API * Updating ES archive * Use destructuring * Moving start of script to own line to increase readability * Nothing to remove if there are no existing tags! * Updating tests to match changes in bulk update painless script * Use destructuring * Ported over base types and arch structure * move management of installIndexTemplate into the framework adapter * ts-lint fix * tslint fixes * more ts tweaks * fix paths * added several working endpoints * add more routes and bug fixes * fix linting * fix type remove CRUFT * remove more cruft * remove more CRUFT * added comments, change plurality * add tsconfig file * add extends path * fixed typo * serveral PR review fixes * fixed lodash type version * “fix” types by applying a lot of any * add details page, re-configure routes * move tag crud to new route stuff * update tag create/edit component api * tags creation now working * bunch of stuff I should have split up better… * fixed perf bug, selected items that are removed are no longer phantom selected * fix rendering of assignments * remove assign to beats, the UX was too poor * [Beats Management] Move to Ingest UI arch and initial TS effort (#20039) * [Beats Management] Initial scaffolding for plugin (#18977) * Initial scaffolding for Beats plugin * Removing bits not (yet) necessary in initial scaffolding * [Beats Management] Install Beats index template on plugin init (#19072) * Install Beats index template on plugin init * Adding missing files * [Beats Management] APIs: Create enrollment tokens (#19018) * WIP checkin * Register API routes * Fixing typo in index name * Adding TODOs * Removing commented out license checking code that isn't yet implemented * Remove unnecessary async/await * Don't return until indices have been refreshed * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Adding TODO * Fixing variable name * Using a single index * Adding expiration date field * Adding test for expiration date field * Ignore non-existent index * Fixing logic in test * Creating constant for default enrollment tokens TTL value * Updating test * Fixing name of test file (#19100) * [Beats Management] APIs: Enroll beat (#19056) * WIP checkin * Add API integration test * Converting to Jest test * Create API for enrolling a beat * Handle invalid or expired enrollment tokens * Use create instead of index to prevent same beat from being enrolled twice * Adding unit test for duplicate beat enrollment * Do not persist enrollment token with beat once token has been checked and used * Fix datatype of host_ip field * Make Kibana API guess host IP instead of requiring it in payload * Fixing error introduced in rebase conflict resolution * [Beats Management] APIs: List beats (#19086) * WIP checkin * Add API integration test * Converting to Jest test * WIP checkin * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Updating mapping * [Beats Management] APIs: Verify beats (#19103) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Fleshing out remaining tests * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Moving TODO comment to right file * Rename determine* helper functions to find* * Fixing assertions (#19194) * [Beats Management] APIs: Update beat (#19148) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Add API tests * Update template to allow version field for beat * Implement PUT /api/beats/agent/{beat ID} API * Make enroll beat code consistent with update beat code * Fixing minor typo in TODO comment * Allow version in request payload * Make sure beat is not updated in ES in error scenarios * Adding version as required field in Enroll Beat API payload * Using destructuring * Fixing rename that was accidentally reversed in conflict fixing * [Beats Management] APIs: take auth tokens via headers (#19210) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Make "Enroll Beat" API take enrollment token via header instead of request body * Make "Update Beat" API take access token via header instead of request body * [Beats Management] APIs: Create configuration block (#19270) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Implementing POST /api/beats/configuration_blocks API * Removing unnecessary escaping * Fleshing out types + adding validation for them * Making output singular (was outputs) * Removing metricbeat.inputs * Revert implementation of `POST /api/beats/configuration_blocks` API (#19340) This API allowed the user to operate at a level of abstraction that is unnecessarily and dangerously too low. A better API would be at one level higher, where users can create, update, and delete tags (where a tag can contain multiple configuration blocks). * [Beats Management] APIs: Create or update tag (#19342) * Updating mappings * Implementing PUT /api/beats/tag/{tag} API * [Beats Management] Prevent timing attacks when checking auth tokens (#19363) * Using crypto.timingSafeEqual() for comparing auth tokens * Prevent subtler timing attack in token comparison function * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * [Beats Management] APIs: Assign tag(s) to beat(s) (#19431) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Rename "determine" to "find" * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Updating ES archive * Renaming * Use destructuring * Moving start of script to own line to increase readability * Using destructuring * [Beats Management] APIs: Remove tag(s) from beat(s) (#19440) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Renaming * Use destructuring * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Implementing `POST /api/beats/agents_tags/removals` API * Updating ES archive * Use destructuring * Moving start of script to own line to increase readability * Nothing to remove if there are no existing tags! * Updating tests to match changes in bulk update painless script * Use destructuring * Ported over base types and arch structure * move management of installIndexTemplate into the framework adapter * ts-lint fix * tslint fixes * more ts tweaks * fix paths * added several working endpoints * add more routes and bug fixes * fix linting * fix type remove CRUFT * remove more cruft * remove more CRUFT * added comments, change plurality * add tsconfig file * add extends path * fixed typo * serveral PR review fixes * fixed lodash type version * “fix” types by applying a lot of any * Beats/update (#21702) * [ML] Fixing issue with historical job audit messages (#21718) * Add proper aria-label for close inspector (#21719) * [Beats Management] Initial scaffolding for plugin (#18977) * Initial scaffolding for Beats plugin * Removing bits not (yet) necessary in initial scaffolding * [Beats Management] Install Beats index template on plugin init (#19072) * Install Beats index template on plugin init * Adding missing files * [Beats Management] APIs: Create enrollment tokens (#19018) * WIP checkin * Register API routes * Fixing typo in index name * Adding TODOs * Removing commented out license checking code that isn't yet implemented * Remove unnecessary async/await * Don't return until indices have been refreshed * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Adding TODO * Fixing variable name * Using a single index * Adding expiration date field * Adding test for expiration date field * Ignore non-existent index * Fixing logic in test * Creating constant for default enrollment tokens TTL value * Updating test * Fixing name of test file (#19100) * [Beats Management] APIs: Enroll beat (#19056) * WIP checkin * Add API integration test * Converting to Jest test * Create API for enrolling a beat * Handle invalid or expired enrollment tokens * Use create instead of index to prevent same beat from being enrolled twice * Adding unit test for duplicate beat enrollment * Do not persist enrollment token with beat once token has been checked and used * Fix datatype of host_ip field * Make Kibana API guess host IP instead of requiring it in payload * Fixing error introduced in rebase conflict resolution * [Beats Management] APIs: List beats (#19086) * WIP checkin * Add API integration test * Converting to Jest test * WIP checkin * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Updating mapping * [Beats Management] APIs: Verify beats (#19103) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Fleshing out remaining tests * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Moving TODO comment to right file * Rename determine* helper functions to find* * Fixing assertions (#19194) * [Beats Management] APIs: Update beat (#19148) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Add API tests * Update template to allow version field for beat * Implement PUT /api/beats/agent/{beat ID} API * Make enroll beat code consistent with update beat code * Fixing minor typo in TODO comment * Allow version in request payload * Make sure beat is not updated in ES in error scenarios * Adding version as required field in Enroll Beat API payload * Using destructuring * Fixing rename that was accidentally reversed in conflict fixing * [Beats Management] APIs: take auth tokens via headers (#19210) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Make "Enroll Beat" API take enrollment token via header instead of request body * Make "Update Beat" API take access token via header instead of request body * [Beats Management] APIs: Create configuration block (#19270) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Implementing POST /api/beats/configuration_blocks API * Removing unnecessary escaping * Fleshing out types + adding validation for them * Making output singular (was outputs) * Removing metricbeat.inputs * Revert implementation of `POST /api/beats/configuration_blocks` API (#19340) This API allowed the user to operate at a level of abstraction that is unnecessarily and dangerously too low. A better API would be at one level higher, where users can create, update, and delete tags (where a tag can contain multiple configuration blocks). * [Beats Management] APIs: Create or update tag (#19342) * Updating mappings * Implementing PUT /api/beats/tag/{tag} API * [Beats Management] Prevent timing attacks when checking auth tokens (#19363) * Using crypto.timingSafeEqual() for comparing auth tokens * Prevent subtler timing attack in token comparison function * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * [Beats Management] APIs: Assign tag(s) to beat(s) (#19431) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Rename "determine" to "find" * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Updating ES archive * Renaming * Use destructuring * Moving start of script to own line to increase readability * Using destructuring * [Beats Management] APIs: Remove tag(s) from beat(s) (#19440) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Renaming * Use destructuring * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Implementing `POST /api/beats/agents_tags/removals` API * Updating ES archive * Use destructuring * Moving start of script to own line to increase readability * Nothing to remove if there are no existing tags! * Updating tests to match changes in bulk update painless script * Use destructuring * [Beats Management] Move to Ingest UI arch and initial TS effort (#20039) * [Beats Management] Initial scaffolding for plugin (#18977) * Initial scaffolding for Beats plugin * Removing bits not (yet) necessary in initial scaffolding * [Beats Management] Install Beats index template on plugin init (#19072) * Install Beats index template on plugin init * Adding missing files * [Beats Management] APIs: Create enrollment tokens (#19018) * WIP checkin * Register API routes * Fixing typo in index name * Adding TODOs * Removing commented out license checking code that isn't yet implemented * Remove unnecessary async/await * Don't return until indices have been refreshed * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Adding TODO * Fixing variable name * Using a single index * Adding expiration date field * Adding test for expiration date field * Ignore non-existent index * Fixing logic in test * Creating constant for default enrollment tokens TTL value * Updating test * Fixing name of test file (#19100) * [Beats Management] APIs: Enroll beat (#19056) * WIP checkin * Add API integration test * Converting to Jest test * Create API for enrolling a beat * Handle invalid or expired enrollment tokens * Use create instead of index to prevent same beat from being enrolled twice * Adding unit test for duplicate beat enrollment * Do not persist enrollment token with beat once token has been checked and used * Fix datatype of host_ip field * Make Kibana API guess host IP instead of requiring it in payload * Fixing error introduced in rebase conflict resolution * [Beats Management] APIs: List beats (#19086) * WIP checkin * Add API integration test * Converting to Jest test * WIP checkin * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Updating mapping * [Beats Management] APIs: Verify beats (#19103) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Fleshing out remaining tests * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Moving TODO comment to right file * Rename determine* helper functions to find* * Fixing assertions (#19194) * [Beats Management] APIs: Update beat (#19148) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Add API tests * Update template to allow version field for beat * Implement PUT /api/beats/agent/{beat ID} API * Make enroll beat code consistent with update beat code * Fixing minor typo in TODO comment * Allow version in request payload * Make sure beat is not updated in ES in error scenarios * Adding version as required field in Enroll Beat API payload * Using destructuring * Fixing rename that was accidentally reversed in conflict fixing * [Beats Management] APIs: take auth tokens via headers (#19210) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Make "Enroll Beat" API take enrollment token via header instead of request body * Make "Update Beat" API take access token via header instead of request body * [Beats Management] APIs: Create configuration block (#19270) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Implementing POST /api/beats/configuration_blocks API * Removing unnecessary escaping * Fleshing out types + adding validation for them * Making output singular (was outputs) * Removing metricbeat.inputs * Revert implementation of `POST /api/beats/configuration_blocks` API (#19340) This API allowed the user to operate at a level of abstraction that is unnecessarily and dangerously too low. A better API would be at one level higher, where users can create, update, and delete tags (where a tag can contain multiple configuration blocks). * [Beats Management] APIs: Create or update tag (#19342) * Updating mappings * Implementing PUT /api/beats/tag/{tag} API * [Beats Management] Prevent timing attacks when checking auth tokens (#19363) * Using crypto.timingSafeEqual() for comparing auth tokens * Prevent subtler timing attack in token comparison function * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * [Beats Management] APIs: Assign tag(s) to beat(s) (#19431) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Rename "determine" to "find" * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Updating ES archive * Renaming * Use destructuring * Moving start of script to own line to increase readability * Using destructuring * [Beats Management] APIs: Remove tag(s) from beat(s) (#19440) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Renaming * Use destructuring * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Implementing `POST /api/beats/agents_tags/removals` API * Updating ES archive * Use destructuring * Moving start of script to own line to increase readability * Nothing to remove if there are no existing tags! * Updating tests to match changes in bulk update painless script * Use destructuring * Ported over base types and arch structure * move management of installIndexTemplate into the framework adapter * ts-lint fix * tslint fixes * more ts tweaks * fix paths * added several working endpoints * add more routes and bug fixes * fix linting * fix type remove CRUFT * remove more cruft * remove more CRUFT * added comments, change plurality * add tsconfig file * add extends path * fixed typo * serveral PR review fixes * fixed lodash type version * “fix” types by applying a lot of any * [Beats Management] Move tokens to use JWT, add more complete test suite (#20317) * inital effort to move to JWT and added jest based tests on libs * assign beats tests all passing * token tests now pass * add more tests * all tests now green * fix broken test, this is beats CM not logstash 😊 * added readme * move enrollment token back to a hash * remove un-needed comment * alias lodash get to avoid confusion * isolated hash creation * [Beats Management] add more tests, update types, break out ES into it's own adapter (#20566) * inital effort to move to JWT and added jest based tests on libs * assign beats tests all passing * token tests now pass * add more tests * all tests now green * move enrollment token back to a hash * remove un-needed comment * alias lodash get to avoid confusion * isolated hash creation * Add initial efforts for backend framework adapter testing * move ES code to a DatabaseAdapter from BackendAdapter and add a TON of types for ES * re-typed * renamed types to match pattern * aditional renames * adapter tests should always just use adapterSetup(); * database now uses InternalRequest * corrected spelling of framework * fix typings * remove CRUFT * RequestOrInternal * Dont pass around request objects everywhere, just pass the user. Also, removed hapi types as they were not compatible * fix tests, add test, removed extra comment * fix auth * updated lock file * [Beats Management] add get beat endpoint (#20603) * [Beats Management] Move tokens to use JWT, add more complete test suite (#20317) * inital effort to move to JWT and added jest based tests on libs * assign beats tests all passing * token tests now pass * add more tests * all tests now green * fix broken test, this is beats CM not logstash 😊 * added readme * move enrollment token back to a hash * remove un-needed comment * alias lodash get to avoid confusion * isolated hash creation * inital effort to move to JWT and added jest based tests on libs * assign beats tests all passing * token tests now pass * add more tests * all tests now green * move enrollment token back to a hash * remove un-needed comment * alias lodash get to avoid confusion * isolated hash creation * Add initial efforts for backend framework adapter testing * move ES code to a DatabaseAdapter from BackendAdapter and add a TON of types for ES * re-typed * renamed types to match pattern * aditional renames * adapter tests should always just use adapterSetup(); * database now uses InternalRequest * corrected spelling of framework * fix typings * remove CRUFT * RequestOrInternal * Dont pass around request objects everywhere, just pass the user. Also, removed hapi types as they were not compatible * fix tests, add test, removed extra comment * Moved critical path code from route, to more easeley tested domain * fix auth * remove beat verification, added get beat endpoint to return configs * fix type * update createGetBeatConfigurationRoute URL * rename method * update to match PR #20566 * updated lock file * fix bad merge * update TSLinting * fix bad rebase * [Beats Management] [WIP] Create public resources for management plugin (#20864) * Init plugin public resources. * rename beats to beats_management * rendering react now * Beats/initial ui (#20994) * initial layout and main nav * modal UI and pattern for UI established * fix path * wire up in-memroy adapters * tweak adapters * add getAll method to tags adapter (#21287) * Beats/real adapters (#21481) * add initial real adapters, and nulled data where we need endpoints * UI adapters and needed endpoints added (though not tested) * prep for route tests and some cleanup * move files * [Beats Management] Add BeatsTable/Bulk Action Search Component (#21182) * Add BeatsTable and control bar components. * Clean yarn.lock. * Move raw numbers/strings to constants. Remove obsolete state/props. * Update/add tests. * Change prop name from "items" to "beats". * Rename some variables. * Move search bar filter definitions to table render. * Update table to support assignment options. * Update action control position. * Refactor split render function into custom components. * Beats/basic use cases (#21660) * tweak adapter responses / types. re-add enroll ui * routes enabled, enroll now pings the server * full enrollment path now working * improved pinging for beat enrollment * fix location of history call * reload beats list on beat enrollment completion * add update on client side, expand update on server to allow for partial data, and user auth * remove double beat lookup * fix tests * only return active beats * disenroll now working * fig getAll query * re-enrolling a beat will now work * fix types * fix types * update deps * update kibana API for version * progress on config forms * config view inital input types working * ts fixes * fix more ts * code now errors on invalid yaml * remove un-needed include * fix bad rebase * saving config blocks as yaml to db is now working * propperly formatted YAML * loading tags back on edit screen in-progress * fix types * vis name validation for tag * update EUI style * tweak design * fixed tag assignments (still has a ui glitch) * fix form validation on select * fix deps * update deps * attached beats now works in the edit tag screen, edit now disables changing the tag id * better un-parsing of yaml, some elements now rendering to edit config blocks * delete config block now works * fix ability to edit config * fix deps * fix another rebase issue * tweaks and fixes * fix several bugs * Beats/security (#22500) * client side security working * check license on route * forgot a file * [Beats CM] Add beats details pages (#22455) * Move edits from previous details branch. * Add tag view to beat details. * Added notifications for add/remove tag from beat. * Fix dependencies upgrade/downgrade add/removes. * Create new page files for each sub-section of details view. * Move page functionality from dedicated components to pages. * [Beats CM] move to json for configs (#22693) * move to json for configs, fix some tests * tweaks * add fixes (#22711) * add fixes * return only one config * much improved validation for hosts, no longer require not required fields, no longer have JS in the config form config * fix condition argument * [Beats CM] Improve UX for assignment of tag to list of beats (#22687) * Improve UX for assignment of tag to list of beats. * Revert a change. * [Beats CM] Sort beat list tags (#22729) * Add logic to sort tags by ID when rendering in Beats List. * Prefer lodash sortBy over inline sort implementation. * [Beats CM] Remove key warnings from beat list components (#22772) * Add logic to sort tags by ID when rendering in Beats List. * Remove key warnings from beats list and associated components. * Prefer lodash sortBy over inline sort implementation. * [Beats CM] Add check for BeatsPage component to avoid setState when unmounted (#22836) * Add check if component is unmounted when loading Beats List page. * Move call to loadBeats() to componentDidMount lifecycle function. * Update field name in table type config. (#23228) * Utilize TagBadge functional component to standardize display of tag names. (#23253) * [Beats CM] Add beat name to update endpoint (#23291) * Update beat index template and update endpoints to expect name type. Add test file for update. * Update enroll script and endpoint to create a 'name' field for beats. * Add name field to CMBeat domain type. * Update functional tests to include name field. * Fix broken tag assignment functional test. * Edit beats list table config to display most recently-updated tag time. (#23337) * Update beat detail view info. (#23369) * Update beat detail view info. * Add period to end of update field. * [Beat CM] Show only tags associated with selected beat (#23398) * Reenable output config. * Make beat detail tag page only show tags associated with that tag. * Display beat name instead of ID on details screen. (#23410) * [Beat CM] Display config name instead of beat type in beat detail view (#23411) * Update config table in beat detail view to show config type instead of beat type. * Modify Beat Detail view to display human-friendly names for config block types. * [Beats CM] Add password input and re-enable output config schema (#23417) * wip defining controls * Complete adding formsy password field. * Re-enable output config schema definition. * Simplify import/export for formsy components. * Add full list of current Filebeat & Metricbeat module (#23258) This change also renames `Metricbeat input` to `Metricbeat module` * Beats/ui tweaks (#23655) * add initial breadcrumbs * prevent errors * New routing in place for supporting URLState needed for Kuery bar * beats table kuery bar “working” (but not submitting) * pulling activity view from current phase’s spec * setup link now at correct URL * kuery bar * autocomplete bar now working * Add walkthrough (#23785) * add test system, framework, and example tests * adding walkthrough * clicking walkthrough step should take you to that step * try/catch beats loading to prevent unhandeled error when there are no beats * fix walkthrough not redirecting to main beats page * update yarn lock files * fix prettier * fix x-pack package.json formatting * update kbn server creation * remove types from old table implementation * move to Boom.boomify * fix TS errors * fix type * rollback dep version * fix more conflicting dep issues * deps * force correct node type resolution * cleanup and skip tests (kbn test util is broken) * added formsy and basePath * update yarn lock file * add beats management icon * rename beats management main section * Tags now called Configuration Tags in the tabs * tokens must expire at most after 2 weeks * fix bad auto-import * beat details now shows the extra data needed * tweak package.json deps for continuity * update yarn lock for new yarn version * [Beats CM] Re-arch table assignment control definitions (#23663) * Patch changes to latest feature branch. * Update table controls to offer standard search bar if kuery bar props not provided. * Tweaked enrollment UI to inlcude beat type selection * Reduce badge list gutter size, change logic for tag assignment to unassign all if some selected. (#24091) * dont use genaric search bar * removed unused import * fix es-lint error * fix outputs * fix types from infra merge * remove dupe dep * update lock file * push another lock file * Add unfilteredBeats field to beat list state to prevent inappropriate redirect. (#24146) * fix yarn lock because yarn is dumb * Fix broken tests
2018-10-18 04:06:43 +02:00
},
"workspaces": {
"packages": [
"packages/*",
"x-pack",
Create vendor dll for the client modules (#22618) * feat(NA): first dll bundler code. * chore(NA): upgrade to webpack 4. * chore(NA): updated package.json * chore(NA): removed old code. * chore(NA): add parallel option. * chore(NA): removed console log and old var about node modules. * chore(NA): turn off unsafe cache. * chore(NA): update lock files. * chore(NA): new config for dll generation. * chore(NA): update stats emit. * chore(NA): update dependencies. * chore(NA): right cache loaders. * chore(NA): remove ui_bundles alias. * feat(20749): init implementation on bridge plugin for dll bundler. * feat(20749): init implementation for dll compiler. * feat(20749): dll bundler init from other process and webpack wrapper.. * feat(20749): optimizer changes to integrate with dll bundler. * chore(20749): split into different processes. * refact(20749): change to single running process. * refact(NA): improvements on dll bundler plugin. * refact(NA): removing including loop on plugins. * refact(20749): only run dllReference once. * chore(20749): todo on result.request path building. * chore(NA): lock files updated. * chore(NA): avoiding dll paths being removed. * chore(NA): tests on sync generation. * chore(NA): changes on entry paths compiler. * chore(NA): different hooks tests. * chore(20749): first working version, single process, for dynamic building dll. * feat(20749): last gross features for the dynamicdllplugin. * refact(20749): string interpolation when creating the path to delete in every optimizer cycle. feat(20749): creating the DynamicDllPlugin foundations. * chore(NA): updated base optimizer run function args. * chore(20749): first working solution with vendor dll both for prod and dev. * chore(20749): useful todos on client dlls. * feat(NA): auto built blacklist for server node_modules. * refact(NA): removed unused code. * chore(NA): update all webpack and loaders stuff to last versions. * refact(NA): first refacts on clean taks related with dll. feat(NA): added clean empty folders task. * refact(NA): removed support for console logs during the build. * refact(NA): removed extra space. * refact(NA): removed extra space. * refact(NA): getDllModules function. * chore(NA): removed unsafeCache option. * feat(NA): removed unsafeCache option. * refact(NA): apply general inheritance principles to the optimizer: hooks, and init. refact(NA): merge dynamic dll plugin into the common config. refact(NA): restore old template structure - vendors.dll style is always emitted. * fix(NA): fs_optimizer run function by not returning inside async func. * fix(NA): change template anchor name from vendor to vendors. * docs(NA): added info about files were keeping when cleaning the bundles. * fix(NA): filtering elible dll modules to delete. * refact(NA): removed old dll bundler in favor on new dynamic dll plugin. * refact(NA): initial split for clean modules on dll task. * refact(NA): update new dll config model. refact(NA): update config on dynamicdllplugin. * refact(NA): major work refactor for dynamic dll plugin. * refact(NA): extract clean node modules on dll task to its own folder. * refact(NA): organize imports. * docs(NA): add docs to registerCompilerHooks function for the optimizer. * refact(NA): finished refactor for dynamic dll plugin with correct error handling for runWebpack function. * refact(NA): basic structure for clean client modules on dll task. * fix(NA): resolve path for dll manifest during cclean build tasks. * refact(NA): split webpack dll related functions to their own file for clean client modules on dll task. * refact(NA): added error handling for the clean client modules on dll task - webpack dll related functions. * docs(NA): added license header. * refact(NA): complete split out the functions from the clean modules on dll task to the code_parser file. * refact(NA): main task entries compose. * docs(NA): extend docs for the getDependenciesFromFile function. * refact(NA): final structure split for clean client node modules dll task. * fix(NA): added missing param to calculate top level dependencies. * docs(NA): completed todo description about dll location. * fix(NA): add production option to webpack config on kbn-pm. * docs(NA): extended documentation about style extraction. * refact(NA): removed extra comments. * feat(NA): env variable to force dll creation. * feat(NA): include option to define folders to keep on delete empty folders task. * refact(NA): remove unused method from dll compiler. * feat(NA): move dlls outside bundles folder and support request for /dlls from a browser perspective. * chore(NA): gitignore updated to include new dlls folder. * chore(NA): eslintignore updated. * chore(NA): removed strange file from repo. * test(NA): fix failing tests for bundles_route. * fix(NA): change paths array to path string in a server route config. * fix(NA): remove infinite loop calls on register hooks functions. * fix(NA): readFile should only override the file in case it not exists. * refact(NA): removed dll compiler finish log on success with stats. * fix(NA): dll compiler alias. * fix(NA): dynamic dll plugin flow on needs compile. * fix(NA): raw alias config. * Revert "fix(NA): raw alias config." This reverts commit ebb245a78662917787e739dce3cc61e0da0971ca. * feat(NA): raw alias for moment on dll config model. * fix(NA): removed uiBundles from base_optimizer call on dynamicdllplugin. * chore(NA): decrease moment versions. * chore(NA): temporary changes on dll compiler. * fix(NA): majority of problems between dll approach, webpackshims and browser tests. * fix(NA): webpackShims integration with client vendors dll. fix(NA): enable esm modules mutability for development. fix(NA): only clean dll contents from build when they belong to node_modules. * fix(NA): fix for endless dll compilation loop. * fix(NA): removed esm plugin and skipped test using wrong stub strategy. * docs(NA): added some comments for the skipped test. * feat(NA): considering requires inside webpackShims valid entry paths to add to the dll entry file. * fix(NA): small fix for the max compilation logic. * docs(NA): add small explanatory note. * fix(NA): building requires results with relative requires found onn webpackShims. * docs(NA): add small note for error handling on dll compiler. * fix(NA): move precinct to prod dependencies. * test(NA): testing running functional tests on production. * fix(NA): restore tests run config for development flag. feat(NA): force dll creation with uiBundles is Dev flag. * chore(NA): update dependencies. * feat(NA): test update dll to completely match base optimizer one. * fix(NA): removed ts. * refact(NA): removed unused consts. * fix(NA): set back transpile sacss task in place. * fix(NA): fix resolve remoing ts and tsx. * fix(NA): set back transpile sacss task in place. * fix(NA): removing isDevmode from mustCompileDll. * fix(NA): add search for import statements into the dependencies visitor. * fix(NA): add dll suffix to vendors resource on ui bootstrap template. * fix(NA): some configs for unrelated dll work projects. * chore(NA): upgrade canvas plugins webpack build to webpack4. * chore(NA): add shim for moment-duration-format. * chore(NA): stup moment-duration-format into the moment webpackShim. * chore(NA): setup moment-duration-format into the moment-timezone webpackShim. * fix(NA): moment and moment-timezone webpackShims * chore(NA): added moment and moment-timezone webpackShims to x-pack. fix(NA): revert changes on webpackShims for oss kibana. * fix(NA): xpack webpackshims for moment. * fix(NA): remove xpack webpakcshims for moment. * fix(NA): webpakcshims for moment. * fix(NA): remove every changes from webpackShims and xpack webpackShims. * fix(NA): fix visitors to gather server dependencies resulting from export * from and export x, 'x' from. * chore(NA): update some webpack related dependencies. * fix(NA): in the dll the plugins need to have their own dependencies. It is the same for the ones into the tests relying on test against distributable. * feat(NA): including test/plugin_functional plugins into the kbn-pm bootstrap tasks. * fix(NA): wrong built yarn lock files. * chore(NA): updated webpack related dependencies. * feat(NA): add missing color for dynamic_dll_plugin logging tag. * chore(NA): removed forgotten console.log. * chore(NA): removed forgotten dead code. * chore(NA): removed missing old comment. * docs(NA): added missing notice for 2 tools we have relied on. * refact(NA): added is to a boolean variable to keep the consistency inside the code parser strategies. * fix(NA): update notice cli to exclude search inside dlls bundles. chore(NA): update notice file. * feat(NA): use lodash matches in the code parser visitors logic. * docs(NA): updated notice file related with the code parser visitors logic.. * docs(NA): added explanation for the process that decides if we should build a new dll or not. * test(NA): added missing tests for some usefull parts of the code. * refact(NA): split registerCompileHook function into small ones. * chore(NA): uncomment scripts from tests. * feat(NA): isolate code-parser in a kbn package * fix(NA): missing relative dot into the cwd function. * chore(NA): update all inter deps to match. * fix(NA): rebuild the yarn locks and the package jsons based on master ones. * fix(NA): move babel-code-parser to the prod deps. * chore(NA): include build path instead of the base root path. * refact(NA): integrate plugin_functional test plugins with workspaces. * fix(NA): include missing license for plugin functional test plugins. * fix(NA): always write posix paths into the dll entry file in order to make the dlls compilation working on windows too. chore(NA): improve error handling into dll compiler. * fix(NA): revert wrong moved line from canvas. * fix(NA): match ts-loader version between kibana and x-pack. * fix(NA): sync dll compiler with base_optimizer. * fix(NA): exclude kbn-interpreter from the dll. * refact(NA): remove exclusion of kbn-interpretor from base_optimizer. * chore(NA): add dlls folder to the yarn kbn clean script. * fix(NA): missing utf8 input format encoding when reading a file to create the hash into the watch optimizer cahce. * refact(NA): re-engineering to the dynamic_dll_plugin logs and lifecycle. * fix(NA): update clean node modules task to search under legacy/core_plugins. * fix(NA): fix build on windows with globby on cleaning dlls for the watch optimizer cache. * docs(NA): update documentation for the clean client node modules build task. * docs(NA): added extra comment to clarify the purpose for the built entrypoints. * chore(NA): update clean client node_modules code to use posix path. * feat(NA): add support for discovering server entries over the legacy plugins and the new plugins.
2018-12-05 16:45:19 +01:00
"x-pack/plugins/*",
"test/plugin_functional/plugins/*",
"test/interpreter_functional/plugins/*"
],
"nohoist": [
"**/@types/*",
"**/@types/*/**",
"**/grunt-*",
"**/grunt-*/**",
"x-pack/typescript"
]
},
"dependencies": {
"@babel/core": "^7.3.4",
"@babel/polyfill": "^7.2.5",
"@babel/register": "^7.0.0",
"@elastic/datemath": "5.0.2",
"@elastic/eui": "9.8.0",
"@elastic/filesaver": "1.1.2",
Upgrade to NodeJS 10 (#25157) * feat(NA): upgrade node js version on file configs. * chore(NA): migrate configs and 3rd party dependencies to work on node js 10.x * fix(NA): add missing async function declaration. * chore(NA): updated elastic/good package to work with node10 * chore(NA): update lockfiles. * fix(NA): add missing dep. * fix(NA): types for node 10. * test(NA): fix error return type for node10. * fix(NA): kbn-pm webpack config to unlazy a require using lazy-cache. fix(NA): build to work with node 10. * test(NA): jest integration test for kbn-pluin-helpers. * test(NA): fix jest tests for kbn-es. * fix(NA): use ostmpdir instead of a tmp folder inside the fixtures. * fix(NA): change afterEach on kbn es decompress test. * fix(NA): change afterEach on kbn es decompress test. * fix(NA): readd mock-fs for the tests that still use it on kbn-es and that works on node10. * fix(NA): readd mock-fs for the tests that still use it on kbn-es and that works on node10. * refact(NA): rewrite tests using mock-fs and completely remove this dependency. * fix(NA): failing test implementation using jest mock in order to replace mock-fs. * fix(NA): update jest snapshots to match new ones generated one node 10. * fix(NA): cli/cluster mock to spyOn off method instead off spyOn removeListener as this was changed on Node 10. * fix(NA): tests for cluster_manager to also spyOn off and on instead of addListener and removeListener * test(NA): fix management advance settings image field test flow. * fix(NA): apply missing types for src/core/server/plugins/discovery/plugins_discovery.ts. * test(NA): updated 2 missing snapshots for KuiCodeEditor on kbn-ui-framework. * refact(NA): fix eslint errors. * refact(NA): fix ts code with tslint fix. chore(NA): update jest snapshots. * chore(NA): migrate kbn config schema peer dependency to last used joi version to avoid warning on bootstrap. * fix(NA): tslint errors. * chore(NA): upgrade types node to the last version. * fix(NA): missing utf8 input format encoding when reading a file. * chore(NA): upgrade to node 10.14.1 * fix(NA): Buffer api usage to avoid deprecation warnings.
2018-12-10 18:41:51 +01:00
"@elastic/good": "8.1.1-kibana2",
"@elastic/numeral": "2.3.2",
"@elastic/ui-ace": "0.2.3",
Create vendor dll for the client modules (#22618) * feat(NA): first dll bundler code. * chore(NA): upgrade to webpack 4. * chore(NA): updated package.json * chore(NA): removed old code. * chore(NA): add parallel option. * chore(NA): removed console log and old var about node modules. * chore(NA): turn off unsafe cache. * chore(NA): update lock files. * chore(NA): new config for dll generation. * chore(NA): update stats emit. * chore(NA): update dependencies. * chore(NA): right cache loaders. * chore(NA): remove ui_bundles alias. * feat(20749): init implementation on bridge plugin for dll bundler. * feat(20749): init implementation for dll compiler. * feat(20749): dll bundler init from other process and webpack wrapper.. * feat(20749): optimizer changes to integrate with dll bundler. * chore(20749): split into different processes. * refact(20749): change to single running process. * refact(NA): improvements on dll bundler plugin. * refact(NA): removing including loop on plugins. * refact(20749): only run dllReference once. * chore(20749): todo on result.request path building. * chore(NA): lock files updated. * chore(NA): avoiding dll paths being removed. * chore(NA): tests on sync generation. * chore(NA): changes on entry paths compiler. * chore(NA): different hooks tests. * chore(20749): first working version, single process, for dynamic building dll. * feat(20749): last gross features for the dynamicdllplugin. * refact(20749): string interpolation when creating the path to delete in every optimizer cycle. feat(20749): creating the DynamicDllPlugin foundations. * chore(NA): updated base optimizer run function args. * chore(20749): first working solution with vendor dll both for prod and dev. * chore(20749): useful todos on client dlls. * feat(NA): auto built blacklist for server node_modules. * refact(NA): removed unused code. * chore(NA): update all webpack and loaders stuff to last versions. * refact(NA): first refacts on clean taks related with dll. feat(NA): added clean empty folders task. * refact(NA): removed support for console logs during the build. * refact(NA): removed extra space. * refact(NA): removed extra space. * refact(NA): getDllModules function. * chore(NA): removed unsafeCache option. * feat(NA): removed unsafeCache option. * refact(NA): apply general inheritance principles to the optimizer: hooks, and init. refact(NA): merge dynamic dll plugin into the common config. refact(NA): restore old template structure - vendors.dll style is always emitted. * fix(NA): fs_optimizer run function by not returning inside async func. * fix(NA): change template anchor name from vendor to vendors. * docs(NA): added info about files were keeping when cleaning the bundles. * fix(NA): filtering elible dll modules to delete. * refact(NA): removed old dll bundler in favor on new dynamic dll plugin. * refact(NA): initial split for clean modules on dll task. * refact(NA): update new dll config model. refact(NA): update config on dynamicdllplugin. * refact(NA): major work refactor for dynamic dll plugin. * refact(NA): extract clean node modules on dll task to its own folder. * refact(NA): organize imports. * docs(NA): add docs to registerCompilerHooks function for the optimizer. * refact(NA): finished refactor for dynamic dll plugin with correct error handling for runWebpack function. * refact(NA): basic structure for clean client modules on dll task. * fix(NA): resolve path for dll manifest during cclean build tasks. * refact(NA): split webpack dll related functions to their own file for clean client modules on dll task. * refact(NA): added error handling for the clean client modules on dll task - webpack dll related functions. * docs(NA): added license header. * refact(NA): complete split out the functions from the clean modules on dll task to the code_parser file. * refact(NA): main task entries compose. * docs(NA): extend docs for the getDependenciesFromFile function. * refact(NA): final structure split for clean client node modules dll task. * fix(NA): added missing param to calculate top level dependencies. * docs(NA): completed todo description about dll location. * fix(NA): add production option to webpack config on kbn-pm. * docs(NA): extended documentation about style extraction. * refact(NA): removed extra comments. * feat(NA): env variable to force dll creation. * feat(NA): include option to define folders to keep on delete empty folders task. * refact(NA): remove unused method from dll compiler. * feat(NA): move dlls outside bundles folder and support request for /dlls from a browser perspective. * chore(NA): gitignore updated to include new dlls folder. * chore(NA): eslintignore updated. * chore(NA): removed strange file from repo. * test(NA): fix failing tests for bundles_route. * fix(NA): change paths array to path string in a server route config. * fix(NA): remove infinite loop calls on register hooks functions. * fix(NA): readFile should only override the file in case it not exists. * refact(NA): removed dll compiler finish log on success with stats. * fix(NA): dll compiler alias. * fix(NA): dynamic dll plugin flow on needs compile. * fix(NA): raw alias config. * Revert "fix(NA): raw alias config." This reverts commit ebb245a78662917787e739dce3cc61e0da0971ca. * feat(NA): raw alias for moment on dll config model. * fix(NA): removed uiBundles from base_optimizer call on dynamicdllplugin. * chore(NA): decrease moment versions. * chore(NA): temporary changes on dll compiler. * fix(NA): majority of problems between dll approach, webpackshims and browser tests. * fix(NA): webpackShims integration with client vendors dll. fix(NA): enable esm modules mutability for development. fix(NA): only clean dll contents from build when they belong to node_modules. * fix(NA): fix for endless dll compilation loop. * fix(NA): removed esm plugin and skipped test using wrong stub strategy. * docs(NA): added some comments for the skipped test. * feat(NA): considering requires inside webpackShims valid entry paths to add to the dll entry file. * fix(NA): small fix for the max compilation logic. * docs(NA): add small explanatory note. * fix(NA): building requires results with relative requires found onn webpackShims. * docs(NA): add small note for error handling on dll compiler. * fix(NA): move precinct to prod dependencies. * test(NA): testing running functional tests on production. * fix(NA): restore tests run config for development flag. feat(NA): force dll creation with uiBundles is Dev flag. * chore(NA): update dependencies. * feat(NA): test update dll to completely match base optimizer one. * fix(NA): removed ts. * refact(NA): removed unused consts. * fix(NA): set back transpile sacss task in place. * fix(NA): fix resolve remoing ts and tsx. * fix(NA): set back transpile sacss task in place. * fix(NA): removing isDevmode from mustCompileDll. * fix(NA): add search for import statements into the dependencies visitor. * fix(NA): add dll suffix to vendors resource on ui bootstrap template. * fix(NA): some configs for unrelated dll work projects. * chore(NA): upgrade canvas plugins webpack build to webpack4. * chore(NA): add shim for moment-duration-format. * chore(NA): stup moment-duration-format into the moment webpackShim. * chore(NA): setup moment-duration-format into the moment-timezone webpackShim. * fix(NA): moment and moment-timezone webpackShims * chore(NA): added moment and moment-timezone webpackShims to x-pack. fix(NA): revert changes on webpackShims for oss kibana. * fix(NA): xpack webpackshims for moment. * fix(NA): remove xpack webpakcshims for moment. * fix(NA): webpakcshims for moment. * fix(NA): remove every changes from webpackShims and xpack webpackShims. * fix(NA): fix visitors to gather server dependencies resulting from export * from and export x, 'x' from. * chore(NA): update some webpack related dependencies. * fix(NA): in the dll the plugins need to have their own dependencies. It is the same for the ones into the tests relying on test against distributable. * feat(NA): including test/plugin_functional plugins into the kbn-pm bootstrap tasks. * fix(NA): wrong built yarn lock files. * chore(NA): updated webpack related dependencies. * feat(NA): add missing color for dynamic_dll_plugin logging tag. * chore(NA): removed forgotten console.log. * chore(NA): removed forgotten dead code. * chore(NA): removed missing old comment. * docs(NA): added missing notice for 2 tools we have relied on. * refact(NA): added is to a boolean variable to keep the consistency inside the code parser strategies. * fix(NA): update notice cli to exclude search inside dlls bundles. chore(NA): update notice file. * feat(NA): use lodash matches in the code parser visitors logic. * docs(NA): updated notice file related with the code parser visitors logic.. * docs(NA): added explanation for the process that decides if we should build a new dll or not. * test(NA): added missing tests for some usefull parts of the code. * refact(NA): split registerCompileHook function into small ones. * chore(NA): uncomment scripts from tests. * feat(NA): isolate code-parser in a kbn package * fix(NA): missing relative dot into the cwd function. * chore(NA): update all inter deps to match. * fix(NA): rebuild the yarn locks and the package jsons based on master ones. * fix(NA): move babel-code-parser to the prod deps. * chore(NA): include build path instead of the base root path. * refact(NA): integrate plugin_functional test plugins with workspaces. * fix(NA): include missing license for plugin functional test plugins. * fix(NA): always write posix paths into the dll entry file in order to make the dlls compilation working on windows too. chore(NA): improve error handling into dll compiler. * fix(NA): revert wrong moved line from canvas. * fix(NA): match ts-loader version between kibana and x-pack. * fix(NA): sync dll compiler with base_optimizer. * fix(NA): exclude kbn-interpreter from the dll. * refact(NA): remove exclusion of kbn-interpretor from base_optimizer. * chore(NA): add dlls folder to the yarn kbn clean script. * fix(NA): missing utf8 input format encoding when reading a file to create the hash into the watch optimizer cahce. * refact(NA): re-engineering to the dynamic_dll_plugin logs and lifecycle. * fix(NA): update clean node modules task to search under legacy/core_plugins. * fix(NA): fix build on windows with globby on cleaning dlls for the watch optimizer cache. * docs(NA): update documentation for the clean client node modules build task. * docs(NA): added extra comment to clarify the purpose for the built entrypoints. * chore(NA): update clean client node_modules code to use posix path. * feat(NA): add support for discovering server entries over the legacy plugins and the new plugins.
2018-12-05 16:45:19 +01:00
"@kbn/babel-code-parser": "1.0.0",
"@kbn/babel-preset": "1.0.0",
"@kbn/config-schema": "1.0.0",
"@kbn/es-query": "1.0.0",
"@kbn/i18n": "1.0.0",
2018-11-28 15:37:16 +01:00
"@kbn/interpreter": "1.0.0",
"@kbn/pm": "1.0.0",
"@kbn/test-subj-selector": "0.2.1",
"@kbn/ui-framework": "1.0.0",
Basic server side export API for saved objects (#30326) (#32513) * Initial work for new server side export API * Revert UI changes, API only in this PR * Remove whitespace at top of export.asciidoc * Add tests around limitations * Add comment * Convert some files to typescript * Move Boom.boomify to where the errors are created * Use Boom.badRequest for now * Fix lint issue * Move files * Update tests * Add functional test * Export all documents by default * Update test assertions * Use ~10000 saved objects in export api integration test * Convert route to typescript, add content-type response header * Move some tests to api_integration * Use new sort and rename functions/variables * Move tests to API integration * Cleanup and finalize api integration tests * Make type or objects required but not both in the same call * Add spaces / security tests * Add noTypeOrObjects to security / spaces tests * Use json-stable-stringify and add tests for export ordering * Address self feedback, add without kibana index test * Only allow export API to export index-pattern, dashboard, visualization and search type objects * Make import export size configurable and fix broken tests * Fix broken tests * Move test config to mock server * Add more typescript types instead of using any * Convert request from GET to POST * Fix saved objects mixin test * Update src/legacy/server/saved_objects/lib/export.ts Co-Authored-By: mikecote <mikecote@users.noreply.github.com> * Apply PR feedback * Fix lint error * Update test snapshots due to jest upgrade * Add error handling for bulkGet * Split export API into two endpoints * Update src/legacy/server/saved_objects/routes/export_by_type.test.ts Co-Authored-By: mikecote <mikecote@users.noreply.github.com> * Update docs/api/saved-objects/export_by_type.asciidoc Co-Authored-By: mikecote <mikecote@users.noreply.github.com> * Update docs/api/saved-objects/export_by_type.asciidoc Co-Authored-By: mikecote <mikecote@users.noreply.github.com> * Update src/legacy/server/saved_objects/routes/export_objects.test.ts Co-Authored-By: mikecote <mikecote@users.noreply.github.com> * Apply PR feedback * MockServer -> createMockServer * Revert back to single API * Re-apply PR feedback
2019-03-05 22:38:23 +01:00
"@types/json-stable-stringify": "^1.0.32",
"@types/lodash.clonedeep": "^4.5.4",
"@types/recompose": "^0.30.5",
"JSONStream": "1.1.1",
"abortcontroller-polyfill": "^1.1.9",
2018-04-12 17:42:45 +02:00
"angular": "1.6.9",
"angular-aria": "1.6.6",
2015-07-28 02:13:45 +02:00
"angular-elastic": "2.5.0",
"angular-recursion": "^1.0.5",
"angular-route": "1.4.7",
2018-12-14 17:45:05 +01:00
"angular-sanitize": "1.6.5",
"angular-sortable-view": "0.0.15",
"autoprefixer": "^9.1.0",
"babel-loader": "8.0.5",
"bluebird": "3.5.3",
Upgrade Hapi in legacy platform to v17 (#21707) * Disable even-better monitoring * Upgrade to Hapi v15 * Upgrade to Hapi v16 * Handle optional req params correctly * Update http and kbnServer * Get mocha tests passing * Convert `reply` usages [wip] * Fix Joi and Plugin incompatibilities * Get server up and running * Get basic logging working * Fix optimizer * Fix recent route handlers * Various fixes * Fix recent routes * Upgrade wreck for async/await * Fix mocha tests * Fix joi issues * Fix xpack jest tests * Fix recent routes * Fix tests * Fix index setup * Decouple monitoring stats collection from good plugin * Update reload logging test to work * Reimplement logging with updated good plugin * Fix unit tests * Fix getConnections back * Make LegacyLoggingServer compatible with Hapi v17 * Update joi types * Fix x-pack unit tests * Remove stray debugger * Remove hapi-compat * Fix API integrations * Upgrade boom * Fix security plugin * Misc fixes * bump * Fix licensePreRoutingFactory * Fix failing integration tests * Remove unnecessary test change * Remove hapi-latest package * fx * Various cleanup * Fix race condition in oppsy events * Use elastic/good fork * Fix boom.wrap and hapi-latest changes * Simplify LegacyLoggingServer updates * package.json cleanup + test fix * yarn.lock cleanup * Change good tag * Fixes * Change return err -> throw err in routes * Fix await returns * Fix new load_data test * Make cookie security flags consistent * tmp doc * Fix types * Fix tests * Upgrade canvas plugin * Move good package to published @elastic/good one * Fix SO test * Fix logging reloading * Update APM apis * Fix error logging * Fix logging test * Convert spaces plugin * Add validation error shim * Remove 7.0 release notes * Await renderApp * Fix ccr routes * Prevent header popovers from scrolling with page content (#23850) * Fix spaces test * new yarn.lock-s * Fix spaces tests * Remove h2o2-latest * Fix @types/hapi * Upgrade InfraOps plugin * Fix package.json * Add back isSameSite: false * Upgrade beats_management plugin * Update snapshot * Fix InfraOps * Upgrade kql_telemetry * Merge upstream/master * Upgrade apm and ml * Put snapshot test back * Fx beats * Upgrade rollups * Update boom usages in new plugins
2018-10-25 23:01:12 +02:00
"boom": "^7.2.0",
"brace": "0.11.1",
Create vendor dll for the client modules (#22618) * feat(NA): first dll bundler code. * chore(NA): upgrade to webpack 4. * chore(NA): updated package.json * chore(NA): removed old code. * chore(NA): add parallel option. * chore(NA): removed console log and old var about node modules. * chore(NA): turn off unsafe cache. * chore(NA): update lock files. * chore(NA): new config for dll generation. * chore(NA): update stats emit. * chore(NA): update dependencies. * chore(NA): right cache loaders. * chore(NA): remove ui_bundles alias. * feat(20749): init implementation on bridge plugin for dll bundler. * feat(20749): init implementation for dll compiler. * feat(20749): dll bundler init from other process and webpack wrapper.. * feat(20749): optimizer changes to integrate with dll bundler. * chore(20749): split into different processes. * refact(20749): change to single running process. * refact(NA): improvements on dll bundler plugin. * refact(NA): removing including loop on plugins. * refact(20749): only run dllReference once. * chore(20749): todo on result.request path building. * chore(NA): lock files updated. * chore(NA): avoiding dll paths being removed. * chore(NA): tests on sync generation. * chore(NA): changes on entry paths compiler. * chore(NA): different hooks tests. * chore(20749): first working version, single process, for dynamic building dll. * feat(20749): last gross features for the dynamicdllplugin. * refact(20749): string interpolation when creating the path to delete in every optimizer cycle. feat(20749): creating the DynamicDllPlugin foundations. * chore(NA): updated base optimizer run function args. * chore(20749): first working solution with vendor dll both for prod and dev. * chore(20749): useful todos on client dlls. * feat(NA): auto built blacklist for server node_modules. * refact(NA): removed unused code. * chore(NA): update all webpack and loaders stuff to last versions. * refact(NA): first refacts on clean taks related with dll. feat(NA): added clean empty folders task. * refact(NA): removed support for console logs during the build. * refact(NA): removed extra space. * refact(NA): removed extra space. * refact(NA): getDllModules function. * chore(NA): removed unsafeCache option. * feat(NA): removed unsafeCache option. * refact(NA): apply general inheritance principles to the optimizer: hooks, and init. refact(NA): merge dynamic dll plugin into the common config. refact(NA): restore old template structure - vendors.dll style is always emitted. * fix(NA): fs_optimizer run function by not returning inside async func. * fix(NA): change template anchor name from vendor to vendors. * docs(NA): added info about files were keeping when cleaning the bundles. * fix(NA): filtering elible dll modules to delete. * refact(NA): removed old dll bundler in favor on new dynamic dll plugin. * refact(NA): initial split for clean modules on dll task. * refact(NA): update new dll config model. refact(NA): update config on dynamicdllplugin. * refact(NA): major work refactor for dynamic dll plugin. * refact(NA): extract clean node modules on dll task to its own folder. * refact(NA): organize imports. * docs(NA): add docs to registerCompilerHooks function for the optimizer. * refact(NA): finished refactor for dynamic dll plugin with correct error handling for runWebpack function. * refact(NA): basic structure for clean client modules on dll task. * fix(NA): resolve path for dll manifest during cclean build tasks. * refact(NA): split webpack dll related functions to their own file for clean client modules on dll task. * refact(NA): added error handling for the clean client modules on dll task - webpack dll related functions. * docs(NA): added license header. * refact(NA): complete split out the functions from the clean modules on dll task to the code_parser file. * refact(NA): main task entries compose. * docs(NA): extend docs for the getDependenciesFromFile function. * refact(NA): final structure split for clean client node modules dll task. * fix(NA): added missing param to calculate top level dependencies. * docs(NA): completed todo description about dll location. * fix(NA): add production option to webpack config on kbn-pm. * docs(NA): extended documentation about style extraction. * refact(NA): removed extra comments. * feat(NA): env variable to force dll creation. * feat(NA): include option to define folders to keep on delete empty folders task. * refact(NA): remove unused method from dll compiler. * feat(NA): move dlls outside bundles folder and support request for /dlls from a browser perspective. * chore(NA): gitignore updated to include new dlls folder. * chore(NA): eslintignore updated. * chore(NA): removed strange file from repo. * test(NA): fix failing tests for bundles_route. * fix(NA): change paths array to path string in a server route config. * fix(NA): remove infinite loop calls on register hooks functions. * fix(NA): readFile should only override the file in case it not exists. * refact(NA): removed dll compiler finish log on success with stats. * fix(NA): dll compiler alias. * fix(NA): dynamic dll plugin flow on needs compile. * fix(NA): raw alias config. * Revert "fix(NA): raw alias config." This reverts commit ebb245a78662917787e739dce3cc61e0da0971ca. * feat(NA): raw alias for moment on dll config model. * fix(NA): removed uiBundles from base_optimizer call on dynamicdllplugin. * chore(NA): decrease moment versions. * chore(NA): temporary changes on dll compiler. * fix(NA): majority of problems between dll approach, webpackshims and browser tests. * fix(NA): webpackShims integration with client vendors dll. fix(NA): enable esm modules mutability for development. fix(NA): only clean dll contents from build when they belong to node_modules. * fix(NA): fix for endless dll compilation loop. * fix(NA): removed esm plugin and skipped test using wrong stub strategy. * docs(NA): added some comments for the skipped test. * feat(NA): considering requires inside webpackShims valid entry paths to add to the dll entry file. * fix(NA): small fix for the max compilation logic. * docs(NA): add small explanatory note. * fix(NA): building requires results with relative requires found onn webpackShims. * docs(NA): add small note for error handling on dll compiler. * fix(NA): move precinct to prod dependencies. * test(NA): testing running functional tests on production. * fix(NA): restore tests run config for development flag. feat(NA): force dll creation with uiBundles is Dev flag. * chore(NA): update dependencies. * feat(NA): test update dll to completely match base optimizer one. * fix(NA): removed ts. * refact(NA): removed unused consts. * fix(NA): set back transpile sacss task in place. * fix(NA): fix resolve remoing ts and tsx. * fix(NA): set back transpile sacss task in place. * fix(NA): removing isDevmode from mustCompileDll. * fix(NA): add search for import statements into the dependencies visitor. * fix(NA): add dll suffix to vendors resource on ui bootstrap template. * fix(NA): some configs for unrelated dll work projects. * chore(NA): upgrade canvas plugins webpack build to webpack4. * chore(NA): add shim for moment-duration-format. * chore(NA): stup moment-duration-format into the moment webpackShim. * chore(NA): setup moment-duration-format into the moment-timezone webpackShim. * fix(NA): moment and moment-timezone webpackShims * chore(NA): added moment and moment-timezone webpackShims to x-pack. fix(NA): revert changes on webpackShims for oss kibana. * fix(NA): xpack webpackshims for moment. * fix(NA): remove xpack webpakcshims for moment. * fix(NA): webpakcshims for moment. * fix(NA): remove every changes from webpackShims and xpack webpackShims. * fix(NA): fix visitors to gather server dependencies resulting from export * from and export x, 'x' from. * chore(NA): update some webpack related dependencies. * fix(NA): in the dll the plugins need to have their own dependencies. It is the same for the ones into the tests relying on test against distributable. * feat(NA): including test/plugin_functional plugins into the kbn-pm bootstrap tasks. * fix(NA): wrong built yarn lock files. * chore(NA): updated webpack related dependencies. * feat(NA): add missing color for dynamic_dll_plugin logging tag. * chore(NA): removed forgotten console.log. * chore(NA): removed forgotten dead code. * chore(NA): removed missing old comment. * docs(NA): added missing notice for 2 tools we have relied on. * refact(NA): added is to a boolean variable to keep the consistency inside the code parser strategies. * fix(NA): update notice cli to exclude search inside dlls bundles. chore(NA): update notice file. * feat(NA): use lodash matches in the code parser visitors logic. * docs(NA): updated notice file related with the code parser visitors logic.. * docs(NA): added explanation for the process that decides if we should build a new dll or not. * test(NA): added missing tests for some usefull parts of the code. * refact(NA): split registerCompileHook function into small ones. * chore(NA): uncomment scripts from tests. * feat(NA): isolate code-parser in a kbn package * fix(NA): missing relative dot into the cwd function. * chore(NA): update all inter deps to match. * fix(NA): rebuild the yarn locks and the package jsons based on master ones. * fix(NA): move babel-code-parser to the prod deps. * chore(NA): include build path instead of the base root path. * refact(NA): integrate plugin_functional test plugins with workspaces. * fix(NA): include missing license for plugin functional test plugins. * fix(NA): always write posix paths into the dll entry file in order to make the dlls compilation working on windows too. chore(NA): improve error handling into dll compiler. * fix(NA): revert wrong moved line from canvas. * fix(NA): match ts-loader version between kibana and x-pack. * fix(NA): sync dll compiler with base_optimizer. * fix(NA): exclude kbn-interpreter from the dll. * refact(NA): remove exclusion of kbn-interpretor from base_optimizer. * chore(NA): add dlls folder to the yarn kbn clean script. * fix(NA): missing utf8 input format encoding when reading a file to create the hash into the watch optimizer cahce. * refact(NA): re-engineering to the dynamic_dll_plugin logs and lifecycle. * fix(NA): update clean node modules task to search under legacy/core_plugins. * fix(NA): fix build on windows with globby on cleaning dlls for the watch optimizer cache. * docs(NA): update documentation for the clean client node modules build task. * docs(NA): added extra comment to clarify the purpose for the built entrypoints. * chore(NA): update clean client node_modules code to use posix path. * feat(NA): add support for discovering server entries over the legacy plugins and the new plugins.
2018-12-05 16:45:19 +01:00
"cache-loader": "1.2.2",
"chalk": "^2.4.1",
Time Series Metric Visualizations (#9725) * Initial import * updating the editor width to match the new specs * Adding tribe node support * Adding tests for server libs * removing bluebird * removing extra cruft * Fixing the font sizes * Fixed the updating code * Adding brushing * Fixing linting issues * Adding global filters * Adding missing packages * Default gauge style to half circle * Fixing the markdown css bug * Adding tests for the get_vis_data api * Adding time offset * Adding time offset to each type * fixing bugs from time offset * adding index pattern option to series * Adding index pattern overrides * Adding index pattern overrides * Fixing tests * Fixing brushing in the vis editor * Changing the label * Change the behavior of selecting a pipeline agg when only one exists. * Refactoring series a bit * Changing series options to just options * Making sure we honor the toaster container height * Adding first tests * renaming vis_config to panel_config * renaming vis_config to panel_config * Adding more tests * adding more tests * removing api subdirectory * refactoring get_vis_data (breaking it up and removing unused imports) * reorganizing the visualization directory * Re-organizing directory layouts and moving things to more logical places * Refactoring React compontents to use ES6 syntax and adding propTypes for each. Also refactored out splats as much as possible. * Adding serial differencing * Refactored gauge to use 2 components instead of 4 * Finishing react refactor on visualizations. Consolidated legned funtionality * Refactoring series config and removing a bunch of duplicate code * fixing series config name * Fixing numbers and strings (doesnt matter which it is); Fixing classname * Changing the way the dark theme works * Adding new vis into list for test * Adding empty bucket check * Fixing the index patterns in the aggs * Fixing typo * Refactoring vis_data * Fixing std_metric * Fixing refresh-hack * Adding tests for get_splits, get_last_metric, map_bucket * Fixing the error handing * removing restrictions * Sometimes values are strings or numbers... it doesn't matter * Adding new color options for splits * Fixing colors * fixing size * Adding support for fitlers agg * Fixing tests * Fixing splits for filters * Fixing Top N to work better with fitlers * Adding annotation editor * initial work for annotations * Finalizing annotations * Fixing label * making it expandable * Fixing hacks fixed by #10175 * Fixing bars to use the same stacking options as lines * Getting rid of align by colons * removing unused depends * removing unused depends * Changing to readable lodash function * Adding missing parens * refactoring custom color picker * Removing string refs and converting uncontrolled components * Fixing the controlled components where value maybe null; converting error to css * refactoring styles from components * fixing the refresh behavoir borked by fullEditor * Adding the executor service * Fixing the test directories * fixing save * Adding filter ratios * Fixing controlled components * Trying to fix the weird typing * Fixing offset bug with days * Adding percentile rank * Fixing yaxis updates; fixing percentile rank layout; adding steps to line chart * removing unused depends * Fixed a bug with the index patterns updating; fixed bug with charts rendering too much * Fixing tests * Commenting out React tests because the ENV must have change and they are no longer working * Moving bucket transform * moving calculate auto * Moving calculate_indices * moving extended_stats_types && get_agg_value * moving get_buckets_path * moving get_sibling_agg_value * moving parse_settings * moving series_agg * Moving unit_to_seconds * Fixing tests * Fixing per PR * Renaming vars to make it more clear what's happening * Changing the way testible functions are exported * fixing tests * removing unused imports; fixing typos; fixing package name * Name has to match the plugin path * Fixing typos; removing unused imports * fixing tests * rearanging and removing unused imports * Fixing a bug with unque names for radio buttons on the same form * Fixing filter ratio to use a metric instead of just count * fixing a bug with the new filter ratios * Fixing the file path from the #8 * Fixing renderComplete trigger; Fixing embedded mode; Changing names for Timelion and Time Series Visual Builder * Fixing name * Fixing docs * Fixing a typo for the field select for terms splits * Fixing tests
2017-03-02 21:07:28 +01:00
"color": "1.0.3",
"commander": "2.8.1",
"compare-versions": "3.1.0",
"core-js": "2.5.3",
Create vendor dll for the client modules (#22618) * feat(NA): first dll bundler code. * chore(NA): upgrade to webpack 4. * chore(NA): updated package.json * chore(NA): removed old code. * chore(NA): add parallel option. * chore(NA): removed console log and old var about node modules. * chore(NA): turn off unsafe cache. * chore(NA): update lock files. * chore(NA): new config for dll generation. * chore(NA): update stats emit. * chore(NA): update dependencies. * chore(NA): right cache loaders. * chore(NA): remove ui_bundles alias. * feat(20749): init implementation on bridge plugin for dll bundler. * feat(20749): init implementation for dll compiler. * feat(20749): dll bundler init from other process and webpack wrapper.. * feat(20749): optimizer changes to integrate with dll bundler. * chore(20749): split into different processes. * refact(20749): change to single running process. * refact(NA): improvements on dll bundler plugin. * refact(NA): removing including loop on plugins. * refact(20749): only run dllReference once. * chore(20749): todo on result.request path building. * chore(NA): lock files updated. * chore(NA): avoiding dll paths being removed. * chore(NA): tests on sync generation. * chore(NA): changes on entry paths compiler. * chore(NA): different hooks tests. * chore(20749): first working version, single process, for dynamic building dll. * feat(20749): last gross features for the dynamicdllplugin. * refact(20749): string interpolation when creating the path to delete in every optimizer cycle. feat(20749): creating the DynamicDllPlugin foundations. * chore(NA): updated base optimizer run function args. * chore(20749): first working solution with vendor dll both for prod and dev. * chore(20749): useful todos on client dlls. * feat(NA): auto built blacklist for server node_modules. * refact(NA): removed unused code. * chore(NA): update all webpack and loaders stuff to last versions. * refact(NA): first refacts on clean taks related with dll. feat(NA): added clean empty folders task. * refact(NA): removed support for console logs during the build. * refact(NA): removed extra space. * refact(NA): removed extra space. * refact(NA): getDllModules function. * chore(NA): removed unsafeCache option. * feat(NA): removed unsafeCache option. * refact(NA): apply general inheritance principles to the optimizer: hooks, and init. refact(NA): merge dynamic dll plugin into the common config. refact(NA): restore old template structure - vendors.dll style is always emitted. * fix(NA): fs_optimizer run function by not returning inside async func. * fix(NA): change template anchor name from vendor to vendors. * docs(NA): added info about files were keeping when cleaning the bundles. * fix(NA): filtering elible dll modules to delete. * refact(NA): removed old dll bundler in favor on new dynamic dll plugin. * refact(NA): initial split for clean modules on dll task. * refact(NA): update new dll config model. refact(NA): update config on dynamicdllplugin. * refact(NA): major work refactor for dynamic dll plugin. * refact(NA): extract clean node modules on dll task to its own folder. * refact(NA): organize imports. * docs(NA): add docs to registerCompilerHooks function for the optimizer. * refact(NA): finished refactor for dynamic dll plugin with correct error handling for runWebpack function. * refact(NA): basic structure for clean client modules on dll task. * fix(NA): resolve path for dll manifest during cclean build tasks. * refact(NA): split webpack dll related functions to their own file for clean client modules on dll task. * refact(NA): added error handling for the clean client modules on dll task - webpack dll related functions. * docs(NA): added license header. * refact(NA): complete split out the functions from the clean modules on dll task to the code_parser file. * refact(NA): main task entries compose. * docs(NA): extend docs for the getDependenciesFromFile function. * refact(NA): final structure split for clean client node modules dll task. * fix(NA): added missing param to calculate top level dependencies. * docs(NA): completed todo description about dll location. * fix(NA): add production option to webpack config on kbn-pm. * docs(NA): extended documentation about style extraction. * refact(NA): removed extra comments. * feat(NA): env variable to force dll creation. * feat(NA): include option to define folders to keep on delete empty folders task. * refact(NA): remove unused method from dll compiler. * feat(NA): move dlls outside bundles folder and support request for /dlls from a browser perspective. * chore(NA): gitignore updated to include new dlls folder. * chore(NA): eslintignore updated. * chore(NA): removed strange file from repo. * test(NA): fix failing tests for bundles_route. * fix(NA): change paths array to path string in a server route config. * fix(NA): remove infinite loop calls on register hooks functions. * fix(NA): readFile should only override the file in case it not exists. * refact(NA): removed dll compiler finish log on success with stats. * fix(NA): dll compiler alias. * fix(NA): dynamic dll plugin flow on needs compile. * fix(NA): raw alias config. * Revert "fix(NA): raw alias config." This reverts commit ebb245a78662917787e739dce3cc61e0da0971ca. * feat(NA): raw alias for moment on dll config model. * fix(NA): removed uiBundles from base_optimizer call on dynamicdllplugin. * chore(NA): decrease moment versions. * chore(NA): temporary changes on dll compiler. * fix(NA): majority of problems between dll approach, webpackshims and browser tests. * fix(NA): webpackShims integration with client vendors dll. fix(NA): enable esm modules mutability for development. fix(NA): only clean dll contents from build when they belong to node_modules. * fix(NA): fix for endless dll compilation loop. * fix(NA): removed esm plugin and skipped test using wrong stub strategy. * docs(NA): added some comments for the skipped test. * feat(NA): considering requires inside webpackShims valid entry paths to add to the dll entry file. * fix(NA): small fix for the max compilation logic. * docs(NA): add small explanatory note. * fix(NA): building requires results with relative requires found onn webpackShims. * docs(NA): add small note for error handling on dll compiler. * fix(NA): move precinct to prod dependencies. * test(NA): testing running functional tests on production. * fix(NA): restore tests run config for development flag. feat(NA): force dll creation with uiBundles is Dev flag. * chore(NA): update dependencies. * feat(NA): test update dll to completely match base optimizer one. * fix(NA): removed ts. * refact(NA): removed unused consts. * fix(NA): set back transpile sacss task in place. * fix(NA): fix resolve remoing ts and tsx. * fix(NA): set back transpile sacss task in place. * fix(NA): removing isDevmode from mustCompileDll. * fix(NA): add search for import statements into the dependencies visitor. * fix(NA): add dll suffix to vendors resource on ui bootstrap template. * fix(NA): some configs for unrelated dll work projects. * chore(NA): upgrade canvas plugins webpack build to webpack4. * chore(NA): add shim for moment-duration-format. * chore(NA): stup moment-duration-format into the moment webpackShim. * chore(NA): setup moment-duration-format into the moment-timezone webpackShim. * fix(NA): moment and moment-timezone webpackShims * chore(NA): added moment and moment-timezone webpackShims to x-pack. fix(NA): revert changes on webpackShims for oss kibana. * fix(NA): xpack webpackshims for moment. * fix(NA): remove xpack webpakcshims for moment. * fix(NA): webpakcshims for moment. * fix(NA): remove every changes from webpackShims and xpack webpackShims. * fix(NA): fix visitors to gather server dependencies resulting from export * from and export x, 'x' from. * chore(NA): update some webpack related dependencies. * fix(NA): in the dll the plugins need to have their own dependencies. It is the same for the ones into the tests relying on test against distributable. * feat(NA): including test/plugin_functional plugins into the kbn-pm bootstrap tasks. * fix(NA): wrong built yarn lock files. * chore(NA): updated webpack related dependencies. * feat(NA): add missing color for dynamic_dll_plugin logging tag. * chore(NA): removed forgotten console.log. * chore(NA): removed forgotten dead code. * chore(NA): removed missing old comment. * docs(NA): added missing notice for 2 tools we have relied on. * refact(NA): added is to a boolean variable to keep the consistency inside the code parser strategies. * fix(NA): update notice cli to exclude search inside dlls bundles. chore(NA): update notice file. * feat(NA): use lodash matches in the code parser visitors logic. * docs(NA): updated notice file related with the code parser visitors logic.. * docs(NA): added explanation for the process that decides if we should build a new dll or not. * test(NA): added missing tests for some usefull parts of the code. * refact(NA): split registerCompileHook function into small ones. * chore(NA): uncomment scripts from tests. * feat(NA): isolate code-parser in a kbn package * fix(NA): missing relative dot into the cwd function. * chore(NA): update all inter deps to match. * fix(NA): rebuild the yarn locks and the package jsons based on master ones. * fix(NA): move babel-code-parser to the prod deps. * chore(NA): include build path instead of the base root path. * refact(NA): integrate plugin_functional test plugins with workspaces. * fix(NA): include missing license for plugin functional test plugins. * fix(NA): always write posix paths into the dll entry file in order to make the dlls compilation working on windows too. chore(NA): improve error handling into dll compiler. * fix(NA): revert wrong moved line from canvas. * fix(NA): match ts-loader version between kibana and x-pack. * fix(NA): sync dll compiler with base_optimizer. * fix(NA): exclude kbn-interpreter from the dll. * refact(NA): remove exclusion of kbn-interpretor from base_optimizer. * chore(NA): add dlls folder to the yarn kbn clean script. * fix(NA): missing utf8 input format encoding when reading a file to create the hash into the watch optimizer cahce. * refact(NA): re-engineering to the dynamic_dll_plugin logs and lifecycle. * fix(NA): update clean node modules task to search under legacy/core_plugins. * fix(NA): fix build on windows with globby on cleaning dlls for the watch optimizer cache. * docs(NA): update documentation for the clean client node modules build task. * docs(NA): added extra comment to clarify the purpose for the built entrypoints. * chore(NA): update clean client node_modules code to use posix path. * feat(NA): add support for discovering server entries over the legacy plugins and the new plugins.
2018-12-05 16:45:19 +01:00
"css-loader": "1.0.0",
"custom-event-polyfill": "^0.3.0",
"d3": "3.5.6",
"d3-cloud": "1.2.1",
2018-07-18 13:55:23 +02:00
"del": "^3.0.0",
"dragula": "3.7.0",
"elasticsearch": "^15.4.1",
"elasticsearch-browser": "^15.4.1",
"encode-uri-query": "1.0.0",
Upgrade to NodeJS 10 (#25157) * feat(NA): upgrade node js version on file configs. * chore(NA): migrate configs and 3rd party dependencies to work on node js 10.x * fix(NA): add missing async function declaration. * chore(NA): updated elastic/good package to work with node10 * chore(NA): update lockfiles. * fix(NA): add missing dep. * fix(NA): types for node 10. * test(NA): fix error return type for node10. * fix(NA): kbn-pm webpack config to unlazy a require using lazy-cache. fix(NA): build to work with node 10. * test(NA): jest integration test for kbn-pluin-helpers. * test(NA): fix jest tests for kbn-es. * fix(NA): use ostmpdir instead of a tmp folder inside the fixtures. * fix(NA): change afterEach on kbn es decompress test. * fix(NA): change afterEach on kbn es decompress test. * fix(NA): readd mock-fs for the tests that still use it on kbn-es and that works on node10. * fix(NA): readd mock-fs for the tests that still use it on kbn-es and that works on node10. * refact(NA): rewrite tests using mock-fs and completely remove this dependency. * fix(NA): failing test implementation using jest mock in order to replace mock-fs. * fix(NA): update jest snapshots to match new ones generated one node 10. * fix(NA): cli/cluster mock to spyOn off method instead off spyOn removeListener as this was changed on Node 10. * fix(NA): tests for cluster_manager to also spyOn off and on instead of addListener and removeListener * test(NA): fix management advance settings image field test flow. * fix(NA): apply missing types for src/core/server/plugins/discovery/plugins_discovery.ts. * test(NA): updated 2 missing snapshots for KuiCodeEditor on kbn-ui-framework. * refact(NA): fix eslint errors. * refact(NA): fix ts code with tslint fix. chore(NA): update jest snapshots. * chore(NA): migrate kbn config schema peer dependency to last used joi version to avoid warning on bootstrap. * fix(NA): tslint errors. * chore(NA): upgrade types node to the last version. * fix(NA): missing utf8 input format encoding when reading a file. * chore(NA): upgrade to node 10.14.1 * fix(NA): Buffer api usage to avoid deprecation warnings.
2018-12-10 18:41:51 +01:00
"execa": "^1.0.0",
"expiry-js": "0.1.7",
Create vendor dll for the client modules (#22618) * feat(NA): first dll bundler code. * chore(NA): upgrade to webpack 4. * chore(NA): updated package.json * chore(NA): removed old code. * chore(NA): add parallel option. * chore(NA): removed console log and old var about node modules. * chore(NA): turn off unsafe cache. * chore(NA): update lock files. * chore(NA): new config for dll generation. * chore(NA): update stats emit. * chore(NA): update dependencies. * chore(NA): right cache loaders. * chore(NA): remove ui_bundles alias. * feat(20749): init implementation on bridge plugin for dll bundler. * feat(20749): init implementation for dll compiler. * feat(20749): dll bundler init from other process and webpack wrapper.. * feat(20749): optimizer changes to integrate with dll bundler. * chore(20749): split into different processes. * refact(20749): change to single running process. * refact(NA): improvements on dll bundler plugin. * refact(NA): removing including loop on plugins. * refact(20749): only run dllReference once. * chore(20749): todo on result.request path building. * chore(NA): lock files updated. * chore(NA): avoiding dll paths being removed. * chore(NA): tests on sync generation. * chore(NA): changes on entry paths compiler. * chore(NA): different hooks tests. * chore(20749): first working version, single process, for dynamic building dll. * feat(20749): last gross features for the dynamicdllplugin. * refact(20749): string interpolation when creating the path to delete in every optimizer cycle. feat(20749): creating the DynamicDllPlugin foundations. * chore(NA): updated base optimizer run function args. * chore(20749): first working solution with vendor dll both for prod and dev. * chore(20749): useful todos on client dlls. * feat(NA): auto built blacklist for server node_modules. * refact(NA): removed unused code. * chore(NA): update all webpack and loaders stuff to last versions. * refact(NA): first refacts on clean taks related with dll. feat(NA): added clean empty folders task. * refact(NA): removed support for console logs during the build. * refact(NA): removed extra space. * refact(NA): removed extra space. * refact(NA): getDllModules function. * chore(NA): removed unsafeCache option. * feat(NA): removed unsafeCache option. * refact(NA): apply general inheritance principles to the optimizer: hooks, and init. refact(NA): merge dynamic dll plugin into the common config. refact(NA): restore old template structure - vendors.dll style is always emitted. * fix(NA): fs_optimizer run function by not returning inside async func. * fix(NA): change template anchor name from vendor to vendors. * docs(NA): added info about files were keeping when cleaning the bundles. * fix(NA): filtering elible dll modules to delete. * refact(NA): removed old dll bundler in favor on new dynamic dll plugin. * refact(NA): initial split for clean modules on dll task. * refact(NA): update new dll config model. refact(NA): update config on dynamicdllplugin. * refact(NA): major work refactor for dynamic dll plugin. * refact(NA): extract clean node modules on dll task to its own folder. * refact(NA): organize imports. * docs(NA): add docs to registerCompilerHooks function for the optimizer. * refact(NA): finished refactor for dynamic dll plugin with correct error handling for runWebpack function. * refact(NA): basic structure for clean client modules on dll task. * fix(NA): resolve path for dll manifest during cclean build tasks. * refact(NA): split webpack dll related functions to their own file for clean client modules on dll task. * refact(NA): added error handling for the clean client modules on dll task - webpack dll related functions. * docs(NA): added license header. * refact(NA): complete split out the functions from the clean modules on dll task to the code_parser file. * refact(NA): main task entries compose. * docs(NA): extend docs for the getDependenciesFromFile function. * refact(NA): final structure split for clean client node modules dll task. * fix(NA): added missing param to calculate top level dependencies. * docs(NA): completed todo description about dll location. * fix(NA): add production option to webpack config on kbn-pm. * docs(NA): extended documentation about style extraction. * refact(NA): removed extra comments. * feat(NA): env variable to force dll creation. * feat(NA): include option to define folders to keep on delete empty folders task. * refact(NA): remove unused method from dll compiler. * feat(NA): move dlls outside bundles folder and support request for /dlls from a browser perspective. * chore(NA): gitignore updated to include new dlls folder. * chore(NA): eslintignore updated. * chore(NA): removed strange file from repo. * test(NA): fix failing tests for bundles_route. * fix(NA): change paths array to path string in a server route config. * fix(NA): remove infinite loop calls on register hooks functions. * fix(NA): readFile should only override the file in case it not exists. * refact(NA): removed dll compiler finish log on success with stats. * fix(NA): dll compiler alias. * fix(NA): dynamic dll plugin flow on needs compile. * fix(NA): raw alias config. * Revert "fix(NA): raw alias config." This reverts commit ebb245a78662917787e739dce3cc61e0da0971ca. * feat(NA): raw alias for moment on dll config model. * fix(NA): removed uiBundles from base_optimizer call on dynamicdllplugin. * chore(NA): decrease moment versions. * chore(NA): temporary changes on dll compiler. * fix(NA): majority of problems between dll approach, webpackshims and browser tests. * fix(NA): webpackShims integration with client vendors dll. fix(NA): enable esm modules mutability for development. fix(NA): only clean dll contents from build when they belong to node_modules. * fix(NA): fix for endless dll compilation loop. * fix(NA): removed esm plugin and skipped test using wrong stub strategy. * docs(NA): added some comments for the skipped test. * feat(NA): considering requires inside webpackShims valid entry paths to add to the dll entry file. * fix(NA): small fix for the max compilation logic. * docs(NA): add small explanatory note. * fix(NA): building requires results with relative requires found onn webpackShims. * docs(NA): add small note for error handling on dll compiler. * fix(NA): move precinct to prod dependencies. * test(NA): testing running functional tests on production. * fix(NA): restore tests run config for development flag. feat(NA): force dll creation with uiBundles is Dev flag. * chore(NA): update dependencies. * feat(NA): test update dll to completely match base optimizer one. * fix(NA): removed ts. * refact(NA): removed unused consts. * fix(NA): set back transpile sacss task in place. * fix(NA): fix resolve remoing ts and tsx. * fix(NA): set back transpile sacss task in place. * fix(NA): removing isDevmode from mustCompileDll. * fix(NA): add search for import statements into the dependencies visitor. * fix(NA): add dll suffix to vendors resource on ui bootstrap template. * fix(NA): some configs for unrelated dll work projects. * chore(NA): upgrade canvas plugins webpack build to webpack4. * chore(NA): add shim for moment-duration-format. * chore(NA): stup moment-duration-format into the moment webpackShim. * chore(NA): setup moment-duration-format into the moment-timezone webpackShim. * fix(NA): moment and moment-timezone webpackShims * chore(NA): added moment and moment-timezone webpackShims to x-pack. fix(NA): revert changes on webpackShims for oss kibana. * fix(NA): xpack webpackshims for moment. * fix(NA): remove xpack webpakcshims for moment. * fix(NA): webpakcshims for moment. * fix(NA): remove every changes from webpackShims and xpack webpackShims. * fix(NA): fix visitors to gather server dependencies resulting from export * from and export x, 'x' from. * chore(NA): update some webpack related dependencies. * fix(NA): in the dll the plugins need to have their own dependencies. It is the same for the ones into the tests relying on test against distributable. * feat(NA): including test/plugin_functional plugins into the kbn-pm bootstrap tasks. * fix(NA): wrong built yarn lock files. * chore(NA): updated webpack related dependencies. * feat(NA): add missing color for dynamic_dll_plugin logging tag. * chore(NA): removed forgotten console.log. * chore(NA): removed forgotten dead code. * chore(NA): removed missing old comment. * docs(NA): added missing notice for 2 tools we have relied on. * refact(NA): added is to a boolean variable to keep the consistency inside the code parser strategies. * fix(NA): update notice cli to exclude search inside dlls bundles. chore(NA): update notice file. * feat(NA): use lodash matches in the code parser visitors logic. * docs(NA): updated notice file related with the code parser visitors logic.. * docs(NA): added explanation for the process that decides if we should build a new dll or not. * test(NA): added missing tests for some usefull parts of the code. * refact(NA): split registerCompileHook function into small ones. * chore(NA): uncomment scripts from tests. * feat(NA): isolate code-parser in a kbn package * fix(NA): missing relative dot into the cwd function. * chore(NA): update all inter deps to match. * fix(NA): rebuild the yarn locks and the package jsons based on master ones. * fix(NA): move babel-code-parser to the prod deps. * chore(NA): include build path instead of the base root path. * refact(NA): integrate plugin_functional test plugins with workspaces. * fix(NA): include missing license for plugin functional test plugins. * fix(NA): always write posix paths into the dll entry file in order to make the dlls compilation working on windows too. chore(NA): improve error handling into dll compiler. * fix(NA): revert wrong moved line from canvas. * fix(NA): match ts-loader version between kibana and x-pack. * fix(NA): sync dll compiler with base_optimizer. * fix(NA): exclude kbn-interpreter from the dll. * refact(NA): remove exclusion of kbn-interpretor from base_optimizer. * chore(NA): add dlls folder to the yarn kbn clean script. * fix(NA): missing utf8 input format encoding when reading a file to create the hash into the watch optimizer cahce. * refact(NA): re-engineering to the dynamic_dll_plugin logs and lifecycle. * fix(NA): update clean node modules task to search under legacy/core_plugins. * fix(NA): fix build on windows with globby on cleaning dlls for the watch optimizer cache. * docs(NA): update documentation for the clean client node modules build task. * docs(NA): added extra comment to clarify the purpose for the built entrypoints. * chore(NA): update clean client node_modules code to use posix path. * feat(NA): add support for discovering server entries over the legacy plugins and the new plugins.
2018-12-05 16:45:19 +01:00
"file-loader": "2.0.0",
[functionalTestRunner] replace intern (#10910) * [functional_test_runner] replace functional testing tools with custom/pluggable solution * [functional_test_runner] Convert unit tests to commonjs format * [functional_test_runner] Fix dashboard test in wrong mode * [functional_test_runner] Add dashboardLandingPage test subject * [functional_test_runner] Get Visualize page object * [functional_test_runner] Fix outdated references * [functional_test_runner] Fix more outdated refs * [functional_test_runner] Remove duplicate tests * [functional_test_runner] Improve test readability * [functional_test_runner] :disappointed: So many duplicate methods * [functional_test_runner] Move mgmt `before` outside toplevel describe * [functional_test_runner] Settings page obj missing methods * [functional_test_runner] Add improvements from @gammon * [functional_test_runner] Fix return statements in async funcs * [functional_test_runner] Move before() to correct scope * [functional_test_runner] Add after() hooks to remove index patterns * [functional_test_runner] Attempt to fix vertical bar chart tests * [functional_test_runner] Clean up * [functional_test_runner] Reinstate unit tests * [functional_test_runner] Set default loglevel back to info * [functional_test_runner] Replace `context`s with `describe`s * [functional_test_runner] Better error handling * [functional_test_runner] Add in new Tile Map tests * Incorporate changes from master * [functional_test_runner] validate that every test file has a single top-level suite * Update contributing doc with link to full doc * [docs] Spelling and grammar fixes * docs: writing and running functional tests * [docs] Move plugin doc to plugin area * [docs] Housekeeping. Doc in wrong place * [docs] Remove dup doc file * [grunt] Only run mocha_setup when running tests, not every grunt task
2017-04-12 00:01:06 +02:00
"font-awesome": "4.4.0",
"getos": "^3.1.0",
2018-07-27 13:30:17 +02:00
"glob": "^7.1.2",
"glob-all": "^3.1.0",
"globby": "^8.0.1",
"good-squeeze": "2.1.0",
Upgrade Hapi in legacy platform to v17 (#21707) * Disable even-better monitoring * Upgrade to Hapi v15 * Upgrade to Hapi v16 * Handle optional req params correctly * Update http and kbnServer * Get mocha tests passing * Convert `reply` usages [wip] * Fix Joi and Plugin incompatibilities * Get server up and running * Get basic logging working * Fix optimizer * Fix recent route handlers * Various fixes * Fix recent routes * Upgrade wreck for async/await * Fix mocha tests * Fix joi issues * Fix xpack jest tests * Fix recent routes * Fix tests * Fix index setup * Decouple monitoring stats collection from good plugin * Update reload logging test to work * Reimplement logging with updated good plugin * Fix unit tests * Fix getConnections back * Make LegacyLoggingServer compatible with Hapi v17 * Update joi types * Fix x-pack unit tests * Remove stray debugger * Remove hapi-compat * Fix API integrations * Upgrade boom * Fix security plugin * Misc fixes * bump * Fix licensePreRoutingFactory * Fix failing integration tests * Remove unnecessary test change * Remove hapi-latest package * fx * Various cleanup * Fix race condition in oppsy events * Use elastic/good fork * Fix boom.wrap and hapi-latest changes * Simplify LegacyLoggingServer updates * package.json cleanup + test fix * yarn.lock cleanup * Change good tag * Fixes * Change return err -> throw err in routes * Fix await returns * Fix new load_data test * Make cookie security flags consistent * tmp doc * Fix types * Fix tests * Upgrade canvas plugin * Move good package to published @elastic/good one * Fix SO test * Fix logging reloading * Update APM apis * Fix error logging * Fix logging test * Convert spaces plugin * Add validation error shim * Remove 7.0 release notes * Await renderApp * Fix ccr routes * Prevent header popovers from scrolling with page content (#23850) * Fix spaces test * new yarn.lock-s * Fix spaces tests * Remove h2o2-latest * Fix @types/hapi * Upgrade InfraOps plugin * Fix package.json * Add back isSameSite: false * Upgrade beats_management plugin * Update snapshot * Fix InfraOps * Upgrade kql_telemetry * Merge upstream/master * Upgrade apm and ml * Put snapshot test back * Fx beats * Upgrade rollups * Update boom usages in new plugins
2018-10-25 23:01:12 +02:00
"h2o2": "^8.1.2",
2019-03-08 00:23:08 +01:00
"handlebars": "4.0.13",
Upgrade Hapi in legacy platform to v17 (#21707) * Disable even-better monitoring * Upgrade to Hapi v15 * Upgrade to Hapi v16 * Handle optional req params correctly * Update http and kbnServer * Get mocha tests passing * Convert `reply` usages [wip] * Fix Joi and Plugin incompatibilities * Get server up and running * Get basic logging working * Fix optimizer * Fix recent route handlers * Various fixes * Fix recent routes * Upgrade wreck for async/await * Fix mocha tests * Fix joi issues * Fix xpack jest tests * Fix recent routes * Fix tests * Fix index setup * Decouple monitoring stats collection from good plugin * Update reload logging test to work * Reimplement logging with updated good plugin * Fix unit tests * Fix getConnections back * Make LegacyLoggingServer compatible with Hapi v17 * Update joi types * Fix x-pack unit tests * Remove stray debugger * Remove hapi-compat * Fix API integrations * Upgrade boom * Fix security plugin * Misc fixes * bump * Fix licensePreRoutingFactory * Fix failing integration tests * Remove unnecessary test change * Remove hapi-latest package * fx * Various cleanup * Fix race condition in oppsy events * Use elastic/good fork * Fix boom.wrap and hapi-latest changes * Simplify LegacyLoggingServer updates * package.json cleanup + test fix * yarn.lock cleanup * Change good tag * Fixes * Change return err -> throw err in routes * Fix await returns * Fix new load_data test * Make cookie security flags consistent * tmp doc * Fix types * Fix tests * Upgrade canvas plugin * Move good package to published @elastic/good one * Fix SO test * Fix logging reloading * Update APM apis * Fix error logging * Fix logging test * Convert spaces plugin * Add validation error shim * Remove 7.0 release notes * Await renderApp * Fix ccr routes * Prevent header popovers from scrolling with page content (#23850) * Fix spaces test * new yarn.lock-s * Fix spaces tests * Remove h2o2-latest * Fix @types/hapi * Upgrade InfraOps plugin * Fix package.json * Add back isSameSite: false * Upgrade beats_management plugin * Update snapshot * Fix InfraOps * Upgrade kql_telemetry * Merge upstream/master * Upgrade apm and ml * Put snapshot test back * Fx beats * Upgrade rollups * Update boom usages in new plugins
2018-10-25 23:01:12 +02:00
"hapi": "^17.5.3",
"hjson": "3.1.0",
Upgrade Hapi in legacy platform to v17 (#21707) * Disable even-better monitoring * Upgrade to Hapi v15 * Upgrade to Hapi v16 * Handle optional req params correctly * Update http and kbnServer * Get mocha tests passing * Convert `reply` usages [wip] * Fix Joi and Plugin incompatibilities * Get server up and running * Get basic logging working * Fix optimizer * Fix recent route handlers * Various fixes * Fix recent routes * Upgrade wreck for async/await * Fix mocha tests * Fix joi issues * Fix xpack jest tests * Fix recent routes * Fix tests * Fix index setup * Decouple monitoring stats collection from good plugin * Update reload logging test to work * Reimplement logging with updated good plugin * Fix unit tests * Fix getConnections back * Make LegacyLoggingServer compatible with Hapi v17 * Update joi types * Fix x-pack unit tests * Remove stray debugger * Remove hapi-compat * Fix API integrations * Upgrade boom * Fix security plugin * Misc fixes * bump * Fix licensePreRoutingFactory * Fix failing integration tests * Remove unnecessary test change * Remove hapi-latest package * fx * Various cleanup * Fix race condition in oppsy events * Use elastic/good fork * Fix boom.wrap and hapi-latest changes * Simplify LegacyLoggingServer updates * package.json cleanup + test fix * yarn.lock cleanup * Change good tag * Fixes * Change return err -> throw err in routes * Fix await returns * Fix new load_data test * Make cookie security flags consistent * tmp doc * Fix types * Fix tests * Upgrade canvas plugin * Move good package to published @elastic/good one * Fix SO test * Fix logging reloading * Update APM apis * Fix error logging * Fix logging test * Convert spaces plugin * Add validation error shim * Remove 7.0 release notes * Await renderApp * Fix ccr routes * Prevent header popovers from scrolling with page content (#23850) * Fix spaces test * new yarn.lock-s * Fix spaces tests * Remove h2o2-latest * Fix @types/hapi * Upgrade InfraOps plugin * Fix package.json * Add back isSameSite: false * Upgrade beats_management plugin * Update snapshot * Fix InfraOps * Upgrade kql_telemetry * Merge upstream/master * Upgrade apm and ml * Put snapshot test back * Fx beats * Upgrade rollups * Update boom usages in new plugins
2018-10-25 23:01:12 +02:00
"hoek": "^5.0.4",
2018-05-01 22:52:55 +02:00
"http-proxy-agent": "^2.1.0",
"https-proxy-agent": "^2.2.1",
Upgrade Hapi in legacy platform to v17 (#21707) * Disable even-better monitoring * Upgrade to Hapi v15 * Upgrade to Hapi v16 * Handle optional req params correctly * Update http and kbnServer * Get mocha tests passing * Convert `reply` usages [wip] * Fix Joi and Plugin incompatibilities * Get server up and running * Get basic logging working * Fix optimizer * Fix recent route handlers * Various fixes * Fix recent routes * Upgrade wreck for async/await * Fix mocha tests * Fix joi issues * Fix xpack jest tests * Fix recent routes * Fix tests * Fix index setup * Decouple monitoring stats collection from good plugin * Update reload logging test to work * Reimplement logging with updated good plugin * Fix unit tests * Fix getConnections back * Make LegacyLoggingServer compatible with Hapi v17 * Update joi types * Fix x-pack unit tests * Remove stray debugger * Remove hapi-compat * Fix API integrations * Upgrade boom * Fix security plugin * Misc fixes * bump * Fix licensePreRoutingFactory * Fix failing integration tests * Remove unnecessary test change * Remove hapi-latest package * fx * Various cleanup * Fix race condition in oppsy events * Use elastic/good fork * Fix boom.wrap and hapi-latest changes * Simplify LegacyLoggingServer updates * package.json cleanup + test fix * yarn.lock cleanup * Change good tag * Fixes * Change return err -> throw err in routes * Fix await returns * Fix new load_data test * Make cookie security flags consistent * tmp doc * Fix types * Fix tests * Upgrade canvas plugin * Move good package to published @elastic/good one * Fix SO test * Fix logging reloading * Update APM apis * Fix error logging * Fix logging test * Convert spaces plugin * Add validation error shim * Remove 7.0 release notes * Await renderApp * Fix ccr routes * Prevent header popovers from scrolling with page content (#23850) * Fix spaces test * new yarn.lock-s * Fix spaces tests * Remove h2o2-latest * Fix @types/hapi * Upgrade InfraOps plugin * Fix package.json * Add back isSameSite: false * Upgrade beats_management plugin * Update snapshot * Fix InfraOps * Upgrade kql_telemetry * Merge upstream/master * Upgrade apm and ml * Put snapshot test back * Fx beats * Upgrade rollups * Update boom usages in new plugins
2018-10-25 23:01:12 +02:00
"inert": "^5.1.0",
"joi": "^13.5.2",
"jquery": "^3.3.1",
"js-yaml": "3.4.1",
Basic server side export API for saved objects (#30326) (#32513) * Initial work for new server side export API * Revert UI changes, API only in this PR * Remove whitespace at top of export.asciidoc * Add tests around limitations * Add comment * Convert some files to typescript * Move Boom.boomify to where the errors are created * Use Boom.badRequest for now * Fix lint issue * Move files * Update tests * Add functional test * Export all documents by default * Update test assertions * Use ~10000 saved objects in export api integration test * Convert route to typescript, add content-type response header * Move some tests to api_integration * Use new sort and rename functions/variables * Move tests to API integration * Cleanup and finalize api integration tests * Make type or objects required but not both in the same call * Add spaces / security tests * Add noTypeOrObjects to security / spaces tests * Use json-stable-stringify and add tests for export ordering * Address self feedback, add without kibana index test * Only allow export API to export index-pattern, dashboard, visualization and search type objects * Make import export size configurable and fix broken tests * Fix broken tests * Move test config to mock server * Add more typescript types instead of using any * Convert request from GET to POST * Fix saved objects mixin test * Update src/legacy/server/saved_objects/lib/export.ts Co-Authored-By: mikecote <mikecote@users.noreply.github.com> * Apply PR feedback * Fix lint error * Update test snapshots due to jest upgrade * Add error handling for bulkGet * Split export API into two endpoints * Update src/legacy/server/saved_objects/routes/export_by_type.test.ts Co-Authored-By: mikecote <mikecote@users.noreply.github.com> * Update docs/api/saved-objects/export_by_type.asciidoc Co-Authored-By: mikecote <mikecote@users.noreply.github.com> * Update docs/api/saved-objects/export_by_type.asciidoc Co-Authored-By: mikecote <mikecote@users.noreply.github.com> * Update src/legacy/server/saved_objects/routes/export_objects.test.ts Co-Authored-By: mikecote <mikecote@users.noreply.github.com> * Apply PR feedback * MockServer -> createMockServer * Revert back to single API * Re-apply PR feedback
2019-03-05 22:38:23 +01:00
"json-stable-stringify": "^1.0.1",
"json-stringify-pretty-compact": "1.0.4",
"json-stringify-safe": "5.0.1",
"leaflet": "1.0.3",
"leaflet-draw": "0.4.10",
"leaflet-responsive-popup": "0.2.0",
"leaflet-vega": "^0.8.6",
"leaflet.heat": "0.2.0",
"less": "^2.7.3",
Create vendor dll for the client modules (#22618) * feat(NA): first dll bundler code. * chore(NA): upgrade to webpack 4. * chore(NA): updated package.json * chore(NA): removed old code. * chore(NA): add parallel option. * chore(NA): removed console log and old var about node modules. * chore(NA): turn off unsafe cache. * chore(NA): update lock files. * chore(NA): new config for dll generation. * chore(NA): update stats emit. * chore(NA): update dependencies. * chore(NA): right cache loaders. * chore(NA): remove ui_bundles alias. * feat(20749): init implementation on bridge plugin for dll bundler. * feat(20749): init implementation for dll compiler. * feat(20749): dll bundler init from other process and webpack wrapper.. * feat(20749): optimizer changes to integrate with dll bundler. * chore(20749): split into different processes. * refact(20749): change to single running process. * refact(NA): improvements on dll bundler plugin. * refact(NA): removing including loop on plugins. * refact(20749): only run dllReference once. * chore(20749): todo on result.request path building. * chore(NA): lock files updated. * chore(NA): avoiding dll paths being removed. * chore(NA): tests on sync generation. * chore(NA): changes on entry paths compiler. * chore(NA): different hooks tests. * chore(20749): first working version, single process, for dynamic building dll. * feat(20749): last gross features for the dynamicdllplugin. * refact(20749): string interpolation when creating the path to delete in every optimizer cycle. feat(20749): creating the DynamicDllPlugin foundations. * chore(NA): updated base optimizer run function args. * chore(20749): first working solution with vendor dll both for prod and dev. * chore(20749): useful todos on client dlls. * feat(NA): auto built blacklist for server node_modules. * refact(NA): removed unused code. * chore(NA): update all webpack and loaders stuff to last versions. * refact(NA): first refacts on clean taks related with dll. feat(NA): added clean empty folders task. * refact(NA): removed support for console logs during the build. * refact(NA): removed extra space. * refact(NA): removed extra space. * refact(NA): getDllModules function. * chore(NA): removed unsafeCache option. * feat(NA): removed unsafeCache option. * refact(NA): apply general inheritance principles to the optimizer: hooks, and init. refact(NA): merge dynamic dll plugin into the common config. refact(NA): restore old template structure - vendors.dll style is always emitted. * fix(NA): fs_optimizer run function by not returning inside async func. * fix(NA): change template anchor name from vendor to vendors. * docs(NA): added info about files were keeping when cleaning the bundles. * fix(NA): filtering elible dll modules to delete. * refact(NA): removed old dll bundler in favor on new dynamic dll plugin. * refact(NA): initial split for clean modules on dll task. * refact(NA): update new dll config model. refact(NA): update config on dynamicdllplugin. * refact(NA): major work refactor for dynamic dll plugin. * refact(NA): extract clean node modules on dll task to its own folder. * refact(NA): organize imports. * docs(NA): add docs to registerCompilerHooks function for the optimizer. * refact(NA): finished refactor for dynamic dll plugin with correct error handling for runWebpack function. * refact(NA): basic structure for clean client modules on dll task. * fix(NA): resolve path for dll manifest during cclean build tasks. * refact(NA): split webpack dll related functions to their own file for clean client modules on dll task. * refact(NA): added error handling for the clean client modules on dll task - webpack dll related functions. * docs(NA): added license header. * refact(NA): complete split out the functions from the clean modules on dll task to the code_parser file. * refact(NA): main task entries compose. * docs(NA): extend docs for the getDependenciesFromFile function. * refact(NA): final structure split for clean client node modules dll task. * fix(NA): added missing param to calculate top level dependencies. * docs(NA): completed todo description about dll location. * fix(NA): add production option to webpack config on kbn-pm. * docs(NA): extended documentation about style extraction. * refact(NA): removed extra comments. * feat(NA): env variable to force dll creation. * feat(NA): include option to define folders to keep on delete empty folders task. * refact(NA): remove unused method from dll compiler. * feat(NA): move dlls outside bundles folder and support request for /dlls from a browser perspective. * chore(NA): gitignore updated to include new dlls folder. * chore(NA): eslintignore updated. * chore(NA): removed strange file from repo. * test(NA): fix failing tests for bundles_route. * fix(NA): change paths array to path string in a server route config. * fix(NA): remove infinite loop calls on register hooks functions. * fix(NA): readFile should only override the file in case it not exists. * refact(NA): removed dll compiler finish log on success with stats. * fix(NA): dll compiler alias. * fix(NA): dynamic dll plugin flow on needs compile. * fix(NA): raw alias config. * Revert "fix(NA): raw alias config." This reverts commit ebb245a78662917787e739dce3cc61e0da0971ca. * feat(NA): raw alias for moment on dll config model. * fix(NA): removed uiBundles from base_optimizer call on dynamicdllplugin. * chore(NA): decrease moment versions. * chore(NA): temporary changes on dll compiler. * fix(NA): majority of problems between dll approach, webpackshims and browser tests. * fix(NA): webpackShims integration with client vendors dll. fix(NA): enable esm modules mutability for development. fix(NA): only clean dll contents from build when they belong to node_modules. * fix(NA): fix for endless dll compilation loop. * fix(NA): removed esm plugin and skipped test using wrong stub strategy. * docs(NA): added some comments for the skipped test. * feat(NA): considering requires inside webpackShims valid entry paths to add to the dll entry file. * fix(NA): small fix for the max compilation logic. * docs(NA): add small explanatory note. * fix(NA): building requires results with relative requires found onn webpackShims. * docs(NA): add small note for error handling on dll compiler. * fix(NA): move precinct to prod dependencies. * test(NA): testing running functional tests on production. * fix(NA): restore tests run config for development flag. feat(NA): force dll creation with uiBundles is Dev flag. * chore(NA): update dependencies. * feat(NA): test update dll to completely match base optimizer one. * fix(NA): removed ts. * refact(NA): removed unused consts. * fix(NA): set back transpile sacss task in place. * fix(NA): fix resolve remoing ts and tsx. * fix(NA): set back transpile sacss task in place. * fix(NA): removing isDevmode from mustCompileDll. * fix(NA): add search for import statements into the dependencies visitor. * fix(NA): add dll suffix to vendors resource on ui bootstrap template. * fix(NA): some configs for unrelated dll work projects. * chore(NA): upgrade canvas plugins webpack build to webpack4. * chore(NA): add shim for moment-duration-format. * chore(NA): stup moment-duration-format into the moment webpackShim. * chore(NA): setup moment-duration-format into the moment-timezone webpackShim. * fix(NA): moment and moment-timezone webpackShims * chore(NA): added moment and moment-timezone webpackShims to x-pack. fix(NA): revert changes on webpackShims for oss kibana. * fix(NA): xpack webpackshims for moment. * fix(NA): remove xpack webpakcshims for moment. * fix(NA): webpakcshims for moment. * fix(NA): remove every changes from webpackShims and xpack webpackShims. * fix(NA): fix visitors to gather server dependencies resulting from export * from and export x, 'x' from. * chore(NA): update some webpack related dependencies. * fix(NA): in the dll the plugins need to have their own dependencies. It is the same for the ones into the tests relying on test against distributable. * feat(NA): including test/plugin_functional plugins into the kbn-pm bootstrap tasks. * fix(NA): wrong built yarn lock files. * chore(NA): updated webpack related dependencies. * feat(NA): add missing color for dynamic_dll_plugin logging tag. * chore(NA): removed forgotten console.log. * chore(NA): removed forgotten dead code. * chore(NA): removed missing old comment. * docs(NA): added missing notice for 2 tools we have relied on. * refact(NA): added is to a boolean variable to keep the consistency inside the code parser strategies. * fix(NA): update notice cli to exclude search inside dlls bundles. chore(NA): update notice file. * feat(NA): use lodash matches in the code parser visitors logic. * docs(NA): updated notice file related with the code parser visitors logic.. * docs(NA): added explanation for the process that decides if we should build a new dll or not. * test(NA): added missing tests for some usefull parts of the code. * refact(NA): split registerCompileHook function into small ones. * chore(NA): uncomment scripts from tests. * feat(NA): isolate code-parser in a kbn package * fix(NA): missing relative dot into the cwd function. * chore(NA): update all inter deps to match. * fix(NA): rebuild the yarn locks and the package jsons based on master ones. * fix(NA): move babel-code-parser to the prod deps. * chore(NA): include build path instead of the base root path. * refact(NA): integrate plugin_functional test plugins with workspaces. * fix(NA): include missing license for plugin functional test plugins. * fix(NA): always write posix paths into the dll entry file in order to make the dlls compilation working on windows too. chore(NA): improve error handling into dll compiler. * fix(NA): revert wrong moved line from canvas. * fix(NA): match ts-loader version between kibana and x-pack. * fix(NA): sync dll compiler with base_optimizer. * fix(NA): exclude kbn-interpreter from the dll. * refact(NA): remove exclusion of kbn-interpretor from base_optimizer. * chore(NA): add dlls folder to the yarn kbn clean script. * fix(NA): missing utf8 input format encoding when reading a file to create the hash into the watch optimizer cahce. * refact(NA): re-engineering to the dynamic_dll_plugin logs and lifecycle. * fix(NA): update clean node modules task to search under legacy/core_plugins. * fix(NA): fix build on windows with globby on cleaning dlls for the watch optimizer cache. * docs(NA): update documentation for the clean client node modules build task. * docs(NA): added extra comment to clarify the purpose for the built entrypoints. * chore(NA): update clean client node_modules code to use posix path. * feat(NA): add support for discovering server entries over the legacy plugins and the new plugins.
2018-12-05 16:45:19 +01:00
"less-loader": "4.1.0",
2018-10-15 19:04:27 +02:00
"lodash": "npm:@elastic/lodash@3.10.1-kibana1",
"lodash.clonedeep": "^4.5.0",
"lru-cache": "4.1.1",
2018-05-28 16:52:04 +02:00
"markdown-it": "^8.4.1",
Create vendor dll for the client modules (#22618) * feat(NA): first dll bundler code. * chore(NA): upgrade to webpack 4. * chore(NA): updated package.json * chore(NA): removed old code. * chore(NA): add parallel option. * chore(NA): removed console log and old var about node modules. * chore(NA): turn off unsafe cache. * chore(NA): update lock files. * chore(NA): new config for dll generation. * chore(NA): update stats emit. * chore(NA): update dependencies. * chore(NA): right cache loaders. * chore(NA): remove ui_bundles alias. * feat(20749): init implementation on bridge plugin for dll bundler. * feat(20749): init implementation for dll compiler. * feat(20749): dll bundler init from other process and webpack wrapper.. * feat(20749): optimizer changes to integrate with dll bundler. * chore(20749): split into different processes. * refact(20749): change to single running process. * refact(NA): improvements on dll bundler plugin. * refact(NA): removing including loop on plugins. * refact(20749): only run dllReference once. * chore(20749): todo on result.request path building. * chore(NA): lock files updated. * chore(NA): avoiding dll paths being removed. * chore(NA): tests on sync generation. * chore(NA): changes on entry paths compiler. * chore(NA): different hooks tests. * chore(20749): first working version, single process, for dynamic building dll. * feat(20749): last gross features for the dynamicdllplugin. * refact(20749): string interpolation when creating the path to delete in every optimizer cycle. feat(20749): creating the DynamicDllPlugin foundations. * chore(NA): updated base optimizer run function args. * chore(20749): first working solution with vendor dll both for prod and dev. * chore(20749): useful todos on client dlls. * feat(NA): auto built blacklist for server node_modules. * refact(NA): removed unused code. * chore(NA): update all webpack and loaders stuff to last versions. * refact(NA): first refacts on clean taks related with dll. feat(NA): added clean empty folders task. * refact(NA): removed support for console logs during the build. * refact(NA): removed extra space. * refact(NA): removed extra space. * refact(NA): getDllModules function. * chore(NA): removed unsafeCache option. * feat(NA): removed unsafeCache option. * refact(NA): apply general inheritance principles to the optimizer: hooks, and init. refact(NA): merge dynamic dll plugin into the common config. refact(NA): restore old template structure - vendors.dll style is always emitted. * fix(NA): fs_optimizer run function by not returning inside async func. * fix(NA): change template anchor name from vendor to vendors. * docs(NA): added info about files were keeping when cleaning the bundles. * fix(NA): filtering elible dll modules to delete. * refact(NA): removed old dll bundler in favor on new dynamic dll plugin. * refact(NA): initial split for clean modules on dll task. * refact(NA): update new dll config model. refact(NA): update config on dynamicdllplugin. * refact(NA): major work refactor for dynamic dll plugin. * refact(NA): extract clean node modules on dll task to its own folder. * refact(NA): organize imports. * docs(NA): add docs to registerCompilerHooks function for the optimizer. * refact(NA): finished refactor for dynamic dll plugin with correct error handling for runWebpack function. * refact(NA): basic structure for clean client modules on dll task. * fix(NA): resolve path for dll manifest during cclean build tasks. * refact(NA): split webpack dll related functions to their own file for clean client modules on dll task. * refact(NA): added error handling for the clean client modules on dll task - webpack dll related functions. * docs(NA): added license header. * refact(NA): complete split out the functions from the clean modules on dll task to the code_parser file. * refact(NA): main task entries compose. * docs(NA): extend docs for the getDependenciesFromFile function. * refact(NA): final structure split for clean client node modules dll task. * fix(NA): added missing param to calculate top level dependencies. * docs(NA): completed todo description about dll location. * fix(NA): add production option to webpack config on kbn-pm. * docs(NA): extended documentation about style extraction. * refact(NA): removed extra comments. * feat(NA): env variable to force dll creation. * feat(NA): include option to define folders to keep on delete empty folders task. * refact(NA): remove unused method from dll compiler. * feat(NA): move dlls outside bundles folder and support request for /dlls from a browser perspective. * chore(NA): gitignore updated to include new dlls folder. * chore(NA): eslintignore updated. * chore(NA): removed strange file from repo. * test(NA): fix failing tests for bundles_route. * fix(NA): change paths array to path string in a server route config. * fix(NA): remove infinite loop calls on register hooks functions. * fix(NA): readFile should only override the file in case it not exists. * refact(NA): removed dll compiler finish log on success with stats. * fix(NA): dll compiler alias. * fix(NA): dynamic dll plugin flow on needs compile. * fix(NA): raw alias config. * Revert "fix(NA): raw alias config." This reverts commit ebb245a78662917787e739dce3cc61e0da0971ca. * feat(NA): raw alias for moment on dll config model. * fix(NA): removed uiBundles from base_optimizer call on dynamicdllplugin. * chore(NA): decrease moment versions. * chore(NA): temporary changes on dll compiler. * fix(NA): majority of problems between dll approach, webpackshims and browser tests. * fix(NA): webpackShims integration with client vendors dll. fix(NA): enable esm modules mutability for development. fix(NA): only clean dll contents from build when they belong to node_modules. * fix(NA): fix for endless dll compilation loop. * fix(NA): removed esm plugin and skipped test using wrong stub strategy. * docs(NA): added some comments for the skipped test. * feat(NA): considering requires inside webpackShims valid entry paths to add to the dll entry file. * fix(NA): small fix for the max compilation logic. * docs(NA): add small explanatory note. * fix(NA): building requires results with relative requires found onn webpackShims. * docs(NA): add small note for error handling on dll compiler. * fix(NA): move precinct to prod dependencies. * test(NA): testing running functional tests on production. * fix(NA): restore tests run config for development flag. feat(NA): force dll creation with uiBundles is Dev flag. * chore(NA): update dependencies. * feat(NA): test update dll to completely match base optimizer one. * fix(NA): removed ts. * refact(NA): removed unused consts. * fix(NA): set back transpile sacss task in place. * fix(NA): fix resolve remoing ts and tsx. * fix(NA): set back transpile sacss task in place. * fix(NA): removing isDevmode from mustCompileDll. * fix(NA): add search for import statements into the dependencies visitor. * fix(NA): add dll suffix to vendors resource on ui bootstrap template. * fix(NA): some configs for unrelated dll work projects. * chore(NA): upgrade canvas plugins webpack build to webpack4. * chore(NA): add shim for moment-duration-format. * chore(NA): stup moment-duration-format into the moment webpackShim. * chore(NA): setup moment-duration-format into the moment-timezone webpackShim. * fix(NA): moment and moment-timezone webpackShims * chore(NA): added moment and moment-timezone webpackShims to x-pack. fix(NA): revert changes on webpackShims for oss kibana. * fix(NA): xpack webpackshims for moment. * fix(NA): remove xpack webpakcshims for moment. * fix(NA): webpakcshims for moment. * fix(NA): remove every changes from webpackShims and xpack webpackShims. * fix(NA): fix visitors to gather server dependencies resulting from export * from and export x, 'x' from. * chore(NA): update some webpack related dependencies. * fix(NA): in the dll the plugins need to have their own dependencies. It is the same for the ones into the tests relying on test against distributable. * feat(NA): including test/plugin_functional plugins into the kbn-pm bootstrap tasks. * fix(NA): wrong built yarn lock files. * chore(NA): updated webpack related dependencies. * feat(NA): add missing color for dynamic_dll_plugin logging tag. * chore(NA): removed forgotten console.log. * chore(NA): removed forgotten dead code. * chore(NA): removed missing old comment. * docs(NA): added missing notice for 2 tools we have relied on. * refact(NA): added is to a boolean variable to keep the consistency inside the code parser strategies. * fix(NA): update notice cli to exclude search inside dlls bundles. chore(NA): update notice file. * feat(NA): use lodash matches in the code parser visitors logic. * docs(NA): updated notice file related with the code parser visitors logic.. * docs(NA): added explanation for the process that decides if we should build a new dll or not. * test(NA): added missing tests for some usefull parts of the code. * refact(NA): split registerCompileHook function into small ones. * chore(NA): uncomment scripts from tests. * feat(NA): isolate code-parser in a kbn package * fix(NA): missing relative dot into the cwd function. * chore(NA): update all inter deps to match. * fix(NA): rebuild the yarn locks and the package jsons based on master ones. * fix(NA): move babel-code-parser to the prod deps. * chore(NA): include build path instead of the base root path. * refact(NA): integrate plugin_functional test plugins with workspaces. * fix(NA): include missing license for plugin functional test plugins. * fix(NA): always write posix paths into the dll entry file in order to make the dlls compilation working on windows too. chore(NA): improve error handling into dll compiler. * fix(NA): revert wrong moved line from canvas. * fix(NA): match ts-loader version between kibana and x-pack. * fix(NA): sync dll compiler with base_optimizer. * fix(NA): exclude kbn-interpreter from the dll. * refact(NA): remove exclusion of kbn-interpretor from base_optimizer. * chore(NA): add dlls folder to the yarn kbn clean script. * fix(NA): missing utf8 input format encoding when reading a file to create the hash into the watch optimizer cahce. * refact(NA): re-engineering to the dynamic_dll_plugin logs and lifecycle. * fix(NA): update clean node modules task to search under legacy/core_plugins. * fix(NA): fix build on windows with globby on cleaning dlls for the watch optimizer cache. * docs(NA): update documentation for the clean client node modules build task. * docs(NA): added extra comment to clarify the purpose for the built entrypoints. * chore(NA): update clean client node_modules code to use posix path. * feat(NA): add support for discovering server entries over the legacy plugins and the new plugins.
2018-12-05 16:45:19 +01:00
"mini-css-extract-plugin": "0.4.4",
2018-07-27 13:30:17 +02:00
"minimatch": "^3.0.4",
"mkdirp": "0.5.1",
"moment": "^2.20.1",
"moment-timezone": "^0.5.14",
Kibana Home page - phase two (#14749) * add tutorial directory and home promo section * tutorial components * use KuiCodeEditor for displaying instruction code * move spec files to server so joi can be used. Fetch via rest API * Adding more tutorials (#4) * More edits on the Apache logs tutorial * Added nginx, mysql, and sytem modules for FB * Moved apache to apacheLogs and added an apacheMetrics tutorial * Added mysqlMetrics, nginxMetrics, systemMetrics tutorials * Reduce duplication in the tutorials This uses common objects for the install and start steps for Filebeat. Same can be done for MB. * fix windows path for config file * add markdown parsing * use mustache to replace config.kibana.version with kibana version * add image preview to tutorial introduction * fix css class name * add param types constants * add docs variables * [WIP] Logstash Netflow module tutorial (#5) * First draft of Logstash Netflow module tutorial * Incorporated writing style suggestions * pass params to template replace logic * parameter inputs * use isReadOnly flag from ui-framework for KuiCodeEditor * dedemorton commits on netflow * remove trailing slash from base links * add config.docs.logstash and fix vertical spacing between Content component and commands * Use logstash docs config variable * Starting to add Deb instructions * Fix Logstash documentation link * Make commands optional * Refactor: extract common LS instructions * Edits for the existing tutorials * change schema to support three instruction types * [Netflow tutorial] Simplify OSX instructions * replace axios with fetch * pass credentials to tutorial fetch * display cloud instructions when cloud set * RadioButtonGroup component * update copy * add tutorial component jest tests * content component test * load isCloudEnabled in home_app * add functional test ensuring add data tutorials are fetch and displayed * rename card btns to 'Add data', fix type in tutorial directory tab, remove 'Set up index pattern from tutorial directory' * move parameters form to right of instruction set title * add copy snippet button, remove line numbers from command block * add breadcrumb to tutorial view * update tutorial jest snapshot * use componentDidMount and ignore async results if componenent has been unmounted * define shape of prop for instructionVariants and params. Create NumberParameter and StringParameter components * add bread crumb to add data directory page * Add cloud version of the apache_logs tutorial (#16) * Add cloud version of the apache_logs tutorial * Added onprem-cloud version as well * fix styling broken by EUI rebase * add artifacts to tutorial schema * fix styling for code block * [Tutorials] Netflow: instructions for onPremCloud (#18) * Extract common on-prem cloud instructions so LS and Beats can share them * Extracting common instructions; adding onPremCloud instructions * fix copy bug where copy would only contain previously selected text * make string parameter input type be text * Implementing Elastic Cloud tutorial for Netflow module (#19) * More tutorial edits (#20) * More tutorial edits This updates the on prem instructions with a step that installs the GeoIP and UA plugins in ES. It also makes the on-prem steps more consistent with the cloud instructions which results in less redundancy in the code. * Show config step for all variants * More DRY in the tutorial content * Updated screenshot for apache_logs * wrap markdown content in markdown-body class * use EuiFlexGroup to remove wasted space with 'copy snippet' button and instruction text * change OSX to macOS, use Computed property names for instruction_variant DISPLAY_MAP, replace /app/kibana with kbnBaseUrl, remove unneeded if check in copy_to_clippboard, put getTutorials mixin on server instead of request * capitilize 'C' in Elastic Cloud * remove try/catch from copy_to_clipboard * Removing unrelated instructions * Copy editing fixes * Multiply edits to the Beats tutorials (#21) * Updated Nginx module * Updated MySQL logs module * Updated system logs module * Correct the on_prem_cloud enable steps * Updated the Nginx metrics tutorial and added screenshot * Updated the Apache metrics module + screenshot * Updated the MySQL metrics module + screenshot * Updated the system metrics module + screenshot * prevent 'Copy snippet' button text from wrapping * [Netflow tutorial] Windows instructions (#22) * [Netflow tutorial] Adding onPrem instructions for Windows * Removing unrelated/superfluous instructions * Adding Windows instructions for onPremElasticCloud and elasticCloud * use EuiImage so tutorial images are clickable to view in full screen * fix jest tests * set fullScreenIconColor and alt options for EuiImage, add space between command block and instruction text
2018-01-10 15:20:38 +01:00
"mustache": "2.3.0",
"ngreact": "0.5.1",
"no-ui-slider": "1.2.0",
"node-fetch": "1.3.2",
"opn": "^5.4.0",
Upgrade Hapi in legacy platform to v17 (#21707) * Disable even-better monitoring * Upgrade to Hapi v15 * Upgrade to Hapi v16 * Handle optional req params correctly * Update http and kbnServer * Get mocha tests passing * Convert `reply` usages [wip] * Fix Joi and Plugin incompatibilities * Get server up and running * Get basic logging working * Fix optimizer * Fix recent route handlers * Various fixes * Fix recent routes * Upgrade wreck for async/await * Fix mocha tests * Fix joi issues * Fix xpack jest tests * Fix recent routes * Fix tests * Fix index setup * Decouple monitoring stats collection from good plugin * Update reload logging test to work * Reimplement logging with updated good plugin * Fix unit tests * Fix getConnections back * Make LegacyLoggingServer compatible with Hapi v17 * Update joi types * Fix x-pack unit tests * Remove stray debugger * Remove hapi-compat * Fix API integrations * Upgrade boom * Fix security plugin * Misc fixes * bump * Fix licensePreRoutingFactory * Fix failing integration tests * Remove unnecessary test change * Remove hapi-latest package * fx * Various cleanup * Fix race condition in oppsy events * Use elastic/good fork * Fix boom.wrap and hapi-latest changes * Simplify LegacyLoggingServer updates * package.json cleanup + test fix * yarn.lock cleanup * Change good tag * Fixes * Change return err -> throw err in routes * Fix await returns * Fix new load_data test * Make cookie security flags consistent * tmp doc * Fix types * Fix tests * Upgrade canvas plugin * Move good package to published @elastic/good one * Fix SO test * Fix logging reloading * Update APM apis * Fix error logging * Fix logging test * Convert spaces plugin * Add validation error shim * Remove 7.0 release notes * Await renderApp * Fix ccr routes * Prevent header popovers from scrolling with page content (#23850) * Fix spaces test * new yarn.lock-s * Fix spaces tests * Remove h2o2-latest * Fix @types/hapi * Upgrade InfraOps plugin * Fix package.json * Add back isSameSite: false * Upgrade beats_management plugin * Update snapshot * Fix InfraOps * Upgrade kql_telemetry * Merge upstream/master * Upgrade apm and ml * Put snapshot test back * Fx beats * Upgrade rollups * Update boom usages in new plugins
2018-10-25 23:01:12 +02:00
"oppsy": "^2.0.0",
"pegjs": "0.9.0",
Create vendor dll for the client modules (#22618) * feat(NA): first dll bundler code. * chore(NA): upgrade to webpack 4. * chore(NA): updated package.json * chore(NA): removed old code. * chore(NA): add parallel option. * chore(NA): removed console log and old var about node modules. * chore(NA): turn off unsafe cache. * chore(NA): update lock files. * chore(NA): new config for dll generation. * chore(NA): update stats emit. * chore(NA): update dependencies. * chore(NA): right cache loaders. * chore(NA): remove ui_bundles alias. * feat(20749): init implementation on bridge plugin for dll bundler. * feat(20749): init implementation for dll compiler. * feat(20749): dll bundler init from other process and webpack wrapper.. * feat(20749): optimizer changes to integrate with dll bundler. * chore(20749): split into different processes. * refact(20749): change to single running process. * refact(NA): improvements on dll bundler plugin. * refact(NA): removing including loop on plugins. * refact(20749): only run dllReference once. * chore(20749): todo on result.request path building. * chore(NA): lock files updated. * chore(NA): avoiding dll paths being removed. * chore(NA): tests on sync generation. * chore(NA): changes on entry paths compiler. * chore(NA): different hooks tests. * chore(20749): first working version, single process, for dynamic building dll. * feat(20749): last gross features for the dynamicdllplugin. * refact(20749): string interpolation when creating the path to delete in every optimizer cycle. feat(20749): creating the DynamicDllPlugin foundations. * chore(NA): updated base optimizer run function args. * chore(20749): first working solution with vendor dll both for prod and dev. * chore(20749): useful todos on client dlls. * feat(NA): auto built blacklist for server node_modules. * refact(NA): removed unused code. * chore(NA): update all webpack and loaders stuff to last versions. * refact(NA): first refacts on clean taks related with dll. feat(NA): added clean empty folders task. * refact(NA): removed support for console logs during the build. * refact(NA): removed extra space. * refact(NA): removed extra space. * refact(NA): getDllModules function. * chore(NA): removed unsafeCache option. * feat(NA): removed unsafeCache option. * refact(NA): apply general inheritance principles to the optimizer: hooks, and init. refact(NA): merge dynamic dll plugin into the common config. refact(NA): restore old template structure - vendors.dll style is always emitted. * fix(NA): fs_optimizer run function by not returning inside async func. * fix(NA): change template anchor name from vendor to vendors. * docs(NA): added info about files were keeping when cleaning the bundles. * fix(NA): filtering elible dll modules to delete. * refact(NA): removed old dll bundler in favor on new dynamic dll plugin. * refact(NA): initial split for clean modules on dll task. * refact(NA): update new dll config model. refact(NA): update config on dynamicdllplugin. * refact(NA): major work refactor for dynamic dll plugin. * refact(NA): extract clean node modules on dll task to its own folder. * refact(NA): organize imports. * docs(NA): add docs to registerCompilerHooks function for the optimizer. * refact(NA): finished refactor for dynamic dll plugin with correct error handling for runWebpack function. * refact(NA): basic structure for clean client modules on dll task. * fix(NA): resolve path for dll manifest during cclean build tasks. * refact(NA): split webpack dll related functions to their own file for clean client modules on dll task. * refact(NA): added error handling for the clean client modules on dll task - webpack dll related functions. * docs(NA): added license header. * refact(NA): complete split out the functions from the clean modules on dll task to the code_parser file. * refact(NA): main task entries compose. * docs(NA): extend docs for the getDependenciesFromFile function. * refact(NA): final structure split for clean client node modules dll task. * fix(NA): added missing param to calculate top level dependencies. * docs(NA): completed todo description about dll location. * fix(NA): add production option to webpack config on kbn-pm. * docs(NA): extended documentation about style extraction. * refact(NA): removed extra comments. * feat(NA): env variable to force dll creation. * feat(NA): include option to define folders to keep on delete empty folders task. * refact(NA): remove unused method from dll compiler. * feat(NA): move dlls outside bundles folder and support request for /dlls from a browser perspective. * chore(NA): gitignore updated to include new dlls folder. * chore(NA): eslintignore updated. * chore(NA): removed strange file from repo. * test(NA): fix failing tests for bundles_route. * fix(NA): change paths array to path string in a server route config. * fix(NA): remove infinite loop calls on register hooks functions. * fix(NA): readFile should only override the file in case it not exists. * refact(NA): removed dll compiler finish log on success with stats. * fix(NA): dll compiler alias. * fix(NA): dynamic dll plugin flow on needs compile. * fix(NA): raw alias config. * Revert "fix(NA): raw alias config." This reverts commit ebb245a78662917787e739dce3cc61e0da0971ca. * feat(NA): raw alias for moment on dll config model. * fix(NA): removed uiBundles from base_optimizer call on dynamicdllplugin. * chore(NA): decrease moment versions. * chore(NA): temporary changes on dll compiler. * fix(NA): majority of problems between dll approach, webpackshims and browser tests. * fix(NA): webpackShims integration with client vendors dll. fix(NA): enable esm modules mutability for development. fix(NA): only clean dll contents from build when they belong to node_modules. * fix(NA): fix for endless dll compilation loop. * fix(NA): removed esm plugin and skipped test using wrong stub strategy. * docs(NA): added some comments for the skipped test. * feat(NA): considering requires inside webpackShims valid entry paths to add to the dll entry file. * fix(NA): small fix for the max compilation logic. * docs(NA): add small explanatory note. * fix(NA): building requires results with relative requires found onn webpackShims. * docs(NA): add small note for error handling on dll compiler. * fix(NA): move precinct to prod dependencies. * test(NA): testing running functional tests on production. * fix(NA): restore tests run config for development flag. feat(NA): force dll creation with uiBundles is Dev flag. * chore(NA): update dependencies. * feat(NA): test update dll to completely match base optimizer one. * fix(NA): removed ts. * refact(NA): removed unused consts. * fix(NA): set back transpile sacss task in place. * fix(NA): fix resolve remoing ts and tsx. * fix(NA): set back transpile sacss task in place. * fix(NA): removing isDevmode from mustCompileDll. * fix(NA): add search for import statements into the dependencies visitor. * fix(NA): add dll suffix to vendors resource on ui bootstrap template. * fix(NA): some configs for unrelated dll work projects. * chore(NA): upgrade canvas plugins webpack build to webpack4. * chore(NA): add shim for moment-duration-format. * chore(NA): stup moment-duration-format into the moment webpackShim. * chore(NA): setup moment-duration-format into the moment-timezone webpackShim. * fix(NA): moment and moment-timezone webpackShims * chore(NA): added moment and moment-timezone webpackShims to x-pack. fix(NA): revert changes on webpackShims for oss kibana. * fix(NA): xpack webpackshims for moment. * fix(NA): remove xpack webpakcshims for moment. * fix(NA): webpakcshims for moment. * fix(NA): remove every changes from webpackShims and xpack webpackShims. * fix(NA): fix visitors to gather server dependencies resulting from export * from and export x, 'x' from. * chore(NA): update some webpack related dependencies. * fix(NA): in the dll the plugins need to have their own dependencies. It is the same for the ones into the tests relying on test against distributable. * feat(NA): including test/plugin_functional plugins into the kbn-pm bootstrap tasks. * fix(NA): wrong built yarn lock files. * chore(NA): updated webpack related dependencies. * feat(NA): add missing color for dynamic_dll_plugin logging tag. * chore(NA): removed forgotten console.log. * chore(NA): removed forgotten dead code. * chore(NA): removed missing old comment. * docs(NA): added missing notice for 2 tools we have relied on. * refact(NA): added is to a boolean variable to keep the consistency inside the code parser strategies. * fix(NA): update notice cli to exclude search inside dlls bundles. chore(NA): update notice file. * feat(NA): use lodash matches in the code parser visitors logic. * docs(NA): updated notice file related with the code parser visitors logic.. * docs(NA): added explanation for the process that decides if we should build a new dll or not. * test(NA): added missing tests for some usefull parts of the code. * refact(NA): split registerCompileHook function into small ones. * chore(NA): uncomment scripts from tests. * feat(NA): isolate code-parser in a kbn package * fix(NA): missing relative dot into the cwd function. * chore(NA): update all inter deps to match. * fix(NA): rebuild the yarn locks and the package jsons based on master ones. * fix(NA): move babel-code-parser to the prod deps. * chore(NA): include build path instead of the base root path. * refact(NA): integrate plugin_functional test plugins with workspaces. * fix(NA): include missing license for plugin functional test plugins. * fix(NA): always write posix paths into the dll entry file in order to make the dlls compilation working on windows too. chore(NA): improve error handling into dll compiler. * fix(NA): revert wrong moved line from canvas. * fix(NA): match ts-loader version between kibana and x-pack. * fix(NA): sync dll compiler with base_optimizer. * fix(NA): exclude kbn-interpreter from the dll. * refact(NA): remove exclusion of kbn-interpretor from base_optimizer. * chore(NA): add dlls folder to the yarn kbn clean script. * fix(NA): missing utf8 input format encoding when reading a file to create the hash into the watch optimizer cahce. * refact(NA): re-engineering to the dynamic_dll_plugin logs and lifecycle. * fix(NA): update clean node modules task to search under legacy/core_plugins. * fix(NA): fix build on windows with globby on cleaning dlls for the watch optimizer cache. * docs(NA): update documentation for the clean client node modules build task. * docs(NA): added extra comment to clarify the purpose for the built entrypoints. * chore(NA): update clean client node_modules code to use posix path. * feat(NA): add support for discovering server entries over the legacy plugins and the new plugins.
2018-12-05 16:45:19 +01:00
"postcss-loader": "3.0.0",
"prop-types": "15.5.8",
"proxy-from-env": "1.0.0",
"pug": "^2.0.3",
"querystring-browser": "1.0.4",
"raw-loader": "0.5.1",
"react": "^16.8.0",
"react-addons-shallow-compare": "15.6.2",
"react-anything-sortable": "^1.7.4",
"react-color": "^2.13.8",
"react-dom": "^16.8.0",
"react-grid-layout": "^0.16.2",
"react-markdown": "^3.1.4",
"react-redux": "^5.0.7",
[APM] Distributed Tracing (#24062) * Adds traces overview with mock data (#22628) * Updates service overview snapshots * Adds tests for ManagedTable and ImpactBar * Refactored transaction overview to use new managed table component * Removed jsconfig file in apm * [APM] Distributed tracing - Trace details (waterfall) (#22763) * [APM] Add typescript to waterfall (#23635) * [APM] Migrate get_trace and constants to Typescript (#23634) * [APM] Add types for setup_request (#23762) * [APM] Adds trace overview queries and some refactoring (#23605) * ImpactBar component to align EuiProgress usage for impact bars * Sharing some logic between transaction and trace queries * Typescript support * Quick fix ‘banana’ * [APM] Ensure backwards compatibility for v1 and v2 (#23636) * Make interfaces versioned * Rename eventType to docType * Fixes trace links on traces overview (#24089) * [APM] use react-redux-request (#24117) * Updated yarn lockfile for new yarn version * Updated dependency issues for react-router-dom types * [APM] Display transaction info on span flyout (#24189) * [APM] Display transaction info on span flyout * Brings in real location and url param data for transaction flyout * Converts flyout to TS * Adds query param state for flyouts with ts support * Updates styles and uses EuiTabs for transaction flyout * [APM] Transaction flyout * [APM] Minor docs cleanup (#24325) * [APM] Minor docs cleanup * [APM] Fix issues with v1 spans (#24332) * [APM] Add agent marks (#24361) * [APM] Typescript migration for the transaction endpoints (#24397) * [APM] DT transaction sample header (#24294) Transaction sample header completed * Fixes link target for traces overview to include trans/trace ids as query params * Converts Transaction index file to TS * Adds trace link to sample section * Refactors the trace link and applies it to two usages * Implements transaction sample action context menu * Calculates and implements duration percentage * Re-typed how transaction groups work * Fixes transaction flyout links and context menu * Removes unnecessary ms multiplication * Removes unused commented code * Finalizes infra links * Fixes some type shenanigans
2018-10-23 22:34:23 +02:00
"react-router-dom": "^4.3.1",
"react-sizeme": "^2.3.6",
"reactcss": "1.2.3",
"redux": "4.0.0",
"redux-actions": "2.2.1",
"redux-thunk": "2.3.0",
"regression": "2.0.0",
2018-11-07 17:12:26 +01:00
"request": "^2.88.0",
"reselect": "^3.0.1",
"resize-observer-polyfill": "^1.5.0",
"rimraf": "2.4.3",
"rison-node": "1.0.0",
"rxjs": "^6.2.1",
"script-loader": "0.7.2",
Validate current node version (#19154) * feat(12976): node version validation at runtime. * refact(12976): move the code into a static utilities class. * test(12976): added first test case using jest. * test(12976): added test cases for node_version. * feat(12976): create setup env node to bootstrap babel, ts-node and node version validator. * refact(12976): migrated node version code from es6 to es5. * feat(12976): node version validation at runtime. * refact(12976): move the code into a static utilities class. * test(12976): added first test case using jest. * test(12976): added test cases for node_version. * feat(12976): create setup env node to bootstrap babel, ts-node and node version validator. * refact(12976): migrated node version code from es6 to es5. * fix(12976): remove one level from ts node register cache directory link. * chore(12976): added caret to semver dependecy in order to support minor versions. * refact(12976): small change from named import to default import on node version validator. * refact(12976): removed ts_node_register and add the code to babel_register. * feat(12976): split eslint config in order to properly support files built to run before and after node version validator. refact(12976): convert script files to es5 code. refact(12976): delete inline eslint configs from node version check related files. * refact(12976): remove ts node register file. * refact(12976): completely port setup_node_env to es5. * refact(12976): remove babel_register invokation from external dependencies in scripts. * refact(12976): move node_version code directly into node_version_validator inside setup_node_env folder. * refact(12976): only node version validator for kbn script.
2018-05-25 19:43:01 +02:00
"semver": "^5.5.0",
"stream-stream": "^1.2.6",
Create vendor dll for the client modules (#22618) * feat(NA): first dll bundler code. * chore(NA): upgrade to webpack 4. * chore(NA): updated package.json * chore(NA): removed old code. * chore(NA): add parallel option. * chore(NA): removed console log and old var about node modules. * chore(NA): turn off unsafe cache. * chore(NA): update lock files. * chore(NA): new config for dll generation. * chore(NA): update stats emit. * chore(NA): update dependencies. * chore(NA): right cache loaders. * chore(NA): remove ui_bundles alias. * feat(20749): init implementation on bridge plugin for dll bundler. * feat(20749): init implementation for dll compiler. * feat(20749): dll bundler init from other process and webpack wrapper.. * feat(20749): optimizer changes to integrate with dll bundler. * chore(20749): split into different processes. * refact(20749): change to single running process. * refact(NA): improvements on dll bundler plugin. * refact(NA): removing including loop on plugins. * refact(20749): only run dllReference once. * chore(20749): todo on result.request path building. * chore(NA): lock files updated. * chore(NA): avoiding dll paths being removed. * chore(NA): tests on sync generation. * chore(NA): changes on entry paths compiler. * chore(NA): different hooks tests. * chore(20749): first working version, single process, for dynamic building dll. * feat(20749): last gross features for the dynamicdllplugin. * refact(20749): string interpolation when creating the path to delete in every optimizer cycle. feat(20749): creating the DynamicDllPlugin foundations. * chore(NA): updated base optimizer run function args. * chore(20749): first working solution with vendor dll both for prod and dev. * chore(20749): useful todos on client dlls. * feat(NA): auto built blacklist for server node_modules. * refact(NA): removed unused code. * chore(NA): update all webpack and loaders stuff to last versions. * refact(NA): first refacts on clean taks related with dll. feat(NA): added clean empty folders task. * refact(NA): removed support for console logs during the build. * refact(NA): removed extra space. * refact(NA): removed extra space. * refact(NA): getDllModules function. * chore(NA): removed unsafeCache option. * feat(NA): removed unsafeCache option. * refact(NA): apply general inheritance principles to the optimizer: hooks, and init. refact(NA): merge dynamic dll plugin into the common config. refact(NA): restore old template structure - vendors.dll style is always emitted. * fix(NA): fs_optimizer run function by not returning inside async func. * fix(NA): change template anchor name from vendor to vendors. * docs(NA): added info about files were keeping when cleaning the bundles. * fix(NA): filtering elible dll modules to delete. * refact(NA): removed old dll bundler in favor on new dynamic dll plugin. * refact(NA): initial split for clean modules on dll task. * refact(NA): update new dll config model. refact(NA): update config on dynamicdllplugin. * refact(NA): major work refactor for dynamic dll plugin. * refact(NA): extract clean node modules on dll task to its own folder. * refact(NA): organize imports. * docs(NA): add docs to registerCompilerHooks function for the optimizer. * refact(NA): finished refactor for dynamic dll plugin with correct error handling for runWebpack function. * refact(NA): basic structure for clean client modules on dll task. * fix(NA): resolve path for dll manifest during cclean build tasks. * refact(NA): split webpack dll related functions to their own file for clean client modules on dll task. * refact(NA): added error handling for the clean client modules on dll task - webpack dll related functions. * docs(NA): added license header. * refact(NA): complete split out the functions from the clean modules on dll task to the code_parser file. * refact(NA): main task entries compose. * docs(NA): extend docs for the getDependenciesFromFile function. * refact(NA): final structure split for clean client node modules dll task. * fix(NA): added missing param to calculate top level dependencies. * docs(NA): completed todo description about dll location. * fix(NA): add production option to webpack config on kbn-pm. * docs(NA): extended documentation about style extraction. * refact(NA): removed extra comments. * feat(NA): env variable to force dll creation. * feat(NA): include option to define folders to keep on delete empty folders task. * refact(NA): remove unused method from dll compiler. * feat(NA): move dlls outside bundles folder and support request for /dlls from a browser perspective. * chore(NA): gitignore updated to include new dlls folder. * chore(NA): eslintignore updated. * chore(NA): removed strange file from repo. * test(NA): fix failing tests for bundles_route. * fix(NA): change paths array to path string in a server route config. * fix(NA): remove infinite loop calls on register hooks functions. * fix(NA): readFile should only override the file in case it not exists. * refact(NA): removed dll compiler finish log on success with stats. * fix(NA): dll compiler alias. * fix(NA): dynamic dll plugin flow on needs compile. * fix(NA): raw alias config. * Revert "fix(NA): raw alias config." This reverts commit ebb245a78662917787e739dce3cc61e0da0971ca. * feat(NA): raw alias for moment on dll config model. * fix(NA): removed uiBundles from base_optimizer call on dynamicdllplugin. * chore(NA): decrease moment versions. * chore(NA): temporary changes on dll compiler. * fix(NA): majority of problems between dll approach, webpackshims and browser tests. * fix(NA): webpackShims integration with client vendors dll. fix(NA): enable esm modules mutability for development. fix(NA): only clean dll contents from build when they belong to node_modules. * fix(NA): fix for endless dll compilation loop. * fix(NA): removed esm plugin and skipped test using wrong stub strategy. * docs(NA): added some comments for the skipped test. * feat(NA): considering requires inside webpackShims valid entry paths to add to the dll entry file. * fix(NA): small fix for the max compilation logic. * docs(NA): add small explanatory note. * fix(NA): building requires results with relative requires found onn webpackShims. * docs(NA): add small note for error handling on dll compiler. * fix(NA): move precinct to prod dependencies. * test(NA): testing running functional tests on production. * fix(NA): restore tests run config for development flag. feat(NA): force dll creation with uiBundles is Dev flag. * chore(NA): update dependencies. * feat(NA): test update dll to completely match base optimizer one. * fix(NA): removed ts. * refact(NA): removed unused consts. * fix(NA): set back transpile sacss task in place. * fix(NA): fix resolve remoing ts and tsx. * fix(NA): set back transpile sacss task in place. * fix(NA): removing isDevmode from mustCompileDll. * fix(NA): add search for import statements into the dependencies visitor. * fix(NA): add dll suffix to vendors resource on ui bootstrap template. * fix(NA): some configs for unrelated dll work projects. * chore(NA): upgrade canvas plugins webpack build to webpack4. * chore(NA): add shim for moment-duration-format. * chore(NA): stup moment-duration-format into the moment webpackShim. * chore(NA): setup moment-duration-format into the moment-timezone webpackShim. * fix(NA): moment and moment-timezone webpackShims * chore(NA): added moment and moment-timezone webpackShims to x-pack. fix(NA): revert changes on webpackShims for oss kibana. * fix(NA): xpack webpackshims for moment. * fix(NA): remove xpack webpakcshims for moment. * fix(NA): webpakcshims for moment. * fix(NA): remove every changes from webpackShims and xpack webpackShims. * fix(NA): fix visitors to gather server dependencies resulting from export * from and export x, 'x' from. * chore(NA): update some webpack related dependencies. * fix(NA): in the dll the plugins need to have their own dependencies. It is the same for the ones into the tests relying on test against distributable. * feat(NA): including test/plugin_functional plugins into the kbn-pm bootstrap tasks. * fix(NA): wrong built yarn lock files. * chore(NA): updated webpack related dependencies. * feat(NA): add missing color for dynamic_dll_plugin logging tag. * chore(NA): removed forgotten console.log. * chore(NA): removed forgotten dead code. * chore(NA): removed missing old comment. * docs(NA): added missing notice for 2 tools we have relied on. * refact(NA): added is to a boolean variable to keep the consistency inside the code parser strategies. * fix(NA): update notice cli to exclude search inside dlls bundles. chore(NA): update notice file. * feat(NA): use lodash matches in the code parser visitors logic. * docs(NA): updated notice file related with the code parser visitors logic.. * docs(NA): added explanation for the process that decides if we should build a new dll or not. * test(NA): added missing tests for some usefull parts of the code. * refact(NA): split registerCompileHook function into small ones. * chore(NA): uncomment scripts from tests. * feat(NA): isolate code-parser in a kbn package * fix(NA): missing relative dot into the cwd function. * chore(NA): update all inter deps to match. * fix(NA): rebuild the yarn locks and the package jsons based on master ones. * fix(NA): move babel-code-parser to the prod deps. * chore(NA): include build path instead of the base root path. * refact(NA): integrate plugin_functional test plugins with workspaces. * fix(NA): include missing license for plugin functional test plugins. * fix(NA): always write posix paths into the dll entry file in order to make the dlls compilation working on windows too. chore(NA): improve error handling into dll compiler. * fix(NA): revert wrong moved line from canvas. * fix(NA): match ts-loader version between kibana and x-pack. * fix(NA): sync dll compiler with base_optimizer. * fix(NA): exclude kbn-interpreter from the dll. * refact(NA): remove exclusion of kbn-interpretor from base_optimizer. * chore(NA): add dlls folder to the yarn kbn clean script. * fix(NA): missing utf8 input format encoding when reading a file to create the hash into the watch optimizer cahce. * refact(NA): re-engineering to the dynamic_dll_plugin logs and lifecycle. * fix(NA): update clean node modules task to search under legacy/core_plugins. * fix(NA): fix build on windows with globby on cleaning dlls for the watch optimizer cache. * docs(NA): update documentation for the clean client node modules build task. * docs(NA): added extra comment to clarify the purpose for the built entrypoints. * chore(NA): update clean client node_modules code to use posix path. * feat(NA): add support for discovering server entries over the legacy plugins and the new plugins.
2018-12-05 16:45:19 +01:00
"style-loader": "0.23.1",
"tar": "2.2.0",
Optimize with thread loader and terser (#27014) * multi thread expensive loaders * revert styles * feat(NA): added thread-loader and cache-loader to base optimizer and dll compiler. * feat(NA): added cache-loader and thread-loader to the optimizer and dll compiler. * feat(NA): use new terser plugin instead of old unmaintained uglifyjs webpack plugin. * refact(NA): remove unused configs from base optimizer and dll compiler. * fix(NA): available cpu calculated number. * docs(NA): fix comment about what we are doing in prod on base_optimizer config. * docs(NA): explain why we are setting memory into each thread loader worker. * fix(NA): add dev only loaders to the thread-loader warmup config. * refact(NA): change name from babelCacheDir to babelLoaderCacheDir. * fix(NA): logic for calculating available cpus. * feat(NA): pass NODE_OPTIONS along for the optimizer forked process and also for the optimizer workers. * feat(NA): remove terser webpack plugin compression from base_optimizer and only run it on dll compiler. * chore(NA): update function to calculate available cpus for works. * fix(NA): apply upperbound to the number of workers we can have on thread-loader. * fix(NA): decrease the max number of thread pool workers. refact(NA): use the same calculated number of cpus to use on parallel tasks on thread loader pool config for terser parallel. refact(NA): lower down the poolTimeout on non dev mode. refact(NA): change devOnlyModules to nonDistributableOnlyModules on warmupThreadLoader config. * chore(NA): update yarn lock deps after merging with master.
2018-12-18 20:29:50 +01:00
"terser-webpack-plugin": "^1.1.0",
"thread-loader": "^2.1.2",
"tinygradient": "0.3.0",
"tinymath": "1.1.1",
"topojson-client": "3.0.0",
"trunc-html": "1.0.2",
"trunc-text": "1.0.2",
"tslib": "^1.9.3",
"type-detect": "^4.0.8",
"ui-select": "0.19.6",
Create vendor dll for the client modules (#22618) * feat(NA): first dll bundler code. * chore(NA): upgrade to webpack 4. * chore(NA): updated package.json * chore(NA): removed old code. * chore(NA): add parallel option. * chore(NA): removed console log and old var about node modules. * chore(NA): turn off unsafe cache. * chore(NA): update lock files. * chore(NA): new config for dll generation. * chore(NA): update stats emit. * chore(NA): update dependencies. * chore(NA): right cache loaders. * chore(NA): remove ui_bundles alias. * feat(20749): init implementation on bridge plugin for dll bundler. * feat(20749): init implementation for dll compiler. * feat(20749): dll bundler init from other process and webpack wrapper.. * feat(20749): optimizer changes to integrate with dll bundler. * chore(20749): split into different processes. * refact(20749): change to single running process. * refact(NA): improvements on dll bundler plugin. * refact(NA): removing including loop on plugins. * refact(20749): only run dllReference once. * chore(20749): todo on result.request path building. * chore(NA): lock files updated. * chore(NA): avoiding dll paths being removed. * chore(NA): tests on sync generation. * chore(NA): changes on entry paths compiler. * chore(NA): different hooks tests. * chore(20749): first working version, single process, for dynamic building dll. * feat(20749): last gross features for the dynamicdllplugin. * refact(20749): string interpolation when creating the path to delete in every optimizer cycle. feat(20749): creating the DynamicDllPlugin foundations. * chore(NA): updated base optimizer run function args. * chore(20749): first working solution with vendor dll both for prod and dev. * chore(20749): useful todos on client dlls. * feat(NA): auto built blacklist for server node_modules. * refact(NA): removed unused code. * chore(NA): update all webpack and loaders stuff to last versions. * refact(NA): first refacts on clean taks related with dll. feat(NA): added clean empty folders task. * refact(NA): removed support for console logs during the build. * refact(NA): removed extra space. * refact(NA): removed extra space. * refact(NA): getDllModules function. * chore(NA): removed unsafeCache option. * feat(NA): removed unsafeCache option. * refact(NA): apply general inheritance principles to the optimizer: hooks, and init. refact(NA): merge dynamic dll plugin into the common config. refact(NA): restore old template structure - vendors.dll style is always emitted. * fix(NA): fs_optimizer run function by not returning inside async func. * fix(NA): change template anchor name from vendor to vendors. * docs(NA): added info about files were keeping when cleaning the bundles. * fix(NA): filtering elible dll modules to delete. * refact(NA): removed old dll bundler in favor on new dynamic dll plugin. * refact(NA): initial split for clean modules on dll task. * refact(NA): update new dll config model. refact(NA): update config on dynamicdllplugin. * refact(NA): major work refactor for dynamic dll plugin. * refact(NA): extract clean node modules on dll task to its own folder. * refact(NA): organize imports. * docs(NA): add docs to registerCompilerHooks function for the optimizer. * refact(NA): finished refactor for dynamic dll plugin with correct error handling for runWebpack function. * refact(NA): basic structure for clean client modules on dll task. * fix(NA): resolve path for dll manifest during cclean build tasks. * refact(NA): split webpack dll related functions to their own file for clean client modules on dll task. * refact(NA): added error handling for the clean client modules on dll task - webpack dll related functions. * docs(NA): added license header. * refact(NA): complete split out the functions from the clean modules on dll task to the code_parser file. * refact(NA): main task entries compose. * docs(NA): extend docs for the getDependenciesFromFile function. * refact(NA): final structure split for clean client node modules dll task. * fix(NA): added missing param to calculate top level dependencies. * docs(NA): completed todo description about dll location. * fix(NA): add production option to webpack config on kbn-pm. * docs(NA): extended documentation about style extraction. * refact(NA): removed extra comments. * feat(NA): env variable to force dll creation. * feat(NA): include option to define folders to keep on delete empty folders task. * refact(NA): remove unused method from dll compiler. * feat(NA): move dlls outside bundles folder and support request for /dlls from a browser perspective. * chore(NA): gitignore updated to include new dlls folder. * chore(NA): eslintignore updated. * chore(NA): removed strange file from repo. * test(NA): fix failing tests for bundles_route. * fix(NA): change paths array to path string in a server route config. * fix(NA): remove infinite loop calls on register hooks functions. * fix(NA): readFile should only override the file in case it not exists. * refact(NA): removed dll compiler finish log on success with stats. * fix(NA): dll compiler alias. * fix(NA): dynamic dll plugin flow on needs compile. * fix(NA): raw alias config. * Revert "fix(NA): raw alias config." This reverts commit ebb245a78662917787e739dce3cc61e0da0971ca. * feat(NA): raw alias for moment on dll config model. * fix(NA): removed uiBundles from base_optimizer call on dynamicdllplugin. * chore(NA): decrease moment versions. * chore(NA): temporary changes on dll compiler. * fix(NA): majority of problems between dll approach, webpackshims and browser tests. * fix(NA): webpackShims integration with client vendors dll. fix(NA): enable esm modules mutability for development. fix(NA): only clean dll contents from build when they belong to node_modules. * fix(NA): fix for endless dll compilation loop. * fix(NA): removed esm plugin and skipped test using wrong stub strategy. * docs(NA): added some comments for the skipped test. * feat(NA): considering requires inside webpackShims valid entry paths to add to the dll entry file. * fix(NA): small fix for the max compilation logic. * docs(NA): add small explanatory note. * fix(NA): building requires results with relative requires found onn webpackShims. * docs(NA): add small note for error handling on dll compiler. * fix(NA): move precinct to prod dependencies. * test(NA): testing running functional tests on production. * fix(NA): restore tests run config for development flag. feat(NA): force dll creation with uiBundles is Dev flag. * chore(NA): update dependencies. * feat(NA): test update dll to completely match base optimizer one. * fix(NA): removed ts. * refact(NA): removed unused consts. * fix(NA): set back transpile sacss task in place. * fix(NA): fix resolve remoing ts and tsx. * fix(NA): set back transpile sacss task in place. * fix(NA): removing isDevmode from mustCompileDll. * fix(NA): add search for import statements into the dependencies visitor. * fix(NA): add dll suffix to vendors resource on ui bootstrap template. * fix(NA): some configs for unrelated dll work projects. * chore(NA): upgrade canvas plugins webpack build to webpack4. * chore(NA): add shim for moment-duration-format. * chore(NA): stup moment-duration-format into the moment webpackShim. * chore(NA): setup moment-duration-format into the moment-timezone webpackShim. * fix(NA): moment and moment-timezone webpackShims * chore(NA): added moment and moment-timezone webpackShims to x-pack. fix(NA): revert changes on webpackShims for oss kibana. * fix(NA): xpack webpackshims for moment. * fix(NA): remove xpack webpakcshims for moment. * fix(NA): webpakcshims for moment. * fix(NA): remove every changes from webpackShims and xpack webpackShims. * fix(NA): fix visitors to gather server dependencies resulting from export * from and export x, 'x' from. * chore(NA): update some webpack related dependencies. * fix(NA): in the dll the plugins need to have their own dependencies. It is the same for the ones into the tests relying on test against distributable. * feat(NA): including test/plugin_functional plugins into the kbn-pm bootstrap tasks. * fix(NA): wrong built yarn lock files. * chore(NA): updated webpack related dependencies. * feat(NA): add missing color for dynamic_dll_plugin logging tag. * chore(NA): removed forgotten console.log. * chore(NA): removed forgotten dead code. * chore(NA): removed missing old comment. * docs(NA): added missing notice for 2 tools we have relied on. * refact(NA): added is to a boolean variable to keep the consistency inside the code parser strategies. * fix(NA): update notice cli to exclude search inside dlls bundles. chore(NA): update notice file. * feat(NA): use lodash matches in the code parser visitors logic. * docs(NA): updated notice file related with the code parser visitors logic.. * docs(NA): added explanation for the process that decides if we should build a new dll or not. * test(NA): added missing tests for some usefull parts of the code. * refact(NA): split registerCompileHook function into small ones. * chore(NA): uncomment scripts from tests. * feat(NA): isolate code-parser in a kbn package * fix(NA): missing relative dot into the cwd function. * chore(NA): update all inter deps to match. * fix(NA): rebuild the yarn locks and the package jsons based on master ones. * fix(NA): move babel-code-parser to the prod deps. * chore(NA): include build path instead of the base root path. * refact(NA): integrate plugin_functional test plugins with workspaces. * fix(NA): include missing license for plugin functional test plugins. * fix(NA): always write posix paths into the dll entry file in order to make the dlls compilation working on windows too. chore(NA): improve error handling into dll compiler. * fix(NA): revert wrong moved line from canvas. * fix(NA): match ts-loader version between kibana and x-pack. * fix(NA): sync dll compiler with base_optimizer. * fix(NA): exclude kbn-interpreter from the dll. * refact(NA): remove exclusion of kbn-interpretor from base_optimizer. * chore(NA): add dlls folder to the yarn kbn clean script. * fix(NA): missing utf8 input format encoding when reading a file to create the hash into the watch optimizer cahce. * refact(NA): re-engineering to the dynamic_dll_plugin logs and lifecycle. * fix(NA): update clean node modules task to search under legacy/core_plugins. * fix(NA): fix build on windows with globby on cleaning dlls for the watch optimizer cache. * docs(NA): update documentation for the clean client node modules build task. * docs(NA): added extra comment to clarify the purpose for the built entrypoints. * chore(NA): update clean client node_modules code to use posix path. * feat(NA): add support for discovering server entries over the legacy plugins and the new plugins.
2018-12-05 16:45:19 +01:00
"url-loader": "1.1.2",
"uuid": "3.0.1",
Create vendor dll for the client modules (#22618) * feat(NA): first dll bundler code. * chore(NA): upgrade to webpack 4. * chore(NA): updated package.json * chore(NA): removed old code. * chore(NA): add parallel option. * chore(NA): removed console log and old var about node modules. * chore(NA): turn off unsafe cache. * chore(NA): update lock files. * chore(NA): new config for dll generation. * chore(NA): update stats emit. * chore(NA): update dependencies. * chore(NA): right cache loaders. * chore(NA): remove ui_bundles alias. * feat(20749): init implementation on bridge plugin for dll bundler. * feat(20749): init implementation for dll compiler. * feat(20749): dll bundler init from other process and webpack wrapper.. * feat(20749): optimizer changes to integrate with dll bundler. * chore(20749): split into different processes. * refact(20749): change to single running process. * refact(NA): improvements on dll bundler plugin. * refact(NA): removing including loop on plugins. * refact(20749): only run dllReference once. * chore(20749): todo on result.request path building. * chore(NA): lock files updated. * chore(NA): avoiding dll paths being removed. * chore(NA): tests on sync generation. * chore(NA): changes on entry paths compiler. * chore(NA): different hooks tests. * chore(20749): first working version, single process, for dynamic building dll. * feat(20749): last gross features for the dynamicdllplugin. * refact(20749): string interpolation when creating the path to delete in every optimizer cycle. feat(20749): creating the DynamicDllPlugin foundations. * chore(NA): updated base optimizer run function args. * chore(20749): first working solution with vendor dll both for prod and dev. * chore(20749): useful todos on client dlls. * feat(NA): auto built blacklist for server node_modules. * refact(NA): removed unused code. * chore(NA): update all webpack and loaders stuff to last versions. * refact(NA): first refacts on clean taks related with dll. feat(NA): added clean empty folders task. * refact(NA): removed support for console logs during the build. * refact(NA): removed extra space. * refact(NA): removed extra space. * refact(NA): getDllModules function. * chore(NA): removed unsafeCache option. * feat(NA): removed unsafeCache option. * refact(NA): apply general inheritance principles to the optimizer: hooks, and init. refact(NA): merge dynamic dll plugin into the common config. refact(NA): restore old template structure - vendors.dll style is always emitted. * fix(NA): fs_optimizer run function by not returning inside async func. * fix(NA): change template anchor name from vendor to vendors. * docs(NA): added info about files were keeping when cleaning the bundles. * fix(NA): filtering elible dll modules to delete. * refact(NA): removed old dll bundler in favor on new dynamic dll plugin. * refact(NA): initial split for clean modules on dll task. * refact(NA): update new dll config model. refact(NA): update config on dynamicdllplugin. * refact(NA): major work refactor for dynamic dll plugin. * refact(NA): extract clean node modules on dll task to its own folder. * refact(NA): organize imports. * docs(NA): add docs to registerCompilerHooks function for the optimizer. * refact(NA): finished refactor for dynamic dll plugin with correct error handling for runWebpack function. * refact(NA): basic structure for clean client modules on dll task. * fix(NA): resolve path for dll manifest during cclean build tasks. * refact(NA): split webpack dll related functions to their own file for clean client modules on dll task. * refact(NA): added error handling for the clean client modules on dll task - webpack dll related functions. * docs(NA): added license header. * refact(NA): complete split out the functions from the clean modules on dll task to the code_parser file. * refact(NA): main task entries compose. * docs(NA): extend docs for the getDependenciesFromFile function. * refact(NA): final structure split for clean client node modules dll task. * fix(NA): added missing param to calculate top level dependencies. * docs(NA): completed todo description about dll location. * fix(NA): add production option to webpack config on kbn-pm. * docs(NA): extended documentation about style extraction. * refact(NA): removed extra comments. * feat(NA): env variable to force dll creation. * feat(NA): include option to define folders to keep on delete empty folders task. * refact(NA): remove unused method from dll compiler. * feat(NA): move dlls outside bundles folder and support request for /dlls from a browser perspective. * chore(NA): gitignore updated to include new dlls folder. * chore(NA): eslintignore updated. * chore(NA): removed strange file from repo. * test(NA): fix failing tests for bundles_route. * fix(NA): change paths array to path string in a server route config. * fix(NA): remove infinite loop calls on register hooks functions. * fix(NA): readFile should only override the file in case it not exists. * refact(NA): removed dll compiler finish log on success with stats. * fix(NA): dll compiler alias. * fix(NA): dynamic dll plugin flow on needs compile. * fix(NA): raw alias config. * Revert "fix(NA): raw alias config." This reverts commit ebb245a78662917787e739dce3cc61e0da0971ca. * feat(NA): raw alias for moment on dll config model. * fix(NA): removed uiBundles from base_optimizer call on dynamicdllplugin. * chore(NA): decrease moment versions. * chore(NA): temporary changes on dll compiler. * fix(NA): majority of problems between dll approach, webpackshims and browser tests. * fix(NA): webpackShims integration with client vendors dll. fix(NA): enable esm modules mutability for development. fix(NA): only clean dll contents from build when they belong to node_modules. * fix(NA): fix for endless dll compilation loop. * fix(NA): removed esm plugin and skipped test using wrong stub strategy. * docs(NA): added some comments for the skipped test. * feat(NA): considering requires inside webpackShims valid entry paths to add to the dll entry file. * fix(NA): small fix for the max compilation logic. * docs(NA): add small explanatory note. * fix(NA): building requires results with relative requires found onn webpackShims. * docs(NA): add small note for error handling on dll compiler. * fix(NA): move precinct to prod dependencies. * test(NA): testing running functional tests on production. * fix(NA): restore tests run config for development flag. feat(NA): force dll creation with uiBundles is Dev flag. * chore(NA): update dependencies. * feat(NA): test update dll to completely match base optimizer one. * fix(NA): removed ts. * refact(NA): removed unused consts. * fix(NA): set back transpile sacss task in place. * fix(NA): fix resolve remoing ts and tsx. * fix(NA): set back transpile sacss task in place. * fix(NA): removing isDevmode from mustCompileDll. * fix(NA): add search for import statements into the dependencies visitor. * fix(NA): add dll suffix to vendors resource on ui bootstrap template. * fix(NA): some configs for unrelated dll work projects. * chore(NA): upgrade canvas plugins webpack build to webpack4. * chore(NA): add shim for moment-duration-format. * chore(NA): stup moment-duration-format into the moment webpackShim. * chore(NA): setup moment-duration-format into the moment-timezone webpackShim. * fix(NA): moment and moment-timezone webpackShims * chore(NA): added moment and moment-timezone webpackShims to x-pack. fix(NA): revert changes on webpackShims for oss kibana. * fix(NA): xpack webpackshims for moment. * fix(NA): remove xpack webpakcshims for moment. * fix(NA): webpakcshims for moment. * fix(NA): remove every changes from webpackShims and xpack webpackShims. * fix(NA): fix visitors to gather server dependencies resulting from export * from and export x, 'x' from. * chore(NA): update some webpack related dependencies. * fix(NA): in the dll the plugins need to have their own dependencies. It is the same for the ones into the tests relying on test against distributable. * feat(NA): including test/plugin_functional plugins into the kbn-pm bootstrap tasks. * fix(NA): wrong built yarn lock files. * chore(NA): updated webpack related dependencies. * feat(NA): add missing color for dynamic_dll_plugin logging tag. * chore(NA): removed forgotten console.log. * chore(NA): removed forgotten dead code. * chore(NA): removed missing old comment. * docs(NA): added missing notice for 2 tools we have relied on. * refact(NA): added is to a boolean variable to keep the consistency inside the code parser strategies. * fix(NA): update notice cli to exclude search inside dlls bundles. chore(NA): update notice file. * feat(NA): use lodash matches in the code parser visitors logic. * docs(NA): updated notice file related with the code parser visitors logic.. * docs(NA): added explanation for the process that decides if we should build a new dll or not. * test(NA): added missing tests for some usefull parts of the code. * refact(NA): split registerCompileHook function into small ones. * chore(NA): uncomment scripts from tests. * feat(NA): isolate code-parser in a kbn package * fix(NA): missing relative dot into the cwd function. * chore(NA): update all inter deps to match. * fix(NA): rebuild the yarn locks and the package jsons based on master ones. * fix(NA): move babel-code-parser to the prod deps. * chore(NA): include build path instead of the base root path. * refact(NA): integrate plugin_functional test plugins with workspaces. * fix(NA): include missing license for plugin functional test plugins. * fix(NA): always write posix paths into the dll entry file in order to make the dlls compilation working on windows too. chore(NA): improve error handling into dll compiler. * fix(NA): revert wrong moved line from canvas. * fix(NA): match ts-loader version between kibana and x-pack. * fix(NA): sync dll compiler with base_optimizer. * fix(NA): exclude kbn-interpreter from the dll. * refact(NA): remove exclusion of kbn-interpretor from base_optimizer. * chore(NA): add dlls folder to the yarn kbn clean script. * fix(NA): missing utf8 input format encoding when reading a file to create the hash into the watch optimizer cahce. * refact(NA): re-engineering to the dynamic_dll_plugin logs and lifecycle. * fix(NA): update clean node modules task to search under legacy/core_plugins. * fix(NA): fix build on windows with globby on cleaning dlls for the watch optimizer cache. * docs(NA): update documentation for the clean client node modules build task. * docs(NA): added extra comment to clarify the purpose for the built entrypoints. * chore(NA): update clean client node_modules code to use posix path. * feat(NA): add support for discovering server entries over the legacy plugins and the new plugins.
2018-12-05 16:45:19 +01:00
"val-loader": "^1.1.1",
"validate-npm-package-name": "2.2.2",
"vega-lib": "4.3.0",
"vega-lite": "^2.6.0",
"vega-schema-url-parser": "1.0.0",
"vega-tooltip": "^0.9.14",
Upgrade Hapi in legacy platform to v17 (#21707) * Disable even-better monitoring * Upgrade to Hapi v15 * Upgrade to Hapi v16 * Handle optional req params correctly * Update http and kbnServer * Get mocha tests passing * Convert `reply` usages [wip] * Fix Joi and Plugin incompatibilities * Get server up and running * Get basic logging working * Fix optimizer * Fix recent route handlers * Various fixes * Fix recent routes * Upgrade wreck for async/await * Fix mocha tests * Fix joi issues * Fix xpack jest tests * Fix recent routes * Fix tests * Fix index setup * Decouple monitoring stats collection from good plugin * Update reload logging test to work * Reimplement logging with updated good plugin * Fix unit tests * Fix getConnections back * Make LegacyLoggingServer compatible with Hapi v17 * Update joi types * Fix x-pack unit tests * Remove stray debugger * Remove hapi-compat * Fix API integrations * Upgrade boom * Fix security plugin * Misc fixes * bump * Fix licensePreRoutingFactory * Fix failing integration tests * Remove unnecessary test change * Remove hapi-latest package * fx * Various cleanup * Fix race condition in oppsy events * Use elastic/good fork * Fix boom.wrap and hapi-latest changes * Simplify LegacyLoggingServer updates * package.json cleanup + test fix * yarn.lock cleanup * Change good tag * Fixes * Change return err -> throw err in routes * Fix await returns * Fix new load_data test * Make cookie security flags consistent * tmp doc * Fix types * Fix tests * Upgrade canvas plugin * Move good package to published @elastic/good one * Fix SO test * Fix logging reloading * Update APM apis * Fix error logging * Fix logging test * Convert spaces plugin * Add validation error shim * Remove 7.0 release notes * Await renderApp * Fix ccr routes * Prevent header popovers from scrolling with page content (#23850) * Fix spaces test * new yarn.lock-s * Fix spaces tests * Remove h2o2-latest * Fix @types/hapi * Upgrade InfraOps plugin * Fix package.json * Add back isSameSite: false * Upgrade beats_management plugin * Update snapshot * Fix InfraOps * Upgrade kql_telemetry * Merge upstream/master * Upgrade apm and ml * Put snapshot test back * Fx beats * Upgrade rollups * Update boom usages in new plugins
2018-10-25 23:01:12 +02:00
"vision": "^5.3.3",
Create vendor dll for the client modules (#22618) * feat(NA): first dll bundler code. * chore(NA): upgrade to webpack 4. * chore(NA): updated package.json * chore(NA): removed old code. * chore(NA): add parallel option. * chore(NA): removed console log and old var about node modules. * chore(NA): turn off unsafe cache. * chore(NA): update lock files. * chore(NA): new config for dll generation. * chore(NA): update stats emit. * chore(NA): update dependencies. * chore(NA): right cache loaders. * chore(NA): remove ui_bundles alias. * feat(20749): init implementation on bridge plugin for dll bundler. * feat(20749): init implementation for dll compiler. * feat(20749): dll bundler init from other process and webpack wrapper.. * feat(20749): optimizer changes to integrate with dll bundler. * chore(20749): split into different processes. * refact(20749): change to single running process. * refact(NA): improvements on dll bundler plugin. * refact(NA): removing including loop on plugins. * refact(20749): only run dllReference once. * chore(20749): todo on result.request path building. * chore(NA): lock files updated. * chore(NA): avoiding dll paths being removed. * chore(NA): tests on sync generation. * chore(NA): changes on entry paths compiler. * chore(NA): different hooks tests. * chore(20749): first working version, single process, for dynamic building dll. * feat(20749): last gross features for the dynamicdllplugin. * refact(20749): string interpolation when creating the path to delete in every optimizer cycle. feat(20749): creating the DynamicDllPlugin foundations. * chore(NA): updated base optimizer run function args. * chore(20749): first working solution with vendor dll both for prod and dev. * chore(20749): useful todos on client dlls. * feat(NA): auto built blacklist for server node_modules. * refact(NA): removed unused code. * chore(NA): update all webpack and loaders stuff to last versions. * refact(NA): first refacts on clean taks related with dll. feat(NA): added clean empty folders task. * refact(NA): removed support for console logs during the build. * refact(NA): removed extra space. * refact(NA): removed extra space. * refact(NA): getDllModules function. * chore(NA): removed unsafeCache option. * feat(NA): removed unsafeCache option. * refact(NA): apply general inheritance principles to the optimizer: hooks, and init. refact(NA): merge dynamic dll plugin into the common config. refact(NA): restore old template structure - vendors.dll style is always emitted. * fix(NA): fs_optimizer run function by not returning inside async func. * fix(NA): change template anchor name from vendor to vendors. * docs(NA): added info about files were keeping when cleaning the bundles. * fix(NA): filtering elible dll modules to delete. * refact(NA): removed old dll bundler in favor on new dynamic dll plugin. * refact(NA): initial split for clean modules on dll task. * refact(NA): update new dll config model. refact(NA): update config on dynamicdllplugin. * refact(NA): major work refactor for dynamic dll plugin. * refact(NA): extract clean node modules on dll task to its own folder. * refact(NA): organize imports. * docs(NA): add docs to registerCompilerHooks function for the optimizer. * refact(NA): finished refactor for dynamic dll plugin with correct error handling for runWebpack function. * refact(NA): basic structure for clean client modules on dll task. * fix(NA): resolve path for dll manifest during cclean build tasks. * refact(NA): split webpack dll related functions to their own file for clean client modules on dll task. * refact(NA): added error handling for the clean client modules on dll task - webpack dll related functions. * docs(NA): added license header. * refact(NA): complete split out the functions from the clean modules on dll task to the code_parser file. * refact(NA): main task entries compose. * docs(NA): extend docs for the getDependenciesFromFile function. * refact(NA): final structure split for clean client node modules dll task. * fix(NA): added missing param to calculate top level dependencies. * docs(NA): completed todo description about dll location. * fix(NA): add production option to webpack config on kbn-pm. * docs(NA): extended documentation about style extraction. * refact(NA): removed extra comments. * feat(NA): env variable to force dll creation. * feat(NA): include option to define folders to keep on delete empty folders task. * refact(NA): remove unused method from dll compiler. * feat(NA): move dlls outside bundles folder and support request for /dlls from a browser perspective. * chore(NA): gitignore updated to include new dlls folder. * chore(NA): eslintignore updated. * chore(NA): removed strange file from repo. * test(NA): fix failing tests for bundles_route. * fix(NA): change paths array to path string in a server route config. * fix(NA): remove infinite loop calls on register hooks functions. * fix(NA): readFile should only override the file in case it not exists. * refact(NA): removed dll compiler finish log on success with stats. * fix(NA): dll compiler alias. * fix(NA): dynamic dll plugin flow on needs compile. * fix(NA): raw alias config. * Revert "fix(NA): raw alias config." This reverts commit ebb245a78662917787e739dce3cc61e0da0971ca. * feat(NA): raw alias for moment on dll config model. * fix(NA): removed uiBundles from base_optimizer call on dynamicdllplugin. * chore(NA): decrease moment versions. * chore(NA): temporary changes on dll compiler. * fix(NA): majority of problems between dll approach, webpackshims and browser tests. * fix(NA): webpackShims integration with client vendors dll. fix(NA): enable esm modules mutability for development. fix(NA): only clean dll contents from build when they belong to node_modules. * fix(NA): fix for endless dll compilation loop. * fix(NA): removed esm plugin and skipped test using wrong stub strategy. * docs(NA): added some comments for the skipped test. * feat(NA): considering requires inside webpackShims valid entry paths to add to the dll entry file. * fix(NA): small fix for the max compilation logic. * docs(NA): add small explanatory note. * fix(NA): building requires results with relative requires found onn webpackShims. * docs(NA): add small note for error handling on dll compiler. * fix(NA): move precinct to prod dependencies. * test(NA): testing running functional tests on production. * fix(NA): restore tests run config for development flag. feat(NA): force dll creation with uiBundles is Dev flag. * chore(NA): update dependencies. * feat(NA): test update dll to completely match base optimizer one. * fix(NA): removed ts. * refact(NA): removed unused consts. * fix(NA): set back transpile sacss task in place. * fix(NA): fix resolve remoing ts and tsx. * fix(NA): set back transpile sacss task in place. * fix(NA): removing isDevmode from mustCompileDll. * fix(NA): add search for import statements into the dependencies visitor. * fix(NA): add dll suffix to vendors resource on ui bootstrap template. * fix(NA): some configs for unrelated dll work projects. * chore(NA): upgrade canvas plugins webpack build to webpack4. * chore(NA): add shim for moment-duration-format. * chore(NA): stup moment-duration-format into the moment webpackShim. * chore(NA): setup moment-duration-format into the moment-timezone webpackShim. * fix(NA): moment and moment-timezone webpackShims * chore(NA): added moment and moment-timezone webpackShims to x-pack. fix(NA): revert changes on webpackShims for oss kibana. * fix(NA): xpack webpackshims for moment. * fix(NA): remove xpack webpakcshims for moment. * fix(NA): webpakcshims for moment. * fix(NA): remove every changes from webpackShims and xpack webpackShims. * fix(NA): fix visitors to gather server dependencies resulting from export * from and export x, 'x' from. * chore(NA): update some webpack related dependencies. * fix(NA): in the dll the plugins need to have their own dependencies. It is the same for the ones into the tests relying on test against distributable. * feat(NA): including test/plugin_functional plugins into the kbn-pm bootstrap tasks. * fix(NA): wrong built yarn lock files. * chore(NA): updated webpack related dependencies. * feat(NA): add missing color for dynamic_dll_plugin logging tag. * chore(NA): removed forgotten console.log. * chore(NA): removed forgotten dead code. * chore(NA): removed missing old comment. * docs(NA): added missing notice for 2 tools we have relied on. * refact(NA): added is to a boolean variable to keep the consistency inside the code parser strategies. * fix(NA): update notice cli to exclude search inside dlls bundles. chore(NA): update notice file. * feat(NA): use lodash matches in the code parser visitors logic. * docs(NA): updated notice file related with the code parser visitors logic.. * docs(NA): added explanation for the process that decides if we should build a new dll or not. * test(NA): added missing tests for some usefull parts of the code. * refact(NA): split registerCompileHook function into small ones. * chore(NA): uncomment scripts from tests. * feat(NA): isolate code-parser in a kbn package * fix(NA): missing relative dot into the cwd function. * chore(NA): update all inter deps to match. * fix(NA): rebuild the yarn locks and the package jsons based on master ones. * fix(NA): move babel-code-parser to the prod deps. * chore(NA): include build path instead of the base root path. * refact(NA): integrate plugin_functional test plugins with workspaces. * fix(NA): include missing license for plugin functional test plugins. * fix(NA): always write posix paths into the dll entry file in order to make the dlls compilation working on windows too. chore(NA): improve error handling into dll compiler. * fix(NA): revert wrong moved line from canvas. * fix(NA): match ts-loader version between kibana and x-pack. * fix(NA): sync dll compiler with base_optimizer. * fix(NA): exclude kbn-interpreter from the dll. * refact(NA): remove exclusion of kbn-interpretor from base_optimizer. * chore(NA): add dlls folder to the yarn kbn clean script. * fix(NA): missing utf8 input format encoding when reading a file to create the hash into the watch optimizer cahce. * refact(NA): re-engineering to the dynamic_dll_plugin logs and lifecycle. * fix(NA): update clean node modules task to search under legacy/core_plugins. * fix(NA): fix build on windows with globby on cleaning dlls for the watch optimizer cache. * docs(NA): update documentation for the clean client node modules build task. * docs(NA): added extra comment to clarify the purpose for the built entrypoints. * chore(NA): update clean client node_modules code to use posix path. * feat(NA): add support for discovering server entries over the legacy plugins and the new plugins.
2018-12-05 16:45:19 +01:00
"webpack": "4.23.1",
"webpack-merge": "4.1.4",
"whatwg-fetch": "^3.0.0",
Upgrade Hapi in legacy platform to v17 (#21707) * Disable even-better monitoring * Upgrade to Hapi v15 * Upgrade to Hapi v16 * Handle optional req params correctly * Update http and kbnServer * Get mocha tests passing * Convert `reply` usages [wip] * Fix Joi and Plugin incompatibilities * Get server up and running * Get basic logging working * Fix optimizer * Fix recent route handlers * Various fixes * Fix recent routes * Upgrade wreck for async/await * Fix mocha tests * Fix joi issues * Fix xpack jest tests * Fix recent routes * Fix tests * Fix index setup * Decouple monitoring stats collection from good plugin * Update reload logging test to work * Reimplement logging with updated good plugin * Fix unit tests * Fix getConnections back * Make LegacyLoggingServer compatible with Hapi v17 * Update joi types * Fix x-pack unit tests * Remove stray debugger * Remove hapi-compat * Fix API integrations * Upgrade boom * Fix security plugin * Misc fixes * bump * Fix licensePreRoutingFactory * Fix failing integration tests * Remove unnecessary test change * Remove hapi-latest package * fx * Various cleanup * Fix race condition in oppsy events * Use elastic/good fork * Fix boom.wrap and hapi-latest changes * Simplify LegacyLoggingServer updates * package.json cleanup + test fix * yarn.lock cleanup * Change good tag * Fixes * Change return err -> throw err in routes * Fix await returns * Fix new load_data test * Make cookie security flags consistent * tmp doc * Fix types * Fix tests * Upgrade canvas plugin * Move good package to published @elastic/good one * Fix SO test * Fix logging reloading * Update APM apis * Fix error logging * Fix logging test * Convert spaces plugin * Add validation error shim * Remove 7.0 release notes * Await renderApp * Fix ccr routes * Prevent header popovers from scrolling with page content (#23850) * Fix spaces test * new yarn.lock-s * Fix spaces tests * Remove h2o2-latest * Fix @types/hapi * Upgrade InfraOps plugin * Fix package.json * Add back isSameSite: false * Upgrade beats_management plugin * Update snapshot * Fix InfraOps * Upgrade kql_telemetry * Merge upstream/master * Upgrade apm and ml * Put snapshot test back * Fx beats * Upgrade rollups * Update boom usages in new plugins
2018-10-25 23:01:12 +02:00
"wreck": "^14.0.2",
2019-02-07 22:58:24 +01:00
"x-pack": "7.1.0",
"yauzl": "2.7.0"
},
"devDependencies": {
"@babel/parser": "^7.3.4",
"@babel/types": "^7.3.4",
"@elastic/eslint-config-kibana": "0.15.0",
"@elastic/makelogs": "^4.4.0",
"@kbn/es": "1.0.0",
"@kbn/eslint-import-resolver-kibana": "2.0.0",
"@kbn/eslint-plugin-eslint": "1.0.0",
"@kbn/expect": "1.0.0",
"@kbn/plugin-generator": "1.0.0",
"@kbn/test": "1.0.0",
Beats Management (#23819) * [Beats Management] Initial scaffolding for plugin (#18977) * Initial scaffolding for Beats plugin * Removing bits not (yet) necessary in initial scaffolding * [Beats Management] Install Beats index template on plugin init (#19072) * Install Beats index template on plugin init * Adding missing files * [Beats Management] APIs: Create enrollment tokens (#19018) * WIP checkin * Register API routes * Fixing typo in index name * Adding TODOs * Removing commented out license checking code that isn't yet implemented * Remove unnecessary async/await * Don't return until indices have been refreshed * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Adding TODO * Fixing variable name * Using a single index * Adding expiration date field * Adding test for expiration date field * Ignore non-existent index * Fixing logic in test * Creating constant for default enrollment tokens TTL value * Updating test * Fixing name of test file (#19100) * [Beats Management] APIs: Enroll beat (#19056) * WIP checkin * Add API integration test * Converting to Jest test * Create API for enrolling a beat * Handle invalid or expired enrollment tokens * Use create instead of index to prevent same beat from being enrolled twice * Adding unit test for duplicate beat enrollment * Do not persist enrollment token with beat once token has been checked and used * Fix datatype of host_ip field * Make Kibana API guess host IP instead of requiring it in payload * Fixing error introduced in rebase conflict resolution * [Beats Management] APIs: List beats (#19086) * WIP checkin * Add API integration test * Converting to Jest test * WIP checkin * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Updating mapping * [Beats Management] APIs: Verify beats (#19103) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Fleshing out remaining tests * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Moving TODO comment to right file * Rename determine* helper functions to find* * Fixing assertions (#19194) * [Beats Management] APIs: Update beat (#19148) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Add API tests * Update template to allow version field for beat * Implement PUT /api/beats/agent/{beat ID} API * Make enroll beat code consistent with update beat code * Fixing minor typo in TODO comment * Allow version in request payload * Make sure beat is not updated in ES in error scenarios * Adding version as required field in Enroll Beat API payload * Using destructuring * Fixing rename that was accidentally reversed in conflict fixing * [Beats Management] APIs: take auth tokens via headers (#19210) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Make "Enroll Beat" API take enrollment token via header instead of request body * Make "Update Beat" API take access token via header instead of request body * [Beats Management] APIs: Create configuration block (#19270) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Implementing POST /api/beats/configuration_blocks API * Removing unnecessary escaping * Fleshing out types + adding validation for them * Making output singular (was outputs) * Removing metricbeat.inputs * Revert implementation of `POST /api/beats/configuration_blocks` API (#19340) This API allowed the user to operate at a level of abstraction that is unnecessarily and dangerously too low. A better API would be at one level higher, where users can create, update, and delete tags (where a tag can contain multiple configuration blocks). * [Beats Management] APIs: Create or update tag (#19342) * Updating mappings * Implementing PUT /api/beats/tag/{tag} API * [Beats Management] Prevent timing attacks when checking auth tokens (#19363) * Using crypto.timingSafeEqual() for comparing auth tokens * Prevent subtler timing attack in token comparison function * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * [Beats Management] APIs: Assign tag(s) to beat(s) (#19431) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Rename "determine" to "find" * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Updating ES archive * Renaming * Use destructuring * Moving start of script to own line to increase readability * Using destructuring * [Beats Management] APIs: Remove tag(s) from beat(s) (#19440) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Renaming * Use destructuring * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Implementing `POST /api/beats/agents_tags/removals` API * Updating ES archive * Use destructuring * Moving start of script to own line to increase readability * Nothing to remove if there are no existing tags! * Updating tests to match changes in bulk update painless script * Use destructuring * [Beats Management] Move to Ingest UI arch and initial TS effort (#20039) * [Beats Management] Initial scaffolding for plugin (#18977) * Initial scaffolding for Beats plugin * Removing bits not (yet) necessary in initial scaffolding * [Beats Management] Install Beats index template on plugin init (#19072) * Install Beats index template on plugin init * Adding missing files * [Beats Management] APIs: Create enrollment tokens (#19018) * WIP checkin * Register API routes * Fixing typo in index name * Adding TODOs * Removing commented out license checking code that isn't yet implemented * Remove unnecessary async/await * Don't return until indices have been refreshed * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Adding TODO * Fixing variable name * Using a single index * Adding expiration date field * Adding test for expiration date field * Ignore non-existent index * Fixing logic in test * Creating constant for default enrollment tokens TTL value * Updating test * Fixing name of test file (#19100) * [Beats Management] APIs: Enroll beat (#19056) * WIP checkin * Add API integration test * Converting to Jest test * Create API for enrolling a beat * Handle invalid or expired enrollment tokens * Use create instead of index to prevent same beat from being enrolled twice * Adding unit test for duplicate beat enrollment * Do not persist enrollment token with beat once token has been checked and used * Fix datatype of host_ip field * Make Kibana API guess host IP instead of requiring it in payload * Fixing error introduced in rebase conflict resolution * [Beats Management] APIs: List beats (#19086) * WIP checkin * Add API integration test * Converting to Jest test * WIP checkin * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Updating mapping * [Beats Management] APIs: Verify beats (#19103) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Fleshing out remaining tests * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Moving TODO comment to right file * Rename determine* helper functions to find* * Fixing assertions (#19194) * [Beats Management] APIs: Update beat (#19148) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Add API tests * Update template to allow version field for beat * Implement PUT /api/beats/agent/{beat ID} API * Make enroll beat code consistent with update beat code * Fixing minor typo in TODO comment * Allow version in request payload * Make sure beat is not updated in ES in error scenarios * Adding version as required field in Enroll Beat API payload * Using destructuring * Fixing rename that was accidentally reversed in conflict fixing * [Beats Management] APIs: take auth tokens via headers (#19210) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Make "Enroll Beat" API take enrollment token via header instead of request body * Make "Update Beat" API take access token via header instead of request body * [Beats Management] APIs: Create configuration block (#19270) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Implementing POST /api/beats/configuration_blocks API * Removing unnecessary escaping * Fleshing out types + adding validation for them * Making output singular (was outputs) * Removing metricbeat.inputs * Revert implementation of `POST /api/beats/configuration_blocks` API (#19340) This API allowed the user to operate at a level of abstraction that is unnecessarily and dangerously too low. A better API would be at one level higher, where users can create, update, and delete tags (where a tag can contain multiple configuration blocks). * [Beats Management] APIs: Create or update tag (#19342) * Updating mappings * Implementing PUT /api/beats/tag/{tag} API * [Beats Management] Prevent timing attacks when checking auth tokens (#19363) * Using crypto.timingSafeEqual() for comparing auth tokens * Prevent subtler timing attack in token comparison function * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * [Beats Management] APIs: Assign tag(s) to beat(s) (#19431) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Rename "determine" to "find" * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Updating ES archive * Renaming * Use destructuring * Moving start of script to own line to increase readability * Using destructuring * [Beats Management] APIs: Remove tag(s) from beat(s) (#19440) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Renaming * Use destructuring * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Implementing `POST /api/beats/agents_tags/removals` API * Updating ES archive * Use destructuring * Moving start of script to own line to increase readability * Nothing to remove if there are no existing tags! * Updating tests to match changes in bulk update painless script * Use destructuring * Ported over base types and arch structure * move management of installIndexTemplate into the framework adapter * ts-lint fix * tslint fixes * more ts tweaks * fix paths * added several working endpoints * add more routes and bug fixes * fix linting * fix type remove CRUFT * remove more cruft * remove more CRUFT * added comments, change plurality * add tsconfig file * add extends path * fixed typo * serveral PR review fixes * fixed lodash type version * “fix” types by applying a lot of any * [Beats Management] Move tokens to use JWT, add more complete test suite (#20317) * inital effort to move to JWT and added jest based tests on libs * assign beats tests all passing * token tests now pass * add more tests * all tests now green * fix broken test, this is beats CM not logstash 😊 * added readme * move enrollment token back to a hash * remove un-needed comment * alias lodash get to avoid confusion * isolated hash creation * [Beats Management] add more tests, update types, break out ES into it's own adapter (#20566) * inital effort to move to JWT and added jest based tests on libs * assign beats tests all passing * token tests now pass * add more tests * all tests now green * move enrollment token back to a hash * remove un-needed comment * alias lodash get to avoid confusion * isolated hash creation * Add initial efforts for backend framework adapter testing * move ES code to a DatabaseAdapter from BackendAdapter and add a TON of types for ES * re-typed * renamed types to match pattern * aditional renames * adapter tests should always just use adapterSetup(); * database now uses InternalRequest * corrected spelling of framework * fix typings * remove CRUFT * RequestOrInternal * Dont pass around request objects everywhere, just pass the user. Also, removed hapi types as they were not compatible * fix tests, add test, removed extra comment * fix auth * updated lock file * [Beats Management] add get beat endpoint (#20603) * [Beats Management] Move tokens to use JWT, add more complete test suite (#20317) * inital effort to move to JWT and added jest based tests on libs * assign beats tests all passing * token tests now pass * add more tests * all tests now green * fix broken test, this is beats CM not logstash 😊 * added readme * move enrollment token back to a hash * remove un-needed comment * alias lodash get to avoid confusion * isolated hash creation * inital effort to move to JWT and added jest based tests on libs * assign beats tests all passing * token tests now pass * add more tests * all tests now green * move enrollment token back to a hash * remove un-needed comment * alias lodash get to avoid confusion * isolated hash creation * Add initial efforts for backend framework adapter testing * move ES code to a DatabaseAdapter from BackendAdapter and add a TON of types for ES * re-typed * renamed types to match pattern * aditional renames * adapter tests should always just use adapterSetup(); * database now uses InternalRequest * corrected spelling of framework * fix typings * remove CRUFT * RequestOrInternal * Dont pass around request objects everywhere, just pass the user. Also, removed hapi types as they were not compatible * fix tests, add test, removed extra comment * Moved critical path code from route, to more easeley tested domain * fix auth * remove beat verification, added get beat endpoint to return configs * fix type * update createGetBeatConfigurationRoute URL * rename method * update to match PR #20566 * updated lock file * fix bad merge * update TSLinting * fix bad rebase * [Beats Management] [WIP] Create public resources for management plugin (#20864) * Init plugin public resources. * rename beats to beats_management * rendering react now * Beats/initial ui (#20994) * initial layout and main nav * modal UI and pattern for UI established * fix path * wire up in-memroy adapters * tweak adapters * add getAll method to tags adapter (#21287) * Beats/real adapters (#21481) * add initial real adapters, and nulled data where we need endpoints * UI adapters and needed endpoints added (though not tested) * prep for route tests and some cleanup * move files * [Beats Management] Add BeatsTable/Bulk Action Search Component (#21182) * Add BeatsTable and control bar components. * Clean yarn.lock. * Move raw numbers/strings to constants. Remove obsolete state/props. * Update/add tests. * Change prop name from "items" to "beats". * Rename some variables. * Move search bar filter definitions to table render. * Update table to support assignment options. * Update action control position. * Refactor split render function into custom components. * Beats/basic use cases (#21660) * tweak adapter responses / types. re-add enroll ui * routes enabled, enroll now pings the server * full enrollment path now working * improved pinging for beat enrollment * fix location of history call * reload beats list on beat enrollment completion * [Beats Management] Add Tags List (#21274) * Add BeatsTable and control bar components. * Clean yarn.lock. * Move raw numbers/strings to constants. Remove obsolete state/props. * Update/add tests. * Change prop name from "items" to "beats". * Add TagsTable component and associated search/action bar. * Rename some variables. * Add constant after forgetting to save file. * Fix design mistake in table component. * Disable delete button when no tags selected. * Export tags table from index.ts. * Move search bar filter definitions to table render. * Update table to support assignment options. * Update action control position. * Refactor split render function into custom components. * Add assignment options to Tags List. * Remove obsolete code. * Move tooltips for tag icons to top position. * Beats/update (#21702) * [ML] Fixing issue with historical job audit messages (#21718) * Add proper aria-label for close inspector (#21719) * [Beats Management] Initial scaffolding for plugin (#18977) * Initial scaffolding for Beats plugin * Removing bits not (yet) necessary in initial scaffolding * [Beats Management] Install Beats index template on plugin init (#19072) * Install Beats index template on plugin init * Adding missing files * [Beats Management] APIs: Create enrollment tokens (#19018) * WIP checkin * Register API routes * Fixing typo in index name * Adding TODOs * Removing commented out license checking code that isn't yet implemented * Remove unnecessary async/await * Don't return until indices have been refreshed * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Adding TODO * Fixing variable name * Using a single index * Adding expiration date field * Adding test for expiration date field * Ignore non-existent index * Fixing logic in test * Creating constant for default enrollment tokens TTL value * Updating test * Fixing name of test file (#19100) * [Beats Management] APIs: Enroll beat (#19056) * WIP checkin * Add API integration test * Converting to Jest test * Create API for enrolling a beat * Handle invalid or expired enrollment tokens * Use create instead of index to prevent same beat from being enrolled twice * Adding unit test for duplicate beat enrollment * Do not persist enrollment token with beat once token has been checked and used * Fix datatype of host_ip field * Make Kibana API guess host IP instead of requiring it in payload * Fixing error introduced in rebase conflict resolution * [Beats Management] APIs: List beats (#19086) * WIP checkin * Add API integration test * Converting to Jest test * WIP checkin * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Updating mapping * [Beats Management] APIs: Verify beats (#19103) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Fleshing out remaining tests * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Moving TODO comment to right file * Rename determine* helper functions to find* * Fixing assertions (#19194) * [Beats Management] APIs: Update beat (#19148) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Add API tests * Update template to allow version field for beat * Implement PUT /api/beats/agent/{beat ID} API * Make enroll beat code consistent with update beat code * Fixing minor typo in TODO comment * Allow version in request payload * Make sure beat is not updated in ES in error scenarios * Adding version as required field in Enroll Beat API payload * Using destructuring * Fixing rename that was accidentally reversed in conflict fixing * [Beats Management] APIs: take auth tokens via headers (#19210) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Make "Enroll Beat" API take enrollment token via header instead of request body * Make "Update Beat" API take access token via header instead of request body * [Beats Management] APIs: Create configuration block (#19270) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Implementing POST /api/beats/configuration_blocks API * Removing unnecessary escaping * Fleshing out types + adding validation for them * Making output singular (was outputs) * Removing metricbeat.inputs * Revert implementation of `POST /api/beats/configuration_blocks` API (#19340) This API allowed the user to operate at a level of abstraction that is unnecessarily and dangerously too low. A better API would be at one level higher, where users can create, update, and delete tags (where a tag can contain multiple configuration blocks). * [Beats Management] APIs: Create or update tag (#19342) * Updating mappings * Implementing PUT /api/beats/tag/{tag} API * [Beats Management] Prevent timing attacks when checking auth tokens (#19363) * Using crypto.timingSafeEqual() for comparing auth tokens * Prevent subtler timing attack in token comparison function * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * [Beats Management] APIs: Assign tag(s) to beat(s) (#19431) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Rename "determine" to "find" * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Updating ES archive * Renaming * Use destructuring * Moving start of script to own line to increase readability * Using destructuring * [Beats Management] APIs: Remove tag(s) from beat(s) (#19440) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Renaming * Use destructuring * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Implementing `POST /api/beats/agents_tags/removals` API * Updating ES archive * Use destructuring * Moving start of script to own line to increase readability * Nothing to remove if there are no existing tags! * Updating tests to match changes in bulk update painless script * Use destructuring * [Beats Management] Move to Ingest UI arch and initial TS effort (#20039) * [Beats Management] Initial scaffolding for plugin (#18977) * Initial scaffolding for Beats plugin * Removing bits not (yet) necessary in initial scaffolding * [Beats Management] Install Beats index template on plugin init (#19072) * Install Beats index template on plugin init * Adding missing files * [Beats Management] APIs: Create enrollment tokens (#19018) * WIP checkin * Register API routes * Fixing typo in index name * Adding TODOs * Removing commented out license checking code that isn't yet implemented * Remove unnecessary async/await * Don't return until indices have been refreshed * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Adding TODO * Fixing variable name * Using a single index * Adding expiration date field * Adding test for expiration date field * Ignore non-existent index * Fixing logic in test * Creating constant for default enrollment tokens TTL value * Updating test * Fixing name of test file (#19100) * [Beats Management] APIs: Enroll beat (#19056) * WIP checkin * Add API integration test * Converting to Jest test * Create API for enrolling a beat * Handle invalid or expired enrollment tokens * Use create instead of index to prevent same beat from being enrolled twice * Adding unit test for duplicate beat enrollment * Do not persist enrollment token with beat once token has been checked and used * Fix datatype of host_ip field * Make Kibana API guess host IP instead of requiring it in payload * Fixing error introduced in rebase conflict resolution * [Beats Management] APIs: List beats (#19086) * WIP checkin * Add API integration test * Converting to Jest test * WIP checkin * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Updating mapping * [Beats Management] APIs: Verify beats (#19103) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Fleshing out remaining tests * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Moving TODO comment to right file * Rename determine* helper functions to find* * Fixing assertions (#19194) * [Beats Management] APIs: Update beat (#19148) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Add API tests * Update template to allow version field for beat * Implement PUT /api/beats/agent/{beat ID} API * Make enroll beat code consistent with update beat code * Fixing minor typo in TODO comment * Allow version in request payload * Make sure beat is not updated in ES in error scenarios * Adding version as required field in Enroll Beat API payload * Using destructuring * Fixing rename that was accidentally reversed in conflict fixing * [Beats Management] APIs: take auth tokens via headers (#19210) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Make "Enroll Beat" API take enrollment token via header instead of request body * Make "Update Beat" API take access token via header instead of request body * [Beats Management] APIs: Create configuration block (#19270) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Implementing POST /api/beats/configuration_blocks API * Removing unnecessary escaping * Fleshing out types + adding validation for them * Making output singular (was outputs) * Removing metricbeat.inputs * Revert implementation of `POST /api/beats/configuration_blocks` API (#19340) This API allowed the user to operate at a level of abstraction that is unnecessarily and dangerously too low. A better API would be at one level higher, where users can create, update, and delete tags (where a tag can contain multiple configuration blocks). * [Beats Management] APIs: Create or update tag (#19342) * Updating mappings * Implementing PUT /api/beats/tag/{tag} API * [Beats Management] Prevent timing attacks when checking auth tokens (#19363) * Using crypto.timingSafeEqual() for comparing auth tokens * Prevent subtler timing attack in token comparison function * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * [Beats Management] APIs: Assign tag(s) to beat(s) (#19431) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Rename "determine" to "find" * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Updating ES archive * Renaming * Use destructuring * Moving start of script to own line to increase readability * Using destructuring * [Beats Management] APIs: Remove tag(s) from beat(s) (#19440) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Renaming * Use destructuring * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Implementing `POST /api/beats/agents_tags/removals` API * Updating ES archive * Use destructuring * Moving start of script to own line to increase readability * Nothing to remove if there are no existing tags! * Updating tests to match changes in bulk update painless script * Use destructuring * Ported over base types and arch structure * move management of installIndexTemplate into the framework adapter * ts-lint fix * tslint fixes * more ts tweaks * fix paths * added several working endpoints * add more routes and bug fixes * fix linting * fix type remove CRUFT * remove more cruft * remove more CRUFT * added comments, change plurality * add tsconfig file * add extends path * fixed typo * serveral PR review fixes * fixed lodash type version * “fix” types by applying a lot of any * [Beats Management] Move tokens to use JWT, add more complete test suite (#20317) * inital effort to move to JWT and added jest based tests on libs * assign beats tests all passing * token tests now pass * add more tests * all tests now green * fix broken test, this is beats CM not logstash 😊 * added readme * move enrollment token back to a hash * remove un-needed comment * alias lodash get to avoid confusion * isolated hash creation * [Beats Management] add more tests, update types, break out ES into it's own adapter (#20566) * inital effort to move to JWT and added jest based tests on libs * assign beats tests all passing * token tests now pass * add more tests * all tests now green * move enrollment token back to a hash * remove un-needed comment * alias lodash get to avoid confusion * isolated hash creation * Add initial efforts for backend framework adapter testing * move ES code to a DatabaseAdapter from BackendAdapter and add a TON of types for ES * re-typed * renamed types to match pattern * aditional renames * adapter tests should always just use adapterSetup(); * database now uses InternalRequest * corrected spelling of framework * fix typings * remove CRUFT * RequestOrInternal * Dont pass around request objects everywhere, just pass the user. Also, removed hapi types as they were not compatible * fix tests, add test, removed extra comment * fix auth * updated lock file * [Beats Management] add get beat endpoint (#20603) * [Beats Management] Move tokens to use JWT, add more complete test suite (#20317) * inital effort to move to JWT and added jest based tests on libs * assign beats tests all passing * token tests now pass * add more tests * all tests now green * fix broken test, this is beats CM not logstash 😊 * added readme * move enrollment token back to a hash * remove un-needed comment * alias lodash get to avoid confusion * isolated hash creation * inital effort to move to JWT and added jest based tests on libs * assign beats tests all passing * token tests now pass * add more tests * all tests now green * move enrollment token back to a hash * remove un-needed comment * alias lodash get to avoid confusion * isolated hash creation * Add initial efforts for backend framework adapter testing * move ES code to a DatabaseAdapter from BackendAdapter and add a TON of types for ES * re-typed * renamed types to match pattern * aditional renames * adapter tests should always just use adapterSetup(); * database now uses InternalRequest * corrected spelling of framework * fix typings * remove CRUFT * RequestOrInternal * Dont pass around request objects everywhere, just pass the user. Also, removed hapi types as they were not compatible * fix tests, add test, removed extra comment * Moved critical path code from route, to more easeley tested domain * fix auth * remove beat verification, added get beat endpoint to return configs * fix type * update createGetBeatConfigurationRoute URL * rename method * update to match PR #20566 * updated lock file * fix bad merge * update TSLinting * fix bad rebase * [Beats Management] [WIP] Create public resources for management plugin (#20864) * Init plugin public resources. * rename beats to beats_management * rendering react now * Beats/initial ui (#20994) * initial layout and main nav * modal UI and pattern for UI established * fix path * wire up in-memroy adapters * tweak adapters * add getAll method to tags adapter (#21287) * Beats/real adapters (#21481) * add initial real adapters, and nulled data where we need endpoints * UI adapters and needed endpoints added (though not tested) * prep for route tests and some cleanup * move files * [Beats Management] Add BeatsTable/Bulk Action Search Component (#21182) * Add BeatsTable and control bar components. * Clean yarn.lock. * Move raw numbers/strings to constants. Remove obsolete state/props. * Update/add tests. * Change prop name from "items" to "beats". * Rename some variables. * Move search bar filter definitions to table render. * Update table to support assignment options. * Update action control position. * Refactor split render function into custom components. * Beats/basic use cases (#21660) * tweak adapter responses / types. re-add enroll ui * routes enabled, enroll now pings the server * full enrollment path now working * improved pinging for beat enrollment * fix location of history call * reload beats list on beat enrollment completion * add update on client side, expand update on server to allow for partial data, and user auth * remove double beat lookup * fix tests * only return active beats * disenroll now working * fig getAll query * re-enrolling a beat will now work * fix types * fix types * update deps * update kibana API for version * [Beats CM] Manage Tags (#21776) * [ML] Fixing issue with historical job audit messages (#21718) * Add proper aria-label for close inspector (#21719) * [Beats Management] Initial scaffolding for plugin (#18977) * Initial scaffolding for Beats plugin * Removing bits not (yet) necessary in initial scaffolding * [Beats Management] Install Beats index template on plugin init (#19072) * Install Beats index template on plugin init * Adding missing files * [Beats Management] APIs: Create enrollment tokens (#19018) * WIP checkin * Register API routes * Fixing typo in index name * Adding TODOs * Removing commented out license checking code that isn't yet implemented * Remove unnecessary async/await * Don't return until indices have been refreshed * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Adding TODO * Fixing variable name * Using a single index * Adding expiration date field * Adding test for expiration date field * Ignore non-existent index * Fixing logic in test * Creating constant for default enrollment tokens TTL value * Updating test * Fixing name of test file (#19100) * [Beats Management] APIs: Enroll beat (#19056) * WIP checkin * Add API integration test * Converting to Jest test * Create API for enrolling a beat * Handle invalid or expired enrollment tokens * Use create instead of index to prevent same beat from being enrolled twice * Adding unit test for duplicate beat enrollment * Do not persist enrollment token with beat once token has been checked and used * Fix datatype of host_ip field * Make Kibana API guess host IP instead of requiring it in payload * Fixing error introduced in rebase conflict resolution * [Beats Management] APIs: List beats (#19086) * WIP checkin * Add API integration test * Converting to Jest test * WIP checkin * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Updating mapping * [Beats Management] APIs: Verify beats (#19103) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Fleshing out remaining tests * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Moving TODO comment to right file * Rename determine* helper functions to find* * Fixing assertions (#19194) * [Beats Management] APIs: Update beat (#19148) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Add API tests * Update template to allow version field for beat * Implement PUT /api/beats/agent/{beat ID} API * Make enroll beat code consistent with update beat code * Fixing minor typo in TODO comment * Allow version in request payload * Make sure beat is not updated in ES in error scenarios * Adding version as required field in Enroll Beat API payload * Using destructuring * Fixing rename that was accidentally reversed in conflict fixing * [Beats Management] APIs: take auth tokens via headers (#19210) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Make "Enroll Beat" API take enrollment token via header instead of request body * Make "Update Beat" API take access token via header instead of request body * [Beats Management] APIs: Create configuration block (#19270) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Implementing POST /api/beats/configuration_blocks API * Removing unnecessary escaping * Fleshing out types + adding validation for them * Making output singular (was outputs) * Removing metricbeat.inputs * Revert implementation of `POST /api/beats/configuration_blocks` API (#19340) This API allowed the user to operate at a level of abstraction that is unnecessarily and dangerously too low. A better API would be at one level higher, where users can create, update, and delete tags (where a tag can contain multiple configuration blocks). * [Beats Management] APIs: Create or update tag (#19342) * Updating mappings * Implementing PUT /api/beats/tag/{tag} API * [Beats Management] Prevent timing attacks when checking auth tokens (#19363) * Using crypto.timingSafeEqual() for comparing auth tokens * Prevent subtler timing attack in token comparison function * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * [Beats Management] APIs: Assign tag(s) to beat(s) (#19431) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Rename "determine" to "find" * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Updating ES archive * Renaming * Use destructuring * Moving start of script to own line to increase readability * Using destructuring * [Beats Management] APIs: Remove tag(s) from beat(s) (#19440) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Renaming * Use destructuring * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Implementing `POST /api/beats/agents_tags/removals` API * Updating ES archive * Use destructuring * Moving start of script to own line to increase readability * Nothing to remove if there are no existing tags! * Updating tests to match changes in bulk update painless script * Use destructuring * [Beats Management] Move to Ingest UI arch and initial TS effort (#20039) * [Beats Management] Initial scaffolding for plugin (#18977) * Initial scaffolding for Beats plugin * Removing bits not (yet) necessary in initial scaffolding * [Beats Management] Install Beats index template on plugin init (#19072) * Install Beats index template on plugin init * Adding missing files * [Beats Management] APIs: Create enrollment tokens (#19018) * WIP checkin * Register API routes * Fixing typo in index name * Adding TODOs * Removing commented out license checking code that isn't yet implemented * Remove unnecessary async/await * Don't return until indices have been refreshed * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Adding TODO * Fixing variable name * Using a single index * Adding expiration date field * Adding test for expiration date field * Ignore non-existent index * Fixing logic in test * Creating constant for default enrollment tokens TTL value * Updating test * Fixing name of test file (#19100) * [Beats Management] APIs: Enroll beat (#19056) * WIP checkin * Add API integration test * Converting to Jest test * Create API for enrolling a beat * Handle invalid or expired enrollment tokens * Use create instead of index to prevent same beat from being enrolled twice * Adding unit test for duplicate beat enrollment * Do not persist enrollment token with beat once token has been checked and used * Fix datatype of host_ip field * Make Kibana API guess host IP instead of requiring it in payload * Fixing error introduced in rebase conflict resolution * [Beats Management] APIs: List beats (#19086) * WIP checkin * Add API integration test * Converting to Jest test * WIP checkin * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Updating mapping * [Beats Management] APIs: Verify beats (#19103) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Fleshing out remaining tests * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Moving TODO comment to right file * Rename determine* helper functions to find* * Fixing assertions (#19194) * [Beats Management] APIs: Update beat (#19148) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Add API tests * Update template to allow version field for beat * Implement PUT /api/beats/agent/{beat ID} API * Make enroll beat code consistent with update beat code * Fixing minor typo in TODO comment * Allow version in request payload * Make sure beat is not updated in ES in error scenarios * Adding version as required field in Enroll Beat API payload * Using destructuring * Fixing rename that was accidentally reversed in conflict fixing * [Beats Management] APIs: take auth tokens via headers (#19210) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Make "Enroll Beat" API take enrollment token via header instead of request body * Make "Update Beat" API take access token via header instead of request body * [Beats Management] APIs: Create configuration block (#19270) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Implementing POST /api/beats/configuration_blocks API * Removing unnecessary escaping * Fleshing out types + adding validation for them * Making output singular (was outputs) * Removing metricbeat.inputs * Revert implementation of `POST /api/beats/configuration_blocks` API (#19340) This API allowed the user to operate at a level of abstraction that is unnecessarily and dangerously too low. A better API would be at one level higher, where users can create, update, and delete tags (where a tag can contain multiple configuration blocks). * [Beats Management] APIs: Create or update tag (#19342) * Updating mappings * Implementing PUT /api/beats/tag/{tag} API * [Beats Management] Prevent timing attacks when checking auth tokens (#19363) * Using crypto.timingSafeEqual() for comparing auth tokens * Prevent subtler timing attack in token comparison function * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * [Beats Management] APIs: Assign tag(s) to beat(s) (#19431) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Rename "determine" to "find" * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Updating ES archive * Renaming * Use destructuring * Moving start of script to own line to increase readability * Using destructuring * [Beats Management] APIs: Remove tag(s) from beat(s) (#19440) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Renaming * Use destructuring * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Implementing `POST /api/beats/agents_tags/removals` API * Updating ES archive * Use destructuring * Moving start of script to own line to increase readability * Nothing to remove if there are no existing tags! * Updating tests to match changes in bulk update painless script * Use destructuring * Ported over base types and arch structure * move management of installIndexTemplate into the framework adapter * ts-lint fix * tslint fixes * more ts tweaks * fix paths * added several working endpoints * add more routes and bug fixes * fix linting * fix type remove CRUFT * remove more cruft * remove more CRUFT * added comments, change plurality * add tsconfig file * add extends path * fixed typo * serveral PR review fixes * fixed lodash type version * “fix” types by applying a lot of any * [Beats Management] Move tokens to use JWT, add more complete test suite (#20317) * inital effort to move to JWT and added jest based tests on libs * assign beats tests all passing * token tests now pass * add more tests * all tests now green * fix broken test, this is beats CM not logstash 😊 * added readme * move enrollment token back to a hash * remove un-needed comment * alias lodash get to avoid confusion * isolated hash creation * [Beats Management] add more tests, update types, break out ES into it's own adapter (#20566) * inital effort to move to JWT and added jest based tests on libs * assign beats tests all passing * token tests now pass * add more tests * all tests now green * move enrollment token back to a hash * remove un-needed comment * alias lodash get to avoid confusion * isolated hash creation * Add initial efforts for backend framework adapter testing * move ES code to a DatabaseAdapter from BackendAdapter and add a TON of types for ES * re-typed * renamed types to match pattern * aditional renames * adapter tests should always just use adapterSetup(); * database now uses InternalRequest * corrected spelling of framework * fix typings * remove CRUFT * RequestOrInternal * Dont pass around request objects everywhere, just pass the user. Also, removed hapi types as they were not compatible * fix tests, add test, removed extra comment * fix auth * updated lock file * [Beats Management] add get beat endpoint (#20603) * [Beats Management] Move tokens to use JWT, add more complete test suite (#20317) * inital effort to move to JWT and added jest based tests on libs * assign beats tests all passing * token tests now pass * add more tests * all tests now green * fix broken test, this is beats CM not logstash 😊 * added readme * move enrollment token back to a hash * remove un-needed comment * alias lodash get to avoid confusion * isolated hash creation * inital effort to move to JWT and added jest based tests on libs * assign beats tests all passing * token tests now pass * add more tests * all tests now green * move enrollment token back to a hash * remove un-needed comment * alias lodash get to avoid confusion * isolated hash creation * Add initial efforts for backend framework adapter testing * move ES code to a DatabaseAdapter from BackendAdapter and add a TON of types for ES * re-typed * renamed types to match pattern * aditional renames * adapter tests should always just use adapterSetup(); * database now uses InternalRequest * corrected spelling of framework * fix typings * remove CRUFT * RequestOrInternal * Dont pass around request objects everywhere, just pass the user. Also, removed hapi types as they were not compatible * fix tests, add test, removed extra comment * Moved critical path code from route, to more easeley tested domain * fix auth * remove beat verification, added get beat endpoint to return configs * fix type * update createGetBeatConfigurationRoute URL * rename method * update to match PR #20566 * updated lock file * fix bad merge * update TSLinting * fix bad rebase * [Beats Management] [WIP] Create public resources for management plugin (#20864) * Init plugin public resources. * rename beats to beats_management * rendering react now * Beats/initial ui (#20994) * initial layout and main nav * modal UI and pattern for UI established * fix path * wire up in-memroy adapters * tweak adapters * add getAll method to tags adapter (#21287) * Beats/real adapters (#21481) * add initial real adapters, and nulled data where we need endpoints * UI adapters and needed endpoints added (though not tested) * prep for route tests and some cleanup * move files * [Beats Management] Add BeatsTable/Bulk Action Search Component (#21182) * Add BeatsTable and control bar components. * Clean yarn.lock. * Move raw numbers/strings to constants. Remove obsolete state/props. * Update/add tests. * Change prop name from "items" to "beats". * Rename some variables. * Move search bar filter definitions to table render. * Update table to support assignment options. * Update action control position. * Refactor split render function into custom components. * Beats/basic use cases (#21660) * tweak adapter responses / types. re-add enroll ui * routes enabled, enroll now pings the server * full enrollment path now working * improved pinging for beat enrollment * fix location of history call * reload beats list on beat enrollment completion * add update on client side, expand update on server to allow for partial data, and user auth * remove double beat lookup * fix tests * only return active beats * disenroll now working * fig getAll query * re-enrolling a beat will now work * fix types * Add create tags view. * fix types * update deps * update kibana API for version * Added component/config interface for editing/creating tags. Added separate pages for create/edit tags. * Fixup. * Beats/beat tags workflow (#21923) * [Beats Management] Move to Ingest UI arch and initial TS effort (#20039) * [Beats Management] Initial scaffolding for plugin (#18977) * Initial scaffolding for Beats plugin * Removing bits not (yet) necessary in initial scaffolding * [Beats Management] Install Beats index template on plugin init (#19072) * Install Beats index template on plugin init * Adding missing files * [Beats Management] APIs: Create enrollment tokens (#19018) * WIP checkin * Register API routes * Fixing typo in index name * Adding TODOs * Removing commented out license checking code that isn't yet implemented * Remove unnecessary async/await * Don't return until indices have been refreshed * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Adding TODO * Fixing variable name * Using a single index * Adding expiration date field * Adding test for expiration date field * Ignore non-existent index * Fixing logic in test * Creating constant for default enrollment tokens TTL value * Updating test * Fixing name of test file (#19100) * [Beats Management] APIs: Enroll beat (#19056) * WIP checkin * Add API integration test * Converting to Jest test * Create API for enrolling a beat * Handle invalid or expired enrollment tokens * Use create instead of index to prevent same beat from being enrolled twice * Adding unit test for duplicate beat enrollment * Do not persist enrollment token with beat once token has been checked and used * Fix datatype of host_ip field * Make Kibana API guess host IP instead of requiring it in payload * Fixing error introduced in rebase conflict resolution * [Beats Management] APIs: List beats (#19086) * WIP checkin * Add API integration test * Converting to Jest test * WIP checkin * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Updating mapping * [Beats Management] APIs: Verify beats (#19103) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Fleshing out remaining tests * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Moving TODO comment to right file * Rename determine* helper functions to find* * Fixing assertions (#19194) * [Beats Management] APIs: Update beat (#19148) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Add API tests * Update template to allow version field for beat * Implement PUT /api/beats/agent/{beat ID} API * Make enroll beat code consistent with update beat code * Fixing minor typo in TODO comment * Allow version in request payload * Make sure beat is not updated in ES in error scenarios * Adding version as required field in Enroll Beat API payload * Using destructuring * Fixing rename that was accidentally reversed in conflict fixing * [Beats Management] APIs: take auth tokens via headers (#19210) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Make "Enroll Beat" API take enrollment token via header instead of request body * Make "Update Beat" API take access token via header instead of request body * [Beats Management] APIs: Create configuration block (#19270) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Implementing POST /api/beats/configuration_blocks API * Removing unnecessary escaping * Fleshing out types + adding validation for them * Making output singular (was outputs) * Removing metricbeat.inputs * Revert implementation of `POST /api/beats/configuration_blocks` API (#19340) This API allowed the user to operate at a level of abstraction that is unnecessarily and dangerously too low. A better API would be at one level higher, where users can create, update, and delete tags (where a tag can contain multiple configuration blocks). * [Beats Management] APIs: Create or update tag (#19342) * Updating mappings * Implementing PUT /api/beats/tag/{tag} API * [Beats Management] Prevent timing attacks when checking auth tokens (#19363) * Using crypto.timingSafeEqual() for comparing auth tokens * Prevent subtler timing attack in token comparison function * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * [Beats Management] APIs: Assign tag(s) to beat(s) (#19431) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Rename "determine" to "find" * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Updating ES archive * Renaming * Use destructuring * Moving start of script to own line to increase readability * Using destructuring * [Beats Management] APIs: Remove tag(s) from beat(s) (#19440) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Renaming * Use destructuring * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Implementing `POST /api/beats/agents_tags/removals` API * Updating ES archive * Use destructuring * Moving start of script to own line to increase readability * Nothing to remove if there are no existing tags! * Updating tests to match changes in bulk update painless script * Use destructuring * Ported over base types and arch structure * move management of installIndexTemplate into the framework adapter * ts-lint fix * tslint fixes * more ts tweaks * fix paths * added several working endpoints * add more routes and bug fixes * fix linting * fix type remove CRUFT * remove more cruft * remove more CRUFT * added comments, change plurality * add tsconfig file * add extends path * fixed typo * serveral PR review fixes * fixed lodash type version * “fix” types by applying a lot of any * add details page, re-configure routes * move tag crud to new route stuff * update tag create/edit component api * tags creation now working * bunch of stuff I should have split up better… * fixed perf bug, selected items that are removed are no longer phantom selected * fix rendering of assignments * remove assign to beats, the UX was too poor * Beats/config view (#22177) * [Beats Management] Move to Ingest UI arch and initial TS effort (#20039) * [Beats Management] Initial scaffolding for plugin (#18977) * Initial scaffolding for Beats plugin * Removing bits not (yet) necessary in initial scaffolding * [Beats Management] Install Beats index template on plugin init (#19072) * Install Beats index template on plugin init * Adding missing files * [Beats Management] APIs: Create enrollment tokens (#19018) * WIP checkin * Register API routes * Fixing typo in index name * Adding TODOs * Removing commented out license checking code that isn't yet implemented * Remove unnecessary async/await * Don't return until indices have been refreshed * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Adding TODO * Fixing variable name * Using a single index * Adding expiration date field * Adding test for expiration date field * Ignore non-existent index * Fixing logic in test * Creating constant for default enrollment tokens TTL value * Updating test * Fixing name of test file (#19100) * [Beats Management] APIs: Enroll beat (#19056) * WIP checkin * Add API integration test * Converting to Jest test * Create API for enrolling a beat * Handle invalid or expired enrollment tokens * Use create instead of index to prevent same beat from being enrolled twice * Adding unit test for duplicate beat enrollment * Do not persist enrollment token with beat once token has been checked and used * Fix datatype of host_ip field * Make Kibana API guess host IP instead of requiring it in payload * Fixing error introduced in rebase conflict resolution * [Beats Management] APIs: List beats (#19086) * WIP checkin * Add API integration test * Converting to Jest test * WIP checkin * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Updating mapping * [Beats Management] APIs: Verify beats (#19103) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Fleshing out remaining tests * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Moving TODO comment to right file * Rename determine* helper functions to find* * Fixing assertions (#19194) * [Beats Management] APIs: Update beat (#19148) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Add API tests * Update template to allow version field for beat * Implement PUT /api/beats/agent/{beat ID} API * Make enroll beat code consistent with update beat code * Fixing minor typo in TODO comment * Allow version in request payload * Make sure beat is not updated in ES in error scenarios * Adding version as required field in Enroll Beat API payload * Using destructuring * Fixing rename that was accidentally reversed in conflict fixing * [Beats Management] APIs: take auth tokens via headers (#19210) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Make "Enroll Beat" API take enrollment token via header instead of request body * Make "Update Beat" API take access token via header instead of request body * [Beats Management] APIs: Create configuration block (#19270) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Implementing POST /api/beats/configuration_blocks API * Removing unnecessary escaping * Fleshing out types + adding validation for them * Making output singular (was outputs) * Removing metricbeat.inputs * Revert implementation of `POST /api/beats/configuration_blocks` API (#19340) This API allowed the user to operate at a level of abstraction that is unnecessarily and dangerously too low. A better API would be at one level higher, where users can create, update, and delete tags (where a tag can contain multiple configuration blocks). * [Beats Management] APIs: Create or update tag (#19342) * Updating mappings * Implementing PUT /api/beats/tag/{tag} API * [Beats Management] Prevent timing attacks when checking auth tokens (#19363) * Using crypto.timingSafeEqual() for comparing auth tokens * Prevent subtler timing attack in token comparison function * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * [Beats Management] APIs: Assign tag(s) to beat(s) (#19431) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Rename "determine" to "find" * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Updating ES archive * Renaming * Use destructuring * Moving start of script to own line to increase readability * Using destructuring * [Beats Management] APIs: Remove tag(s) from beat(s) (#19440) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Renaming * Use destructuring * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Implementing `POST /api/beats/agents_tags/removals` API * Updating ES archive * Use destructuring * Moving start of script to own line to increase readability * Nothing to remove if there are no existing tags! * Updating tests to match changes in bulk update painless script * Use destructuring * Ported over base types and arch structure * move management of installIndexTemplate into the framework adapter * ts-lint fix * tslint fixes * more ts tweaks * fix paths * added several working endpoints * add more routes and bug fixes * fix linting * fix type remove CRUFT * remove more cruft * remove more CRUFT * added comments, change plurality * add tsconfig file * add extends path * fixed typo * serveral PR review fixes * fixed lodash type version * “fix” types by applying a lot of any * add details page, re-configure routes * move tag crud to new route stuff * update tag create/edit component api * tags creation now working * bunch of stuff I should have split up better… * fixed perf bug, selected items that are removed are no longer phantom selected * fix rendering of assignments * remove assign to beats, the UX was too poor * [Beats Management] Move to Ingest UI arch and initial TS effort (#20039) * [Beats Management] Initial scaffolding for plugin (#18977) * Initial scaffolding for Beats plugin * Removing bits not (yet) necessary in initial scaffolding * [Beats Management] Install Beats index template on plugin init (#19072) * Install Beats index template on plugin init * Adding missing files * [Beats Management] APIs: Create enrollment tokens (#19018) * WIP checkin * Register API routes * Fixing typo in index name * Adding TODOs * Removing commented out license checking code that isn't yet implemented * Remove unnecessary async/await * Don't return until indices have been refreshed * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Adding TODO * Fixing variable name * Using a single index * Adding expiration date field * Adding test for expiration date field * Ignore non-existent index * Fixing logic in test * Creating constant for default enrollment tokens TTL value * Updating test * Fixing name of test file (#19100) * [Beats Management] APIs: Enroll beat (#19056) * WIP checkin * Add API integration test * Converting to Jest test * Create API for enrolling a beat * Handle invalid or expired enrollment tokens * Use create instead of index to prevent same beat from being enrolled twice * Adding unit test for duplicate beat enrollment * Do not persist enrollment token with beat once token has been checked and used * Fix datatype of host_ip field * Make Kibana API guess host IP instead of requiring it in payload * Fixing error introduced in rebase conflict resolution * [Beats Management] APIs: List beats (#19086) * WIP checkin * Add API integration test * Converting to Jest test * WIP checkin * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Updating mapping * [Beats Management] APIs: Verify beats (#19103) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Fleshing out remaining tests * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Moving TODO comment to right file * Rename determine* helper functions to find* * Fixing assertions (#19194) * [Beats Management] APIs: Update beat (#19148) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Add API tests * Update template to allow version field for beat * Implement PUT /api/beats/agent/{beat ID} API * Make enroll beat code consistent with update beat code * Fixing minor typo in TODO comment * Allow version in request payload * Make sure beat is not updated in ES in error scenarios * Adding version as required field in Enroll Beat API payload * Using destructuring * Fixing rename that was accidentally reversed in conflict fixing * [Beats Management] APIs: take auth tokens via headers (#19210) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Make "Enroll Beat" API take enrollment token via header instead of request body * Make "Update Beat" API take access token via header instead of request body * [Beats Management] APIs: Create configuration block (#19270) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Implementing POST /api/beats/configuration_blocks API * Removing unnecessary escaping * Fleshing out types + adding validation for them * Making output singular (was outputs) * Removing metricbeat.inputs * Revert implementation of `POST /api/beats/configuration_blocks` API (#19340) This API allowed the user to operate at a level of abstraction that is unnecessarily and dangerously too low. A better API would be at one level higher, where users can create, update, and delete tags (where a tag can contain multiple configuration blocks). * [Beats Management] APIs: Create or update tag (#19342) * Updating mappings * Implementing PUT /api/beats/tag/{tag} API * [Beats Management] Prevent timing attacks when checking auth tokens (#19363) * Using crypto.timingSafeEqual() for comparing auth tokens * Prevent subtler timing attack in token comparison function * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * [Beats Management] APIs: Assign tag(s) to beat(s) (#19431) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Rename "determine" to "find" * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Updating ES archive * Renaming * Use destructuring * Moving start of script to own line to increase readability * Using destructuring * [Beats Management] APIs: Remove tag(s) from beat(s) (#19440) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Renaming * Use destructuring * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Implementing `POST /api/beats/agents_tags/removals` API * Updating ES archive * Use destructuring * Moving start of script to own line to increase readability * Nothing to remove if there are no existing tags! * Updating tests to match changes in bulk update painless script * Use destructuring * Ported over base types and arch structure * move management of installIndexTemplate into the framework adapter * ts-lint fix * tslint fixes * more ts tweaks * fix paths * added several working endpoints * add more routes and bug fixes * fix linting * fix type remove CRUFT * remove more cruft * remove more CRUFT * added comments, change plurality * add tsconfig file * add extends path * fixed typo * serveral PR review fixes * fixed lodash type version * “fix” types by applying a lot of any * Beats/update (#21702) * [ML] Fixing issue with historical job audit messages (#21718) * Add proper aria-label for close inspector (#21719) * [Beats Management] Initial scaffolding for plugin (#18977) * Initial scaffolding for Beats plugin * Removing bits not (yet) necessary in initial scaffolding * [Beats Management] Install Beats index template on plugin init (#19072) * Install Beats index template on plugin init * Adding missing files * [Beats Management] APIs: Create enrollment tokens (#19018) * WIP checkin * Register API routes * Fixing typo in index name * Adding TODOs * Removing commented out license checking code that isn't yet implemented * Remove unnecessary async/await * Don't return until indices have been refreshed * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Adding TODO * Fixing variable name * Using a single index * Adding expiration date field * Adding test for expiration date field * Ignore non-existent index * Fixing logic in test * Creating constant for default enrollment tokens TTL value * Updating test * Fixing name of test file (#19100) * [Beats Management] APIs: Enroll beat (#19056) * WIP checkin * Add API integration test * Converting to Jest test * Create API for enrolling a beat * Handle invalid or expired enrollment tokens * Use create instead of index to prevent same beat from being enrolled twice * Adding unit test for duplicate beat enrollment * Do not persist enrollment token with beat once token has been checked and used * Fix datatype of host_ip field * Make Kibana API guess host IP instead of requiring it in payload * Fixing error introduced in rebase conflict resolution * [Beats Management] APIs: List beats (#19086) * WIP checkin * Add API integration test * Converting to Jest test * WIP checkin * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Updating mapping * [Beats Management] APIs: Verify beats (#19103) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Fleshing out remaining tests * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Moving TODO comment to right file * Rename determine* helper functions to find* * Fixing assertions (#19194) * [Beats Management] APIs: Update beat (#19148) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Add API tests * Update template to allow version field for beat * Implement PUT /api/beats/agent/{beat ID} API * Make enroll beat code consistent with update beat code * Fixing minor typo in TODO comment * Allow version in request payload * Make sure beat is not updated in ES in error scenarios * Adding version as required field in Enroll Beat API payload * Using destructuring * Fixing rename that was accidentally reversed in conflict fixing * [Beats Management] APIs: take auth tokens via headers (#19210) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Make "Enroll Beat" API take enrollment token via header instead of request body * Make "Update Beat" API take access token via header instead of request body * [Beats Management] APIs: Create configuration block (#19270) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Implementing POST /api/beats/configuration_blocks API * Removing unnecessary escaping * Fleshing out types + adding validation for them * Making output singular (was outputs) * Removing metricbeat.inputs * Revert implementation of `POST /api/beats/configuration_blocks` API (#19340) This API allowed the user to operate at a level of abstraction that is unnecessarily and dangerously too low. A better API would be at one level higher, where users can create, update, and delete tags (where a tag can contain multiple configuration blocks). * [Beats Management] APIs: Create or update tag (#19342) * Updating mappings * Implementing PUT /api/beats/tag/{tag} API * [Beats Management] Prevent timing attacks when checking auth tokens (#19363) * Using crypto.timingSafeEqual() for comparing auth tokens * Prevent subtler timing attack in token comparison function * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * [Beats Management] APIs: Assign tag(s) to beat(s) (#19431) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Rename "determine" to "find" * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Updating ES archive * Renaming * Use destructuring * Moving start of script to own line to increase readability * Using destructuring * [Beats Management] APIs: Remove tag(s) from beat(s) (#19440) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Renaming * Use destructuring * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Implementing `POST /api/beats/agents_tags/removals` API * Updating ES archive * Use destructuring * Moving start of script to own line to increase readability * Nothing to remove if there are no existing tags! * Updating tests to match changes in bulk update painless script * Use destructuring * [Beats Management] Move to Ingest UI arch and initial TS effort (#20039) * [Beats Management] Initial scaffolding for plugin (#18977) * Initial scaffolding for Beats plugin * Removing bits not (yet) necessary in initial scaffolding * [Beats Management] Install Beats index template on plugin init (#19072) * Install Beats index template on plugin init * Adding missing files * [Beats Management] APIs: Create enrollment tokens (#19018) * WIP checkin * Register API routes * Fixing typo in index name * Adding TODOs * Removing commented out license checking code that isn't yet implemented * Remove unnecessary async/await * Don't return until indices have been refreshed * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Adding TODO * Fixing variable name * Using a single index * Adding expiration date field * Adding test for expiration date field * Ignore non-existent index * Fixing logic in test * Creating constant for default enrollment tokens TTL value * Updating test * Fixing name of test file (#19100) * [Beats Management] APIs: Enroll beat (#19056) * WIP checkin * Add API integration test * Converting to Jest test * Create API for enrolling a beat * Handle invalid or expired enrollment tokens * Use create instead of index to prevent same beat from being enrolled twice * Adding unit test for duplicate beat enrollment * Do not persist enrollment token with beat once token has been checked and used * Fix datatype of host_ip field * Make Kibana API guess host IP instead of requiring it in payload * Fixing error introduced in rebase conflict resolution * [Beats Management] APIs: List beats (#19086) * WIP checkin * Add API integration test * Converting to Jest test * WIP checkin * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Updating mapping * [Beats Management] APIs: Verify beats (#19103) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Fleshing out remaining tests * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Moving TODO comment to right file * Rename determine* helper functions to find* * Fixing assertions (#19194) * [Beats Management] APIs: Update beat (#19148) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Add API tests * Update template to allow version field for beat * Implement PUT /api/beats/agent/{beat ID} API * Make enroll beat code consistent with update beat code * Fixing minor typo in TODO comment * Allow version in request payload * Make sure beat is not updated in ES in error scenarios * Adding version as required field in Enroll Beat API payload * Using destructuring * Fixing rename that was accidentally reversed in conflict fixing * [Beats Management] APIs: take auth tokens via headers (#19210) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Make "Enroll Beat" API take enrollment token via header instead of request body * Make "Update Beat" API take access token via header instead of request body * [Beats Management] APIs: Create configuration block (#19270) * WIP checkin * WIP checkin * Add API integration test * Converting to Jest test * Fixing API for default case + adding test for it * Fixing copy pasta typos * Fixing variable name * Using a single index * Implementing GET /api/beats/agents API * Creating POST /api/beats/agents/verify API * Refactoring: extracting out helper functions * Expanding TODO note so I won't forget :) * Fixing file name * Updating mapping * Fixing minor typo in TODO comment * Implementing POST /api/beats/configuration_blocks API * Removing unnecessary escaping * Fleshing out types + adding validation for them * Making output singular (was outputs) * Removing metricbeat.inputs * Revert implementation of `POST /api/beats/configuration_blocks` API (#19340) This API allowed the user to operate at a level of abstraction that is unnecessarily and dangerously too low. A better API would be at one level higher, where users can create, update, and delete tags (where a tag can contain multiple configuration blocks). * [Beats Management] APIs: Create or update tag (#19342) * Updating mappings * Implementing PUT /api/beats/tag/{tag} API * [Beats Management] Prevent timing attacks when checking auth tokens (#19363) * Using crypto.timingSafeEqual() for comparing auth tokens * Prevent subtler timing attack in token comparison function * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * [Beats Management] APIs: Assign tag(s) to beat(s) (#19431) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Rename "determine" to "find" * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Updating ES archive * Renaming * Use destructuring * Moving start of script to own line to increase readability * Using destructuring * [Beats Management] APIs: Remove tag(s) from beat(s) (#19440) * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Remove random delay * Starting to implement POST /api/beats/beats_tags API * Changing API * Updating tests for changes to API * Renaming * Use destructuring * Using crypto.timingSafeEqual() for comparing auth tokens * Introduce random delay after we try to find token in ES to mitigate timing attack * Implementing `POST /api/beats/agents_tags/removals` API * Updating ES archive * Use destructuring * Moving start of script to own line to increase readability * Nothing to remove if there are no existing tags! * Updating tests to match changes in bulk update painless script * Use destructuring * Ported over base types and arch structure * move management of installIndexTemplate into the framework adapter * ts-lint fix * tslint fixes * more ts tweaks * fix paths * added several working endpoints * add more routes and bug fixes * fix linting * fix type remove CRUFT * remove more cruft * remove more CRUFT * added comments, change plurality * add tsconfig file * add extends path * fixed typo * serveral PR review fixes * fixed lodash type version * “fix” types by applying a lot of any * [Beats Management] Move tokens to use JWT, add more complete test suite (#20317) * inital effort to move to JWT and added jest based tests on libs * assign beats tests all passing * token tests now pass * add more tests * all tests now green * fix broken test, this is beats CM not logstash 😊 * added readme * move enrollment token back to a hash * remove un-needed comment * alias lodash get to avoid confusion * isolated hash creation * [Beats Management] add more tests, update types, break out ES into it's own adapter (#20566) * inital effort to move to JWT and added jest based tests on libs * assign beats tests all passing * token tests now pass * add more tests * all tests now green * move enrollment token back to a hash * remove un-needed comment * alias lodash get to avoid confusion * isolated hash creation * Add initial efforts for backend framework adapter testing * move ES code to a DatabaseAdapter from BackendAdapter and add a TON of types for ES * re-typed * renamed types to match pattern * aditional renames * adapter tests should always just use adapterSetup(); * database now uses InternalRequest * corrected spelling of framework * fix typings * remove CRUFT * RequestOrInternal * Dont pass around request objects everywhere, just pass the user. Also, removed hapi types as they were not compatible * fix tests, add test, removed extra comment * fix auth * updated lock file * [Beats Management] add get beat endpoint (#20603) * [Beats Management] Move tokens to use JWT, add more complete test suite (#20317) * inital effort to move to JWT and added jest based tests on libs * assign beats tests all passing * token tests now pass * add more tests * all tests now green * fix broken test, this is beats CM not logstash 😊 * added readme * move enrollment token back to a hash * remove un-needed comment * alias lodash get to avoid confusion * isolated hash creation * inital effort to move to JWT and added jest based tests on libs * assign beats tests all passing * token tests now pass * add more tests * all tests now green * move enrollment token back to a hash * remove un-needed comment * alias lodash get to avoid confusion * isolated hash creation * Add initial efforts for backend framework adapter testing * move ES code to a DatabaseAdapter from BackendAdapter and add a TON of types for ES * re-typed * renamed types to match pattern * aditional renames * adapter tests should always just use adapterSetup(); * database now uses InternalRequest * corrected spelling of framework * fix typings * remove CRUFT * RequestOrInternal * Dont pass around request objects everywhere, just pass the user. Also, removed hapi types as they were not compatible * fix tests, add test, removed extra comment * Moved critical path code from route, to more easeley tested domain * fix auth * remove beat verification, added get beat endpoint to return configs * fix type * update createGetBeatConfigurationRoute URL * rename method * update to match PR #20566 * updated lock file * fix bad merge * update TSLinting * fix bad rebase * [Beats Management] [WIP] Create public resources for management plugin (#20864) * Init plugin public resources. * rename beats to beats_management * rendering react now * Beats/initial ui (#20994) * initial layout and main nav * modal UI and pattern for UI established * fix path * wire up in-memroy adapters * tweak adapters * add getAll method to tags adapter (#21287) * Beats/real adapters (#21481) * add initial real adapters, and nulled data where we need endpoints * UI adapters and needed endpoints added (though not tested) * prep for route tests and some cleanup * move files * [Beats Management] Add BeatsTable/Bulk Action Search Component (#21182) * Add BeatsTable and control bar components. * Clean yarn.lock. * Move raw numbers/strings to constants. Remove obsolete state/props. * Update/add tests. * Change prop name from "items" to "beats". * Rename some variables. * Move search bar filter definitions to table render. * Update table to support assignment options. * Update action control position. * Refactor split render function into custom components. * Beats/basic use cases (#21660) * tweak adapter responses / types. re-add enroll ui * routes enabled, enroll now pings the server * full enrollment path now working * improved pinging for beat enrollment * fix location of history call * reload beats list on beat enrollment completion * add update on client side, expand update on server to allow for partial data, and user auth * remove double beat lookup * fix tests * only return active beats * disenroll now working * fig getAll query * re-enrolling a beat will now work * fix types * fix types * update deps * update kibana API for version * progress on config forms * config view inital input types working * ts fixes * fix more ts * code now errors on invalid yaml * remove un-needed include * fix bad rebase * saving config blocks as yaml to db is now working * propperly formatted YAML * loading tags back on edit screen in-progress * fix types * vis name validation for tag * update EUI style * tweak design * fixed tag assignments (still has a ui glitch) * fix form validation on select * fix deps * update deps * attached beats now works in the edit tag screen, edit now disables changing the tag id * better un-parsing of yaml, some elements now rendering to edit config blocks * delete config block now works * fix ability to edit config * fix deps * fix another rebase issue * tweaks and fixes * fix several bugs * Beats/security (#22500) * client side security working * check license on route * forgot a file * [Beats CM] Add beats details pages (#22455) * Move edits from previous details branch. * Add tag view to beat details. * Added notifications for add/remove tag from beat. * Fix dependencies upgrade/downgrade add/removes. * Create new page files for each sub-section of details view. * Move page functionality from dedicated components to pages. * [Beats CM] move to json for configs (#22693) * move to json for configs, fix some tests * tweaks * add fixes (#22711) * add fixes * return only one config * much improved validation for hosts, no longer require not required fields, no longer have JS in the config form config * fix condition argument * [Beats CM] Improve UX for assignment of tag to list of beats (#22687) * Improve UX for assignment of tag to list of beats. * Revert a change. * [Beats CM] Sort beat list tags (#22729) * Add logic to sort tags by ID when rendering in Beats List. * Prefer lodash sortBy over inline sort implementation. * [Beats CM] Remove key warnings from beat list components (#22772) * Add logic to sort tags by ID when rendering in Beats List. * Remove key warnings from beats list and associated components. * Prefer lodash sortBy over inline sort implementation. * [Beats CM] Add check for BeatsPage component to avoid setState when unmounted (#22836) * Add check if component is unmounted when loading Beats List page. * Move call to loadBeats() to componentDidMount lifecycle function. * Update field name in table type config. (#23228) * Utilize TagBadge functional component to standardize display of tag names. (#23253) * [Beats CM] Add beat name to update endpoint (#23291) * Update beat index template and update endpoints to expect name type. Add test file for update. * Update enroll script and endpoint to create a 'name' field for beats. * Add name field to CMBeat domain type. * Update functional tests to include name field. * Fix broken tag assignment functional test. * Edit beats list table config to display most recently-updated tag time. (#23337) * Update beat detail view info. (#23369) * Update beat detail view info. * Add period to end of update field. * [Beat CM] Show only tags associated with selected beat (#23398) * Reenable output config. * Make beat detail tag page only show tags associated with that tag. * Display beat name instead of ID on details screen. (#23410) * [Beat CM] Display config name instead of beat type in beat detail view (#23411) * Update config table in beat detail view to show config type instead of beat type. * Modify Beat Detail view to display human-friendly names for config block types. * [Beats CM] Add password input and re-enable output config schema (#23417) * wip defining controls * Complete adding formsy password field. * Re-enable output config schema definition. * Simplify import/export for formsy components. * Add full list of current Filebeat & Metricbeat module (#23258) This change also renames `Metricbeat input` to `Metricbeat module` * Beats/ui tweaks (#23655) * add initial breadcrumbs * prevent errors * New routing in place for supporting URLState needed for Kuery bar * beats table kuery bar “working” (but not submitting) * pulling activity view from current phase’s spec * setup link now at correct URL * kuery bar * autocomplete bar now working * Add walkthrough (#23785) * add test system, framework, and example tests * adding walkthrough * clicking walkthrough step should take you to that step * try/catch beats loading to prevent unhandeled error when there are no beats * fix walkthrough not redirecting to main beats page * update yarn lock files * fix prettier * fix x-pack package.json formatting * update kbn server creation * remove types from old table implementation * move to Boom.boomify * fix TS errors * fix type * rollback dep version * fix more conflicting dep issues * deps * force correct node type resolution * cleanup and skip tests (kbn test util is broken) * added formsy and basePath * update yarn lock file * add beats management icon * rename beats management main section * Tags now called Configuration Tags in the tabs * tokens must expire at most after 2 weeks * fix bad auto-import * beat details now shows the extra data needed * tweak package.json deps for continuity * update yarn lock for new yarn version * [Beats CM] Re-arch table assignment control definitions (#23663) * Patch changes to latest feature branch. * Update table controls to offer standard search bar if kuery bar props not provided. * Tweaked enrollment UI to inlcude beat type selection * Reduce badge list gutter size, change logic for tag assignment to unassign all if some selected. (#24091) * dont use genaric search bar * removed unused import * fix es-lint error * fix outputs * fix types from infra merge * remove dupe dep * update lock file * push another lock file * Add unfilteredBeats field to beat list state to prevent inappropriate redirect. (#24146) * fix yarn lock because yarn is dumb * Fix broken tests
2018-10-18 04:06:43 +02:00
"@octokit/rest": "^15.10.0",
Create vendor dll for the client modules (#22618) * feat(NA): first dll bundler code. * chore(NA): upgrade to webpack 4. * chore(NA): updated package.json * chore(NA): removed old code. * chore(NA): add parallel option. * chore(NA): removed console log and old var about node modules. * chore(NA): turn off unsafe cache. * chore(NA): update lock files. * chore(NA): new config for dll generation. * chore(NA): update stats emit. * chore(NA): update dependencies. * chore(NA): right cache loaders. * chore(NA): remove ui_bundles alias. * feat(20749): init implementation on bridge plugin for dll bundler. * feat(20749): init implementation for dll compiler. * feat(20749): dll bundler init from other process and webpack wrapper.. * feat(20749): optimizer changes to integrate with dll bundler. * chore(20749): split into different processes. * refact(20749): change to single running process. * refact(NA): improvements on dll bundler plugin. * refact(NA): removing including loop on plugins. * refact(20749): only run dllReference once. * chore(20749): todo on result.request path building. * chore(NA): lock files updated. * chore(NA): avoiding dll paths being removed. * chore(NA): tests on sync generation. * chore(NA): changes on entry paths compiler. * chore(NA): different hooks tests. * chore(20749): first working version, single process, for dynamic building dll. * feat(20749): last gross features for the dynamicdllplugin. * refact(20749): string interpolation when creating the path to delete in every optimizer cycle. feat(20749): creating the DynamicDllPlugin foundations. * chore(NA): updated base optimizer run function args. * chore(20749): first working solution with vendor dll both for prod and dev. * chore(20749): useful todos on client dlls. * feat(NA): auto built blacklist for server node_modules. * refact(NA): removed unused code. * chore(NA): update all webpack and loaders stuff to last versions. * refact(NA): first refacts on clean taks related with dll. feat(NA): added clean empty folders task. * refact(NA): removed support for console logs during the build. * refact(NA): removed extra space. * refact(NA): removed extra space. * refact(NA): getDllModules function. * chore(NA): removed unsafeCache option. * feat(NA): removed unsafeCache option. * refact(NA): apply general inheritance principles to the optimizer: hooks, and init. refact(NA): merge dynamic dll plugin into the common config. refact(NA): restore old template structure - vendors.dll style is always emitted. * fix(NA): fs_optimizer run function by not returning inside async func. * fix(NA): change template anchor name from vendor to vendors. * docs(NA): added info about files were keeping when cleaning the bundles. * fix(NA): filtering elible dll modules to delete. * refact(NA): removed old dll bundler in favor on new dynamic dll plugin. * refact(NA): initial split for clean modules on dll task. * refact(NA): update new dll config model. refact(NA): update config on dynamicdllplugin. * refact(NA): major work refactor for dynamic dll plugin. * refact(NA): extract clean node modules on dll task to its own folder. * refact(NA): organize imports. * docs(NA): add docs to registerCompilerHooks function for the optimizer. * refact(NA): finished refactor for dynamic dll plugin with correct error handling for runWebpack function. * refact(NA): basic structure for clean client modules on dll task. * fix(NA): resolve path for dll manifest during cclean build tasks. * refact(NA): split webpack dll related functions to their own file for clean client modules on dll task. * refact(NA): added error handling for the clean client modules on dll task - webpack dll related functions. * docs(NA): added license header. * refact(NA): complete split out the functions from the clean modules on dll task to the code_parser file. * refact(NA): main task entries compose. * docs(NA): extend docs for the getDependenciesFromFile function. * refact(NA): final structure split for clean client node modules dll task. * fix(NA): added missing param to calculate top level dependencies. * docs(NA): completed todo description about dll location. * fix(NA): add production option to webpack config on kbn-pm. * docs(NA): extended documentation about style extraction. * refact(NA): removed extra comments. * feat(NA): env variable to force dll creation. * feat(NA): include option to define folders to keep on delete empty folders task. * refact(NA): remove unused method from dll compiler. * feat(NA): move dlls outside bundles folder and support request for /dlls from a browser perspective. * chore(NA): gitignore updated to include new dlls folder. * chore(NA): eslintignore updated. * chore(NA): removed strange file from repo. * test(NA): fix failing tests for bundles_route. * fix(NA): change paths array to path string in a server route config. * fix(NA): remove infinite loop calls on register hooks functions. * fix(NA): readFile should only override the file in case it not exists. * refact(NA): removed dll compiler finish log on success with stats. * fix(NA): dll compiler alias. * fix(NA): dynamic dll plugin flow on needs compile. * fix(NA): raw alias config. * Revert "fix(NA): raw alias config." This reverts commit ebb245a78662917787e739dce3cc61e0da0971ca. * feat(NA): raw alias for moment on dll config model. * fix(NA): removed uiBundles from base_optimizer call on dynamicdllplugin. * chore(NA): decrease moment versions. * chore(NA): temporary changes on dll compiler. * fix(NA): majority of problems between dll approach, webpackshims and browser tests. * fix(NA): webpackShims integration with client vendors dll. fix(NA): enable esm modules mutability for development. fix(NA): only clean dll contents from build when they belong to node_modules. * fix(NA): fix for endless dll compilation loop. * fix(NA): removed esm plugin and skipped test using wrong stub strategy. * docs(NA): added some comments for the skipped test. * feat(NA): considering requires inside webpackShims valid entry paths to add to the dll entry file. * fix(NA): small fix for the max compilation logic. * docs(NA): add small explanatory note. * fix(NA): building requires results with relative requires found onn webpackShims. * docs(NA): add small note for error handling on dll compiler. * fix(NA): move precinct to prod dependencies. * test(NA): testing running functional tests on production. * fix(NA): restore tests run config for development flag. feat(NA): force dll creation with uiBundles is Dev flag. * chore(NA): update dependencies. * feat(NA): test update dll to completely match base optimizer one. * fix(NA): removed ts. * refact(NA): removed unused consts. * fix(NA): set back transpile sacss task in place. * fix(NA): fix resolve remoing ts and tsx. * fix(NA): set back transpile sacss task in place. * fix(NA): removing isDevmode from mustCompileDll. * fix(NA): add search for import statements into the dependencies visitor. * fix(NA): add dll suffix to vendors resource on ui bootstrap template. * fix(NA): some configs for unrelated dll work projects. * chore(NA): upgrade canvas plugins webpack build to webpack4. * chore(NA): add shim for moment-duration-format. * chore(NA): stup moment-duration-format into the moment webpackShim. * chore(NA): setup moment-duration-format into the moment-timezone webpackShim. * fix(NA): moment and moment-timezone webpackShims * chore(NA): added moment and moment-timezone webpackShims to x-pack. fix(NA): revert changes on webpackShims for oss kibana. * fix(NA): xpack webpackshims for moment. * fix(NA): remove xpack webpakcshims for moment. * fix(NA): webpakcshims for moment. * fix(NA): remove every changes from webpackShims and xpack webpackShims. * fix(NA): fix visitors to gather server dependencies resulting from export * from and export x, 'x' from. * chore(NA): update some webpack related dependencies. * fix(NA): in the dll the plugins need to have their own dependencies. It is the same for the ones into the tests relying on test against distributable. * feat(NA): including test/plugin_functional plugins into the kbn-pm bootstrap tasks. * fix(NA): wrong built yarn lock files. * chore(NA): updated webpack related dependencies. * feat(NA): add missing color for dynamic_dll_plugin logging tag. * chore(NA): removed forgotten console.log. * chore(NA): removed forgotten dead code. * chore(NA): removed missing old comment. * docs(NA): added missing notice for 2 tools we have relied on. * refact(NA): added is to a boolean variable to keep the consistency inside the code parser strategies. * fix(NA): update notice cli to exclude search inside dlls bundles. chore(NA): update notice file. * feat(NA): use lodash matches in the code parser visitors logic. * docs(NA): updated notice file related with the code parser visitors logic.. * docs(NA): added explanation for the process that decides if we should build a new dll or not. * test(NA): added missing tests for some usefull parts of the code. * refact(NA): split registerCompileHook function into small ones. * chore(NA): uncomment scripts from tests. * feat(NA): isolate code-parser in a kbn package * fix(NA): missing relative dot into the cwd function. * chore(NA): update all inter deps to match. * fix(NA): rebuild the yarn locks and the package jsons based on master ones. * fix(NA): move babel-code-parser to the prod deps. * chore(NA): include build path instead of the base root path. * refact(NA): integrate plugin_functional test plugins with workspaces. * fix(NA): include missing license for plugin functional test plugins. * fix(NA): always write posix paths into the dll entry file in order to make the dlls compilation working on windows too. chore(NA): improve error handling into dll compiler. * fix(NA): revert wrong moved line from canvas. * fix(NA): match ts-loader version between kibana and x-pack. * fix(NA): sync dll compiler with base_optimizer. * fix(NA): exclude kbn-interpreter from the dll. * refact(NA): remove exclusion of kbn-interpretor from base_optimizer. * chore(NA): add dlls folder to the yarn kbn clean script. * fix(NA): missing utf8 input format encoding when reading a file to create the hash into the watch optimizer cahce. * refact(NA): re-engineering to the dynamic_dll_plugin logs and lifecycle. * fix(NA): update clean node modules task to search under legacy/core_plugins. * fix(NA): fix build on windows with globby on cleaning dlls for the watch optimizer cache. * docs(NA): update documentation for the clean client node modules build task. * docs(NA): added extra comment to clarify the purpose for the built entrypoints. * chore(NA): update clean client node_modules code to use posix path. * feat(NA): add support for discovering server entries over the legacy plugins and the new plugins.
2018-12-05 16:45:19 +01:00
"@types/angular": "1.6.50",
"@types/angular-mocks": "^1.7.0",
"@types/babel__core": "^7.1.0",
"@types/bluebird": "^3.1.1",
"@types/boom": "^7.2.0",
"@types/chance": "^1.0.0",
"@types/chromedriver": "^2.38.0",
Replace spy panels by Inspector (#16387) * Add Inspector feature * So long, and thanks for all the fish, spy panel * Fix several functional tests * Fix unit tests * Fix spy panel button tests * Replace old spy panel documentation * Disable test temporarily until we have dashboard triggers * Enter edit mode for dark theme test * Fix some more functional tests * Fix more functional tests * More test fixing * Fix more functional tests * Allow opening the inspector via loader handler * Refactor InspectorViewChooser, remove unused CSS * Remove dead code * Fix data download button style * Remove redundant code * Load inspectorViews for dashboard_viewer * Extract inspector views to custom core_plugin * Switch API to TypeScript :tada: * Design changes * Remove icons from views * Design changes * Improve typings of API * Add typing to all adapters * Show loading spinner in request selector * Rewrite InspectorView to TypeScript * Fix help text for data view * Remove deprecated React lifecycle methods * Embed inspector into dashboard panel actions * Remove temporary inspector trigger * Remove old CSS * Fix dashboard trigger for new panel action * Add tests for InspectorPanel and DataAdapter * Produce a hierarchical table if the vis is hierarchical * Remove allowJs option again * Add missing Apache license headers * Close inspector on dashboard when navigating away * Use proper title for dashboard panels * Fix functional tests * Skip broken test for now * Flush view chooser button * Add request adapter tests * Skip more tests, broken due to typescript * Add Request Time description * Add description for courier request * Fix tests * Replace icon by new (not yet released) icon * Finalize design of inspector * Remove discover test, that relied on spy panels * Change API to be properly mockable in tests * Add aria-live region for request status * Replace old method in functional tests * Replace abitrary magic number * Use object destructuring in vis * Fix issue with crashing requests view * Add request time tooltip * Get request body of correct search source * Make filter buttons properly keyboard accessible * Follow Dave's design suggestions * Remove redundant request from name * Remove unneeded comments * WIP raw-formatted values * Fix filtering issue * Fix tests and more license headers * Add data view tests * Remove search from table * Fix typos * Implement review suggestion * Remove artificial delays for testing * Fix new panel action structure * Minor design adjustments * Fix failing functional test * Update failing snapshot test * Implement final wording * Apply new EUI styling * Fix closing inspector in tests * Fix sorting of table * Align punctuation between tooltips
2018-06-20 11:07:44 +02:00
"@types/classnames": "^2.2.3",
"@types/d3": "^3.5.41",
"@types/dedent": "^0.7.0",
"@types/del": "^3.0.1",
"@types/delete-empty": "^2.0.0",
"@types/elasticsearch": "^5.0.30",
"@types/enzyme": "^3.1.12",
"@types/eslint": "^4.16.6",
"@types/execa": "^0.9.0",
"@types/fetch-mock": "7.2.1",
"@types/getopts": "^2.0.0",
"@types/glob": "^5.0.35",
"@types/globby": "^8.0.0",
"@types/graphql": "^0.13.1",
Upgrade Hapi in legacy platform to v17 (#21707) * Disable even-better monitoring * Upgrade to Hapi v15 * Upgrade to Hapi v16 * Handle optional req params correctly * Update http and kbnServer * Get mocha tests passing * Convert `reply` usages [wip] * Fix Joi and Plugin incompatibilities * Get server up and running * Get basic logging working * Fix optimizer * Fix recent route handlers * Various fixes * Fix recent routes * Upgrade wreck for async/await * Fix mocha tests * Fix joi issues * Fix xpack jest tests * Fix recent routes * Fix tests * Fix index setup * Decouple monitoring stats collection from good plugin * Update reload logging test to work * Reimplement logging with updated good plugin * Fix unit tests * Fix getConnections back * Make LegacyLoggingServer compatible with Hapi v17 * Update joi types * Fix x-pack unit tests * Remove stray debugger * Remove hapi-compat * Fix API integrations * Upgrade boom * Fix security plugin * Misc fixes * bump * Fix licensePreRoutingFactory * Fix failing integration tests * Remove unnecessary test change * Remove hapi-latest package * fx * Various cleanup * Fix race condition in oppsy events * Use elastic/good fork * Fix boom.wrap and hapi-latest changes * Simplify LegacyLoggingServer updates * package.json cleanup + test fix * yarn.lock cleanup * Change good tag * Fixes * Change return err -> throw err in routes * Fix await returns * Fix new load_data test * Make cookie security flags consistent * tmp doc * Fix types * Fix tests * Upgrade canvas plugin * Move good package to published @elastic/good one * Fix SO test * Fix logging reloading * Update APM apis * Fix error logging * Fix logging test * Convert spaces plugin * Add validation error shim * Remove 7.0 release notes * Await renderApp * Fix ccr routes * Prevent header popovers from scrolling with page content (#23850) * Fix spaces test * new yarn.lock-s * Fix spaces tests * Remove h2o2-latest * Fix @types/hapi * Upgrade InfraOps plugin * Fix package.json * Add back isSameSite: false * Upgrade beats_management plugin * Update snapshot * Fix InfraOps * Upgrade kql_telemetry * Merge upstream/master * Upgrade apm and ml * Put snapshot test back * Fx beats * Upgrade rollups * Update boom usages in new plugins
2018-10-25 23:01:12 +02:00
"@types/hapi": "^17.0.18",
"@types/has-ansi": "^3.0.0",
Upgrade Hapi in legacy platform to v17 (#21707) * Disable even-better monitoring * Upgrade to Hapi v15 * Upgrade to Hapi v16 * Handle optional req params correctly * Update http and kbnServer * Get mocha tests passing * Convert `reply` usages [wip] * Fix Joi and Plugin incompatibilities * Get server up and running * Get basic logging working * Fix optimizer * Fix recent route handlers * Various fixes * Fix recent routes * Upgrade wreck for async/await * Fix mocha tests * Fix joi issues * Fix xpack jest tests * Fix recent routes * Fix tests * Fix index setup * Decouple monitoring stats collection from good plugin * Update reload logging test to work * Reimplement logging with updated good plugin * Fix unit tests * Fix getConnections back * Make LegacyLoggingServer compatible with Hapi v17 * Update joi types * Fix x-pack unit tests * Remove stray debugger * Remove hapi-compat * Fix API integrations * Upgrade boom * Fix security plugin * Misc fixes * bump * Fix licensePreRoutingFactory * Fix failing integration tests * Remove unnecessary test change * Remove hapi-latest package * fx * Various cleanup * Fix race condition in oppsy events * Use elastic/good fork * Fix boom.wrap and hapi-latest changes * Simplify LegacyLoggingServer updates * package.json cleanup + test fix * yarn.lock cleanup * Change good tag * Fixes * Change return err -> throw err in routes * Fix await returns * Fix new load_data test * Make cookie security flags consistent * tmp doc * Fix types * Fix tests * Upgrade canvas plugin * Move good package to published @elastic/good one * Fix SO test * Fix logging reloading * Update APM apis * Fix error logging * Fix logging test * Convert spaces plugin * Add validation error shim * Remove 7.0 release notes * Await renderApp * Fix ccr routes * Prevent header popovers from scrolling with page content (#23850) * Fix spaces test * new yarn.lock-s * Fix spaces tests * Remove h2o2-latest * Fix @types/hapi * Upgrade InfraOps plugin * Fix package.json * Add back isSameSite: false * Upgrade beats_management plugin * Update snapshot * Fix InfraOps * Upgrade kql_telemetry * Merge upstream/master * Upgrade apm and ml * Put snapshot test back * Fx beats * Upgrade rollups * Update boom usages in new plugins
2018-10-25 23:01:12 +02:00
"@types/hoek": "^4.1.3",
"@types/humps": "^1.1.2",
"@types/jest": "^24.0.9",
Upgrade Hapi in legacy platform to v17 (#21707) * Disable even-better monitoring * Upgrade to Hapi v15 * Upgrade to Hapi v16 * Handle optional req params correctly * Update http and kbnServer * Get mocha tests passing * Convert `reply` usages [wip] * Fix Joi and Plugin incompatibilities * Get server up and running * Get basic logging working * Fix optimizer * Fix recent route handlers * Various fixes * Fix recent routes * Upgrade wreck for async/await * Fix mocha tests * Fix joi issues * Fix xpack jest tests * Fix recent routes * Fix tests * Fix index setup * Decouple monitoring stats collection from good plugin * Update reload logging test to work * Reimplement logging with updated good plugin * Fix unit tests * Fix getConnections back * Make LegacyLoggingServer compatible with Hapi v17 * Update joi types * Fix x-pack unit tests * Remove stray debugger * Remove hapi-compat * Fix API integrations * Upgrade boom * Fix security plugin * Misc fixes * bump * Fix licensePreRoutingFactory * Fix failing integration tests * Remove unnecessary test change * Remove hapi-latest package * fx * Various cleanup * Fix race condition in oppsy events * Use elastic/good fork * Fix boom.wrap and hapi-latest changes * Simplify LegacyLoggingServer updates * package.json cleanup + test fix * yarn.lock cleanup * Change good tag * Fixes * Change return err -> throw err in routes * Fix await returns * Fix new load_data test * Make cookie security flags consistent * tmp doc * Fix types * Fix tests * Upgrade canvas plugin * Move good package to published @elastic/good one * Fix SO test * Fix logging reloading * Update APM apis * Fix error logging * Fix logging test * Convert spaces plugin * Add validation error shim * Remove 7.0 release notes * Await renderApp * Fix ccr routes * Prevent header popovers from scrolling with page content (#23850) * Fix spaces test * new yarn.lock-s * Fix spaces tests * Remove h2o2-latest * Fix @types/hapi * Upgrade InfraOps plugin * Fix package.json * Add back isSameSite: false * Upgrade beats_management plugin * Update snapshot * Fix InfraOps * Upgrade kql_telemetry * Merge upstream/master * Upgrade apm and ml * Put snapshot test back * Fx beats * Upgrade rollups * Update boom usages in new plugins
2018-10-25 23:01:12 +02:00
"@types/joi": "^13.4.2",
"@types/jquery": "^3.3.6",
"@types/js-yaml": "^3.11.1",
"@types/json5": "^0.0.30",
"@types/listr": "^0.13.0",
"@types/lodash": "^3.10.1",
"@types/lru-cache": "^5.1.0",
"@types/minimatch": "^2.0.29",
"@types/mocha": "^5.2.6",
[APM] Distributed Tracing (#24062) * Adds traces overview with mock data (#22628) * Updates service overview snapshots * Adds tests for ManagedTable and ImpactBar * Refactored transaction overview to use new managed table component * Removed jsconfig file in apm * [APM] Distributed tracing - Trace details (waterfall) (#22763) * [APM] Add typescript to waterfall (#23635) * [APM] Migrate get_trace and constants to Typescript (#23634) * [APM] Add types for setup_request (#23762) * [APM] Adds trace overview queries and some refactoring (#23605) * ImpactBar component to align EuiProgress usage for impact bars * Sharing some logic between transaction and trace queries * Typescript support * Quick fix ‘banana’ * [APM] Ensure backwards compatibility for v1 and v2 (#23636) * Make interfaces versioned * Rename eventType to docType * Fixes trace links on traces overview (#24089) * [APM] use react-redux-request (#24117) * Updated yarn lockfile for new yarn version * Updated dependency issues for react-router-dom types * [APM] Display transaction info on span flyout (#24189) * [APM] Display transaction info on span flyout * Brings in real location and url param data for transaction flyout * Converts flyout to TS * Adds query param state for flyouts with ts support * Updates styles and uses EuiTabs for transaction flyout * [APM] Transaction flyout * [APM] Minor docs cleanup (#24325) * [APM] Minor docs cleanup * [APM] Fix issues with v1 spans (#24332) * [APM] Add agent marks (#24361) * [APM] Typescript migration for the transaction endpoints (#24397) * [APM] DT transaction sample header (#24294) Transaction sample header completed * Fixes link target for traces overview to include trans/trace ids as query params * Converts Transaction index file to TS * Adds trace link to sample section * Refactors the trace link and applies it to two usages * Implements transaction sample action context menu * Calculates and implements duration percentage * Re-typed how transaction groups work * Fixes transaction flyout links and context menu * Removes unnecessary ms multiplication * Removes unused commented code * Finalizes infra links * Fixes some type shenanigans
2018-10-23 22:34:23 +02:00
"@types/moment-timezone": "^0.5.8",
"@types/mustache": "^0.8.31",
"@types/node": "^10.12.27",
"@types/opn": "^5.1.0",
"@types/podium": "^1.0.0",
"@types/prop-types": "^15.5.3",
"@types/puppeteer-core": "^1.9.0",
"@types/react": "^16.8.0",
"@types/react-dom": "^16.8.0",
"@types/react-redux": "^6.0.6",
[APM] Distributed Tracing (#24062) * Adds traces overview with mock data (#22628) * Updates service overview snapshots * Adds tests for ManagedTable and ImpactBar * Refactored transaction overview to use new managed table component * Removed jsconfig file in apm * [APM] Distributed tracing - Trace details (waterfall) (#22763) * [APM] Add typescript to waterfall (#23635) * [APM] Migrate get_trace and constants to Typescript (#23634) * [APM] Add types for setup_request (#23762) * [APM] Adds trace overview queries and some refactoring (#23605) * ImpactBar component to align EuiProgress usage for impact bars * Sharing some logic between transaction and trace queries * Typescript support * Quick fix ‘banana’ * [APM] Ensure backwards compatibility for v1 and v2 (#23636) * Make interfaces versioned * Rename eventType to docType * Fixes trace links on traces overview (#24089) * [APM] use react-redux-request (#24117) * Updated yarn lockfile for new yarn version * Updated dependency issues for react-router-dom types * [APM] Display transaction info on span flyout (#24189) * [APM] Display transaction info on span flyout * Brings in real location and url param data for transaction flyout * Converts flyout to TS * Adds query param state for flyouts with ts support * Updates styles and uses EuiTabs for transaction flyout * [APM] Transaction flyout * [APM] Minor docs cleanup (#24325) * [APM] Minor docs cleanup * [APM] Fix issues with v1 spans (#24332) * [APM] Add agent marks (#24361) * [APM] Typescript migration for the transaction endpoints (#24397) * [APM] DT transaction sample header (#24294) Transaction sample header completed * Fixes link target for traces overview to include trans/trace ids as query params * Converts Transaction index file to TS * Adds trace link to sample section * Refactors the trace link and applies it to two usages * Implements transaction sample action context menu * Calculates and implements duration percentage * Re-typed how transaction groups work * Fixes transaction flyout links and context menu * Removes unnecessary ms multiplication * Removes unused commented code * Finalizes infra links * Fixes some type shenanigans
2018-10-23 22:34:23 +02:00
"@types/react-router-dom": "^4.3.1",
"@types/react-virtualized": "^9.18.7",
"@types/redux": "^3.6.31",
"@types/redux-actions": "^2.2.1",
"@types/rimraf": "^2.0.2",
"@types/semver": "^5.5.0",
"@types/sinon": "^5.0.1",
"@types/strip-ansi": "^3.0.0",
[APM] Distributed Tracing (#24062) * Adds traces overview with mock data (#22628) * Updates service overview snapshots * Adds tests for ManagedTable and ImpactBar * Refactored transaction overview to use new managed table component * Removed jsconfig file in apm * [APM] Distributed tracing - Trace details (waterfall) (#22763) * [APM] Add typescript to waterfall (#23635) * [APM] Migrate get_trace and constants to Typescript (#23634) * [APM] Add types for setup_request (#23762) * [APM] Adds trace overview queries and some refactoring (#23605) * ImpactBar component to align EuiProgress usage for impact bars * Sharing some logic between transaction and trace queries * Typescript support * Quick fix ‘banana’ * [APM] Ensure backwards compatibility for v1 and v2 (#23636) * Make interfaces versioned * Rename eventType to docType * Fixes trace links on traces overview (#24089) * [APM] use react-redux-request (#24117) * Updated yarn lockfile for new yarn version * Updated dependency issues for react-router-dom types * [APM] Display transaction info on span flyout (#24189) * [APM] Display transaction info on span flyout * Brings in real location and url param data for transaction flyout * Converts flyout to TS * Adds query param state for flyouts with ts support * Updates styles and uses EuiTabs for transaction flyout * [APM] Transaction flyout * [APM] Minor docs cleanup (#24325) * [APM] Minor docs cleanup * [APM] Fix issues with v1 spans (#24332) * [APM] Add agent marks (#24361) * [APM] Typescript migration for the transaction endpoints (#24397) * [APM] DT transaction sample header (#24294) Transaction sample header completed * Fixes link target for traces overview to include trans/trace ids as query params * Converts Transaction index file to TS * Adds trace link to sample section * Refactors the trace link and applies it to two usages * Implements transaction sample action context menu * Calculates and implements duration percentage * Re-typed how transaction groups work * Fixes transaction flyout links and context menu * Removes unnecessary ms multiplication * Removes unused commented code * Finalizes infra links * Fixes some type shenanigans
2018-10-23 22:34:23 +02:00
"@types/styled-components": "^3.0.1",
"@types/supertest": "^2.0.5",
"@types/type-detect": "^4.0.1",
"@types/uuid": "^3.4.4",
"@types/zen-observable": "^0.8.0",
2015-10-19 15:39:34 +02:00
"angular-mocks": "1.4.7",
"archiver": "^3.0.0",
"babel-eslint": "^10.0.1",
"babel-jest": "^24.1.0",
"backport": "4.4.1",
2016-08-15 20:29:17 +02:00
"chai": "3.5.0",
"chance": "1.0.10",
"cheerio": "0.22.0",
"chokidar": "1.6.0",
2018-10-18 01:19:19 +02:00
"chromedriver": "2.42.1",
"classnames": "2.2.5",
2018-04-20 21:13:37 +02:00
"dedent": "^0.7.0",
"delete-empty": "^2.0.0",
"enzyme": "^3.7.0",
"enzyme-adapter-react-16": "^1.9.0",
"enzyme-adapter-utils": "^1.10.0",
"enzyme-to-json": "^3.3.4",
"eslint": "^5.15.1",
"eslint-config-prettier": "^4.1.0",
"eslint-plugin-babel": "^5.3.0",
"eslint-plugin-import": "^2.16.0",
"eslint-plugin-jest": "^22.3.0",
"eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-mocha": "^5.3.0",
"eslint-plugin-no-unsanitized": "^3.0.2",
"eslint-plugin-prefer-object-spread": "^1.2.1",
"eslint-plugin-prettier": "^3.0.1",
"eslint-plugin-react": "^7.12.4",
"eslint-plugin-react-hooks": "^1.6.0",
"faker": "1.1.0",
"fetch-mock": "7.3.0",
"geckodriver": "^1.16.1",
"getopts": "2.0.0",
"grunt": "1.0.3",
2018-07-27 13:30:17 +02:00
"grunt-cli": "^1.2.0",
2018-11-08 23:09:00 +01:00
"grunt-contrib-watch": "^1.1.0",
"grunt-karma": "2.0.0",
"grunt-peg": "^2.0.1",
2017-06-02 16:15:45 +02:00
"grunt-run": "0.7.0",
"gulp-babel": "^8.0.0",
Upgrade to NodeJS 10 (#25157) * feat(NA): upgrade node js version on file configs. * chore(NA): migrate configs and 3rd party dependencies to work on node js 10.x * fix(NA): add missing async function declaration. * chore(NA): updated elastic/good package to work with node10 * chore(NA): update lockfiles. * fix(NA): add missing dep. * fix(NA): types for node 10. * test(NA): fix error return type for node10. * fix(NA): kbn-pm webpack config to unlazy a require using lazy-cache. fix(NA): build to work with node 10. * test(NA): jest integration test for kbn-pluin-helpers. * test(NA): fix jest tests for kbn-es. * fix(NA): use ostmpdir instead of a tmp folder inside the fixtures. * fix(NA): change afterEach on kbn es decompress test. * fix(NA): change afterEach on kbn es decompress test. * fix(NA): readd mock-fs for the tests that still use it on kbn-es and that works on node10. * fix(NA): readd mock-fs for the tests that still use it on kbn-es and that works on node10. * refact(NA): rewrite tests using mock-fs and completely remove this dependency. * fix(NA): failing test implementation using jest mock in order to replace mock-fs. * fix(NA): update jest snapshots to match new ones generated one node 10. * fix(NA): cli/cluster mock to spyOn off method instead off spyOn removeListener as this was changed on Node 10. * fix(NA): tests for cluster_manager to also spyOn off and on instead of addListener and removeListener * test(NA): fix management advance settings image field test flow. * fix(NA): apply missing types for src/core/server/plugins/discovery/plugins_discovery.ts. * test(NA): updated 2 missing snapshots for KuiCodeEditor on kbn-ui-framework. * refact(NA): fix eslint errors. * refact(NA): fix ts code with tslint fix. chore(NA): update jest snapshots. * chore(NA): migrate kbn config schema peer dependency to last used joi version to avoid warning on bootstrap. * fix(NA): tslint errors. * chore(NA): upgrade types node to the last version. * fix(NA): missing utf8 input format encoding when reading a file. * chore(NA): upgrade to node 10.14.1 * fix(NA): Buffer api usage to avoid deprecation warnings.
2018-12-10 18:41:51 +01:00
"gulp-sourcemaps": "2.6.4",
"has-ansi": "^3.0.0",
"image-diff": "1.6.0",
"intl-messageformat-parser": "^1.4.0",
"is-path-inside": "^2.0.0",
Create vendor dll for the client modules (#22618) * feat(NA): first dll bundler code. * chore(NA): upgrade to webpack 4. * chore(NA): updated package.json * chore(NA): removed old code. * chore(NA): add parallel option. * chore(NA): removed console log and old var about node modules. * chore(NA): turn off unsafe cache. * chore(NA): update lock files. * chore(NA): new config for dll generation. * chore(NA): update stats emit. * chore(NA): update dependencies. * chore(NA): right cache loaders. * chore(NA): remove ui_bundles alias. * feat(20749): init implementation on bridge plugin for dll bundler. * feat(20749): init implementation for dll compiler. * feat(20749): dll bundler init from other process and webpack wrapper.. * feat(20749): optimizer changes to integrate with dll bundler. * chore(20749): split into different processes. * refact(20749): change to single running process. * refact(NA): improvements on dll bundler plugin. * refact(NA): removing including loop on plugins. * refact(20749): only run dllReference once. * chore(20749): todo on result.request path building. * chore(NA): lock files updated. * chore(NA): avoiding dll paths being removed. * chore(NA): tests on sync generation. * chore(NA): changes on entry paths compiler. * chore(NA): different hooks tests. * chore(20749): first working version, single process, for dynamic building dll. * feat(20749): last gross features for the dynamicdllplugin. * refact(20749): string interpolation when creating the path to delete in every optimizer cycle. feat(20749): creating the DynamicDllPlugin foundations. * chore(NA): updated base optimizer run function args. * chore(20749): first working solution with vendor dll both for prod and dev. * chore(20749): useful todos on client dlls. * feat(NA): auto built blacklist for server node_modules. * refact(NA): removed unused code. * chore(NA): update all webpack and loaders stuff to last versions. * refact(NA): first refacts on clean taks related with dll. feat(NA): added clean empty folders task. * refact(NA): removed support for console logs during the build. * refact(NA): removed extra space. * refact(NA): removed extra space. * refact(NA): getDllModules function. * chore(NA): removed unsafeCache option. * feat(NA): removed unsafeCache option. * refact(NA): apply general inheritance principles to the optimizer: hooks, and init. refact(NA): merge dynamic dll plugin into the common config. refact(NA): restore old template structure - vendors.dll style is always emitted. * fix(NA): fs_optimizer run function by not returning inside async func. * fix(NA): change template anchor name from vendor to vendors. * docs(NA): added info about files were keeping when cleaning the bundles. * fix(NA): filtering elible dll modules to delete. * refact(NA): removed old dll bundler in favor on new dynamic dll plugin. * refact(NA): initial split for clean modules on dll task. * refact(NA): update new dll config model. refact(NA): update config on dynamicdllplugin. * refact(NA): major work refactor for dynamic dll plugin. * refact(NA): extract clean node modules on dll task to its own folder. * refact(NA): organize imports. * docs(NA): add docs to registerCompilerHooks function for the optimizer. * refact(NA): finished refactor for dynamic dll plugin with correct error handling for runWebpack function. * refact(NA): basic structure for clean client modules on dll task. * fix(NA): resolve path for dll manifest during cclean build tasks. * refact(NA): split webpack dll related functions to their own file for clean client modules on dll task. * refact(NA): added error handling for the clean client modules on dll task - webpack dll related functions. * docs(NA): added license header. * refact(NA): complete split out the functions from the clean modules on dll task to the code_parser file. * refact(NA): main task entries compose. * docs(NA): extend docs for the getDependenciesFromFile function. * refact(NA): final structure split for clean client node modules dll task. * fix(NA): added missing param to calculate top level dependencies. * docs(NA): completed todo description about dll location. * fix(NA): add production option to webpack config on kbn-pm. * docs(NA): extended documentation about style extraction. * refact(NA): removed extra comments. * feat(NA): env variable to force dll creation. * feat(NA): include option to define folders to keep on delete empty folders task. * refact(NA): remove unused method from dll compiler. * feat(NA): move dlls outside bundles folder and support request for /dlls from a browser perspective. * chore(NA): gitignore updated to include new dlls folder. * chore(NA): eslintignore updated. * chore(NA): removed strange file from repo. * test(NA): fix failing tests for bundles_route. * fix(NA): change paths array to path string in a server route config. * fix(NA): remove infinite loop calls on register hooks functions. * fix(NA): readFile should only override the file in case it not exists. * refact(NA): removed dll compiler finish log on success with stats. * fix(NA): dll compiler alias. * fix(NA): dynamic dll plugin flow on needs compile. * fix(NA): raw alias config. * Revert "fix(NA): raw alias config." This reverts commit ebb245a78662917787e739dce3cc61e0da0971ca. * feat(NA): raw alias for moment on dll config model. * fix(NA): removed uiBundles from base_optimizer call on dynamicdllplugin. * chore(NA): decrease moment versions. * chore(NA): temporary changes on dll compiler. * fix(NA): majority of problems between dll approach, webpackshims and browser tests. * fix(NA): webpackShims integration with client vendors dll. fix(NA): enable esm modules mutability for development. fix(NA): only clean dll contents from build when they belong to node_modules. * fix(NA): fix for endless dll compilation loop. * fix(NA): removed esm plugin and skipped test using wrong stub strategy. * docs(NA): added some comments for the skipped test. * feat(NA): considering requires inside webpackShims valid entry paths to add to the dll entry file. * fix(NA): small fix for the max compilation logic. * docs(NA): add small explanatory note. * fix(NA): building requires results with relative requires found onn webpackShims. * docs(NA): add small note for error handling on dll compiler. * fix(NA): move precinct to prod dependencies. * test(NA): testing running functional tests on production. * fix(NA): restore tests run config for development flag. feat(NA): force dll creation with uiBundles is Dev flag. * chore(NA): update dependencies. * feat(NA): test update dll to completely match base optimizer one. * fix(NA): removed ts. * refact(NA): removed unused consts. * fix(NA): set back transpile sacss task in place. * fix(NA): fix resolve remoing ts and tsx. * fix(NA): set back transpile sacss task in place. * fix(NA): removing isDevmode from mustCompileDll. * fix(NA): add search for import statements into the dependencies visitor. * fix(NA): add dll suffix to vendors resource on ui bootstrap template. * fix(NA): some configs for unrelated dll work projects. * chore(NA): upgrade canvas plugins webpack build to webpack4. * chore(NA): add shim for moment-duration-format. * chore(NA): stup moment-duration-format into the moment webpackShim. * chore(NA): setup moment-duration-format into the moment-timezone webpackShim. * fix(NA): moment and moment-timezone webpackShims * chore(NA): added moment and moment-timezone webpackShims to x-pack. fix(NA): revert changes on webpackShims for oss kibana. * fix(NA): xpack webpackshims for moment. * fix(NA): remove xpack webpakcshims for moment. * fix(NA): webpakcshims for moment. * fix(NA): remove every changes from webpackShims and xpack webpackShims. * fix(NA): fix visitors to gather server dependencies resulting from export * from and export x, 'x' from. * chore(NA): update some webpack related dependencies. * fix(NA): in the dll the plugins need to have their own dependencies. It is the same for the ones into the tests relying on test against distributable. * feat(NA): including test/plugin_functional plugins into the kbn-pm bootstrap tasks. * fix(NA): wrong built yarn lock files. * chore(NA): updated webpack related dependencies. * feat(NA): add missing color for dynamic_dll_plugin logging tag. * chore(NA): removed forgotten console.log. * chore(NA): removed forgotten dead code. * chore(NA): removed missing old comment. * docs(NA): added missing notice for 2 tools we have relied on. * refact(NA): added is to a boolean variable to keep the consistency inside the code parser strategies. * fix(NA): update notice cli to exclude search inside dlls bundles. chore(NA): update notice file. * feat(NA): use lodash matches in the code parser visitors logic. * docs(NA): updated notice file related with the code parser visitors logic.. * docs(NA): added explanation for the process that decides if we should build a new dll or not. * test(NA): added missing tests for some usefull parts of the code. * refact(NA): split registerCompileHook function into small ones. * chore(NA): uncomment scripts from tests. * feat(NA): isolate code-parser in a kbn package * fix(NA): missing relative dot into the cwd function. * chore(NA): update all inter deps to match. * fix(NA): rebuild the yarn locks and the package jsons based on master ones. * fix(NA): move babel-code-parser to the prod deps. * chore(NA): include build path instead of the base root path. * refact(NA): integrate plugin_functional test plugins with workspaces. * fix(NA): include missing license for plugin functional test plugins. * fix(NA): always write posix paths into the dll entry file in order to make the dlls compilation working on windows too. chore(NA): improve error handling into dll compiler. * fix(NA): revert wrong moved line from canvas. * fix(NA): match ts-loader version between kibana and x-pack. * fix(NA): sync dll compiler with base_optimizer. * fix(NA): exclude kbn-interpreter from the dll. * refact(NA): remove exclusion of kbn-interpretor from base_optimizer. * chore(NA): add dlls folder to the yarn kbn clean script. * fix(NA): missing utf8 input format encoding when reading a file to create the hash into the watch optimizer cahce. * refact(NA): re-engineering to the dynamic_dll_plugin logs and lifecycle. * fix(NA): update clean node modules task to search under legacy/core_plugins. * fix(NA): fix build on windows with globby on cleaning dlls for the watch optimizer cache. * docs(NA): update documentation for the clean client node modules build task. * docs(NA): added extra comment to clarify the purpose for the built entrypoints. * chore(NA): update clean client node_modules code to use posix path. * feat(NA): add support for discovering server entries over the legacy plugins and the new plugins.
2018-12-05 16:45:19 +01:00
"istanbul-instrumenter-loader": "3.0.1",
"jest": "^24.1.0",
"jest-cli": "^24.1.0",
"jest-raw-loader": "^1.0.1",
"jimp": "0.2.28",
"json5": "^1.0.1",
"karma": "3.1.4",
2017-05-16 01:46:52 +02:00
"karma-chrome-launcher": "2.1.1",
"karma-coverage": "1.1.1",
"karma-firefox-launcher": "1.0.1",
"karma-ie-launcher": "1.0.0",
"karma-junit-reporter": "1.2.0",
2017-05-16 01:46:52 +02:00
"karma-mocha": "1.3.0",
"karma-safari-launcher": "1.0.0",
2018-01-19 08:49:55 +01:00
"license-checker": "^16.0.0",
"listr": "^0.14.1",
"load-grunt-config": "0.19.2",
"mocha": "3.3.0",
"multistream": "^2.1.1",
"murmurhash3js": "3.0.1",
"mutation-observer": "^1.0.3",
"nock": "8.0.0",
Create vendor dll for the client modules (#22618) * feat(NA): first dll bundler code. * chore(NA): upgrade to webpack 4. * chore(NA): updated package.json * chore(NA): removed old code. * chore(NA): add parallel option. * chore(NA): removed console log and old var about node modules. * chore(NA): turn off unsafe cache. * chore(NA): update lock files. * chore(NA): new config for dll generation. * chore(NA): update stats emit. * chore(NA): update dependencies. * chore(NA): right cache loaders. * chore(NA): remove ui_bundles alias. * feat(20749): init implementation on bridge plugin for dll bundler. * feat(20749): init implementation for dll compiler. * feat(20749): dll bundler init from other process and webpack wrapper.. * feat(20749): optimizer changes to integrate with dll bundler. * chore(20749): split into different processes. * refact(20749): change to single running process. * refact(NA): improvements on dll bundler plugin. * refact(NA): removing including loop on plugins. * refact(20749): only run dllReference once. * chore(20749): todo on result.request path building. * chore(NA): lock files updated. * chore(NA): avoiding dll paths being removed. * chore(NA): tests on sync generation. * chore(NA): changes on entry paths compiler. * chore(NA): different hooks tests. * chore(20749): first working version, single process, for dynamic building dll. * feat(20749): last gross features for the dynamicdllplugin. * refact(20749): string interpolation when creating the path to delete in every optimizer cycle. feat(20749): creating the DynamicDllPlugin foundations. * chore(NA): updated base optimizer run function args. * chore(20749): first working solution with vendor dll both for prod and dev. * chore(20749): useful todos on client dlls. * feat(NA): auto built blacklist for server node_modules. * refact(NA): removed unused code. * chore(NA): update all webpack and loaders stuff to last versions. * refact(NA): first refacts on clean taks related with dll. feat(NA): added clean empty folders task. * refact(NA): removed support for console logs during the build. * refact(NA): removed extra space. * refact(NA): removed extra space. * refact(NA): getDllModules function. * chore(NA): removed unsafeCache option. * feat(NA): removed unsafeCache option. * refact(NA): apply general inheritance principles to the optimizer: hooks, and init. refact(NA): merge dynamic dll plugin into the common config. refact(NA): restore old template structure - vendors.dll style is always emitted. * fix(NA): fs_optimizer run function by not returning inside async func. * fix(NA): change template anchor name from vendor to vendors. * docs(NA): added info about files were keeping when cleaning the bundles. * fix(NA): filtering elible dll modules to delete. * refact(NA): removed old dll bundler in favor on new dynamic dll plugin. * refact(NA): initial split for clean modules on dll task. * refact(NA): update new dll config model. refact(NA): update config on dynamicdllplugin. * refact(NA): major work refactor for dynamic dll plugin. * refact(NA): extract clean node modules on dll task to its own folder. * refact(NA): organize imports. * docs(NA): add docs to registerCompilerHooks function for the optimizer. * refact(NA): finished refactor for dynamic dll plugin with correct error handling for runWebpack function. * refact(NA): basic structure for clean client modules on dll task. * fix(NA): resolve path for dll manifest during cclean build tasks. * refact(NA): split webpack dll related functions to their own file for clean client modules on dll task. * refact(NA): added error handling for the clean client modules on dll task - webpack dll related functions. * docs(NA): added license header. * refact(NA): complete split out the functions from the clean modules on dll task to the code_parser file. * refact(NA): main task entries compose. * docs(NA): extend docs for the getDependenciesFromFile function. * refact(NA): final structure split for clean client node modules dll task. * fix(NA): added missing param to calculate top level dependencies. * docs(NA): completed todo description about dll location. * fix(NA): add production option to webpack config on kbn-pm. * docs(NA): extended documentation about style extraction. * refact(NA): removed extra comments. * feat(NA): env variable to force dll creation. * feat(NA): include option to define folders to keep on delete empty folders task. * refact(NA): remove unused method from dll compiler. * feat(NA): move dlls outside bundles folder and support request for /dlls from a browser perspective. * chore(NA): gitignore updated to include new dlls folder. * chore(NA): eslintignore updated. * chore(NA): removed strange file from repo. * test(NA): fix failing tests for bundles_route. * fix(NA): change paths array to path string in a server route config. * fix(NA): remove infinite loop calls on register hooks functions. * fix(NA): readFile should only override the file in case it not exists. * refact(NA): removed dll compiler finish log on success with stats. * fix(NA): dll compiler alias. * fix(NA): dynamic dll plugin flow on needs compile. * fix(NA): raw alias config. * Revert "fix(NA): raw alias config." This reverts commit ebb245a78662917787e739dce3cc61e0da0971ca. * feat(NA): raw alias for moment on dll config model. * fix(NA): removed uiBundles from base_optimizer call on dynamicdllplugin. * chore(NA): decrease moment versions. * chore(NA): temporary changes on dll compiler. * fix(NA): majority of problems between dll approach, webpackshims and browser tests. * fix(NA): webpackShims integration with client vendors dll. fix(NA): enable esm modules mutability for development. fix(NA): only clean dll contents from build when they belong to node_modules. * fix(NA): fix for endless dll compilation loop. * fix(NA): removed esm plugin and skipped test using wrong stub strategy. * docs(NA): added some comments for the skipped test. * feat(NA): considering requires inside webpackShims valid entry paths to add to the dll entry file. * fix(NA): small fix for the max compilation logic. * docs(NA): add small explanatory note. * fix(NA): building requires results with relative requires found onn webpackShims. * docs(NA): add small note for error handling on dll compiler. * fix(NA): move precinct to prod dependencies. * test(NA): testing running functional tests on production. * fix(NA): restore tests run config for development flag. feat(NA): force dll creation with uiBundles is Dev flag. * chore(NA): update dependencies. * feat(NA): test update dll to completely match base optimizer one. * fix(NA): removed ts. * refact(NA): removed unused consts. * fix(NA): set back transpile sacss task in place. * fix(NA): fix resolve remoing ts and tsx. * fix(NA): set back transpile sacss task in place. * fix(NA): removing isDevmode from mustCompileDll. * fix(NA): add search for import statements into the dependencies visitor. * fix(NA): add dll suffix to vendors resource on ui bootstrap template. * fix(NA): some configs for unrelated dll work projects. * chore(NA): upgrade canvas plugins webpack build to webpack4. * chore(NA): add shim for moment-duration-format. * chore(NA): stup moment-duration-format into the moment webpackShim. * chore(NA): setup moment-duration-format into the moment-timezone webpackShim. * fix(NA): moment and moment-timezone webpackShims * chore(NA): added moment and moment-timezone webpackShims to x-pack. fix(NA): revert changes on webpackShims for oss kibana. * fix(NA): xpack webpackshims for moment. * fix(NA): remove xpack webpakcshims for moment. * fix(NA): webpakcshims for moment. * fix(NA): remove every changes from webpackShims and xpack webpackShims. * fix(NA): fix visitors to gather server dependencies resulting from export * from and export x, 'x' from. * chore(NA): update some webpack related dependencies. * fix(NA): in the dll the plugins need to have their own dependencies. It is the same for the ones into the tests relying on test against distributable. * feat(NA): including test/plugin_functional plugins into the kbn-pm bootstrap tasks. * fix(NA): wrong built yarn lock files. * chore(NA): updated webpack related dependencies. * feat(NA): add missing color for dynamic_dll_plugin logging tag. * chore(NA): removed forgotten console.log. * chore(NA): removed forgotten dead code. * chore(NA): removed missing old comment. * docs(NA): added missing notice for 2 tools we have relied on. * refact(NA): added is to a boolean variable to keep the consistency inside the code parser strategies. * fix(NA): update notice cli to exclude search inside dlls bundles. chore(NA): update notice file. * feat(NA): use lodash matches in the code parser visitors logic. * docs(NA): updated notice file related with the code parser visitors logic.. * docs(NA): added explanation for the process that decides if we should build a new dll or not. * test(NA): added missing tests for some usefull parts of the code. * refact(NA): split registerCompileHook function into small ones. * chore(NA): uncomment scripts from tests. * feat(NA): isolate code-parser in a kbn package * fix(NA): missing relative dot into the cwd function. * chore(NA): update all inter deps to match. * fix(NA): rebuild the yarn locks and the package jsons based on master ones. * fix(NA): move babel-code-parser to the prod deps. * chore(NA): include build path instead of the base root path. * refact(NA): integrate plugin_functional test plugins with workspaces. * fix(NA): include missing license for plugin functional test plugins. * fix(NA): always write posix paths into the dll entry file in order to make the dlls compilation working on windows too. chore(NA): improve error handling into dll compiler. * fix(NA): revert wrong moved line from canvas. * fix(NA): match ts-loader version between kibana and x-pack. * fix(NA): sync dll compiler with base_optimizer. * fix(NA): exclude kbn-interpreter from the dll. * refact(NA): remove exclusion of kbn-interpretor from base_optimizer. * chore(NA): add dlls folder to the yarn kbn clean script. * fix(NA): missing utf8 input format encoding when reading a file to create the hash into the watch optimizer cahce. * refact(NA): re-engineering to the dynamic_dll_plugin logs and lifecycle. * fix(NA): update clean node modules task to search under legacy/core_plugins. * fix(NA): fix build on windows with globby on cleaning dlls for the watch optimizer cache. * docs(NA): update documentation for the clean client node modules build task. * docs(NA): added extra comment to clarify the purpose for the built entrypoints. * chore(NA): update clean client node_modules code to use posix path. * feat(NA): add support for discovering server entries over the legacy plugins and the new plugins.
2018-12-05 16:45:19 +01:00
"node-sass": "^4.9.4",
"normalize-path": "^3.0.0",
"pixelmatch": "4.0.2",
Create vendor dll for the client modules (#22618) * feat(NA): first dll bundler code. * chore(NA): upgrade to webpack 4. * chore(NA): updated package.json * chore(NA): removed old code. * chore(NA): add parallel option. * chore(NA): removed console log and old var about node modules. * chore(NA): turn off unsafe cache. * chore(NA): update lock files. * chore(NA): new config for dll generation. * chore(NA): update stats emit. * chore(NA): update dependencies. * chore(NA): right cache loaders. * chore(NA): remove ui_bundles alias. * feat(20749): init implementation on bridge plugin for dll bundler. * feat(20749): init implementation for dll compiler. * feat(20749): dll bundler init from other process and webpack wrapper.. * feat(20749): optimizer changes to integrate with dll bundler. * chore(20749): split into different processes. * refact(20749): change to single running process. * refact(NA): improvements on dll bundler plugin. * refact(NA): removing including loop on plugins. * refact(20749): only run dllReference once. * chore(20749): todo on result.request path building. * chore(NA): lock files updated. * chore(NA): avoiding dll paths being removed. * chore(NA): tests on sync generation. * chore(NA): changes on entry paths compiler. * chore(NA): different hooks tests. * chore(20749): first working version, single process, for dynamic building dll. * feat(20749): last gross features for the dynamicdllplugin. * refact(20749): string interpolation when creating the path to delete in every optimizer cycle. feat(20749): creating the DynamicDllPlugin foundations. * chore(NA): updated base optimizer run function args. * chore(20749): first working solution with vendor dll both for prod and dev. * chore(20749): useful todos on client dlls. * feat(NA): auto built blacklist for server node_modules. * refact(NA): removed unused code. * chore(NA): update all webpack and loaders stuff to last versions. * refact(NA): first refacts on clean taks related with dll. feat(NA): added clean empty folders task. * refact(NA): removed support for console logs during the build. * refact(NA): removed extra space. * refact(NA): removed extra space. * refact(NA): getDllModules function. * chore(NA): removed unsafeCache option. * feat(NA): removed unsafeCache option. * refact(NA): apply general inheritance principles to the optimizer: hooks, and init. refact(NA): merge dynamic dll plugin into the common config. refact(NA): restore old template structure - vendors.dll style is always emitted. * fix(NA): fs_optimizer run function by not returning inside async func. * fix(NA): change template anchor name from vendor to vendors. * docs(NA): added info about files were keeping when cleaning the bundles. * fix(NA): filtering elible dll modules to delete. * refact(NA): removed old dll bundler in favor on new dynamic dll plugin. * refact(NA): initial split for clean modules on dll task. * refact(NA): update new dll config model. refact(NA): update config on dynamicdllplugin. * refact(NA): major work refactor for dynamic dll plugin. * refact(NA): extract clean node modules on dll task to its own folder. * refact(NA): organize imports. * docs(NA): add docs to registerCompilerHooks function for the optimizer. * refact(NA): finished refactor for dynamic dll plugin with correct error handling for runWebpack function. * refact(NA): basic structure for clean client modules on dll task. * fix(NA): resolve path for dll manifest during cclean build tasks. * refact(NA): split webpack dll related functions to their own file for clean client modules on dll task. * refact(NA): added error handling for the clean client modules on dll task - webpack dll related functions. * docs(NA): added license header. * refact(NA): complete split out the functions from the clean modules on dll task to the code_parser file. * refact(NA): main task entries compose. * docs(NA): extend docs for the getDependenciesFromFile function. * refact(NA): final structure split for clean client node modules dll task. * fix(NA): added missing param to calculate top level dependencies. * docs(NA): completed todo description about dll location. * fix(NA): add production option to webpack config on kbn-pm. * docs(NA): extended documentation about style extraction. * refact(NA): removed extra comments. * feat(NA): env variable to force dll creation. * feat(NA): include option to define folders to keep on delete empty folders task. * refact(NA): remove unused method from dll compiler. * feat(NA): move dlls outside bundles folder and support request for /dlls from a browser perspective. * chore(NA): gitignore updated to include new dlls folder. * chore(NA): eslintignore updated. * chore(NA): removed strange file from repo. * test(NA): fix failing tests for bundles_route. * fix(NA): change paths array to path string in a server route config. * fix(NA): remove infinite loop calls on register hooks functions. * fix(NA): readFile should only override the file in case it not exists. * refact(NA): removed dll compiler finish log on success with stats. * fix(NA): dll compiler alias. * fix(NA): dynamic dll plugin flow on needs compile. * fix(NA): raw alias config. * Revert "fix(NA): raw alias config." This reverts commit ebb245a78662917787e739dce3cc61e0da0971ca. * feat(NA): raw alias for moment on dll config model. * fix(NA): removed uiBundles from base_optimizer call on dynamicdllplugin. * chore(NA): decrease moment versions. * chore(NA): temporary changes on dll compiler. * fix(NA): majority of problems between dll approach, webpackshims and browser tests. * fix(NA): webpackShims integration with client vendors dll. fix(NA): enable esm modules mutability for development. fix(NA): only clean dll contents from build when they belong to node_modules. * fix(NA): fix for endless dll compilation loop. * fix(NA): removed esm plugin and skipped test using wrong stub strategy. * docs(NA): added some comments for the skipped test. * feat(NA): considering requires inside webpackShims valid entry paths to add to the dll entry file. * fix(NA): small fix for the max compilation logic. * docs(NA): add small explanatory note. * fix(NA): building requires results with relative requires found onn webpackShims. * docs(NA): add small note for error handling on dll compiler. * fix(NA): move precinct to prod dependencies. * test(NA): testing running functional tests on production. * fix(NA): restore tests run config for development flag. feat(NA): force dll creation with uiBundles is Dev flag. * chore(NA): update dependencies. * feat(NA): test update dll to completely match base optimizer one. * fix(NA): removed ts. * refact(NA): removed unused consts. * fix(NA): set back transpile sacss task in place. * fix(NA): fix resolve remoing ts and tsx. * fix(NA): set back transpile sacss task in place. * fix(NA): removing isDevmode from mustCompileDll. * fix(NA): add search for import statements into the dependencies visitor. * fix(NA): add dll suffix to vendors resource on ui bootstrap template. * fix(NA): some configs for unrelated dll work projects. * chore(NA): upgrade canvas plugins webpack build to webpack4. * chore(NA): add shim for moment-duration-format. * chore(NA): stup moment-duration-format into the moment webpackShim. * chore(NA): setup moment-duration-format into the moment-timezone webpackShim. * fix(NA): moment and moment-timezone webpackShims * chore(NA): added moment and moment-timezone webpackShims to x-pack. fix(NA): revert changes on webpackShims for oss kibana. * fix(NA): xpack webpackshims for moment. * fix(NA): remove xpack webpakcshims for moment. * fix(NA): webpakcshims for moment. * fix(NA): remove every changes from webpackShims and xpack webpackShims. * fix(NA): fix visitors to gather server dependencies resulting from export * from and export x, 'x' from. * chore(NA): update some webpack related dependencies. * fix(NA): in the dll the plugins need to have their own dependencies. It is the same for the ones into the tests relying on test against distributable. * feat(NA): including test/plugin_functional plugins into the kbn-pm bootstrap tasks. * fix(NA): wrong built yarn lock files. * chore(NA): updated webpack related dependencies. * feat(NA): add missing color for dynamic_dll_plugin logging tag. * chore(NA): removed forgotten console.log. * chore(NA): removed forgotten dead code. * chore(NA): removed missing old comment. * docs(NA): added missing notice for 2 tools we have relied on. * refact(NA): added is to a boolean variable to keep the consistency inside the code parser strategies. * fix(NA): update notice cli to exclude search inside dlls bundles. chore(NA): update notice file. * feat(NA): use lodash matches in the code parser visitors logic. * docs(NA): updated notice file related with the code parser visitors logic.. * docs(NA): added explanation for the process that decides if we should build a new dll or not. * test(NA): added missing tests for some usefull parts of the code. * refact(NA): split registerCompileHook function into small ones. * chore(NA): uncomment scripts from tests. * feat(NA): isolate code-parser in a kbn package * fix(NA): missing relative dot into the cwd function. * chore(NA): update all inter deps to match. * fix(NA): rebuild the yarn locks and the package jsons based on master ones. * fix(NA): move babel-code-parser to the prod deps. * chore(NA): include build path instead of the base root path. * refact(NA): integrate plugin_functional test plugins with workspaces. * fix(NA): include missing license for plugin functional test plugins. * fix(NA): always write posix paths into the dll entry file in order to make the dlls compilation working on windows too. chore(NA): improve error handling into dll compiler. * fix(NA): revert wrong moved line from canvas. * fix(NA): match ts-loader version between kibana and x-pack. * fix(NA): sync dll compiler with base_optimizer. * fix(NA): exclude kbn-interpreter from the dll. * refact(NA): remove exclusion of kbn-interpretor from base_optimizer. * chore(NA): add dlls folder to the yarn kbn clean script. * fix(NA): missing utf8 input format encoding when reading a file to create the hash into the watch optimizer cahce. * refact(NA): re-engineering to the dynamic_dll_plugin logs and lifecycle. * fix(NA): update clean node modules task to search under legacy/core_plugins. * fix(NA): fix build on windows with globby on cleaning dlls for the watch optimizer cache. * docs(NA): update documentation for the clean client node modules build task. * docs(NA): added extra comment to clarify the purpose for the built entrypoints. * chore(NA): update clean client node_modules code to use posix path. * feat(NA): add support for discovering server entries over the legacy plugins and the new plugins.
2018-12-05 16:45:19 +01:00
"pkg-up": "^2.0.0",
"pngjs": "^3.4.0",
Create vendor dll for the client modules (#22618) * feat(NA): first dll bundler code. * chore(NA): upgrade to webpack 4. * chore(NA): updated package.json * chore(NA): removed old code. * chore(NA): add parallel option. * chore(NA): removed console log and old var about node modules. * chore(NA): turn off unsafe cache. * chore(NA): update lock files. * chore(NA): new config for dll generation. * chore(NA): update stats emit. * chore(NA): update dependencies. * chore(NA): right cache loaders. * chore(NA): remove ui_bundles alias. * feat(20749): init implementation on bridge plugin for dll bundler. * feat(20749): init implementation for dll compiler. * feat(20749): dll bundler init from other process and webpack wrapper.. * feat(20749): optimizer changes to integrate with dll bundler. * chore(20749): split into different processes. * refact(20749): change to single running process. * refact(NA): improvements on dll bundler plugin. * refact(NA): removing including loop on plugins. * refact(20749): only run dllReference once. * chore(20749): todo on result.request path building. * chore(NA): lock files updated. * chore(NA): avoiding dll paths being removed. * chore(NA): tests on sync generation. * chore(NA): changes on entry paths compiler. * chore(NA): different hooks tests. * chore(20749): first working version, single process, for dynamic building dll. * feat(20749): last gross features for the dynamicdllplugin. * refact(20749): string interpolation when creating the path to delete in every optimizer cycle. feat(20749): creating the DynamicDllPlugin foundations. * chore(NA): updated base optimizer run function args. * chore(20749): first working solution with vendor dll both for prod and dev. * chore(20749): useful todos on client dlls. * feat(NA): auto built blacklist for server node_modules. * refact(NA): removed unused code. * chore(NA): update all webpack and loaders stuff to last versions. * refact(NA): first refacts on clean taks related with dll. feat(NA): added clean empty folders task. * refact(NA): removed support for console logs during the build. * refact(NA): removed extra space. * refact(NA): removed extra space. * refact(NA): getDllModules function. * chore(NA): removed unsafeCache option. * feat(NA): removed unsafeCache option. * refact(NA): apply general inheritance principles to the optimizer: hooks, and init. refact(NA): merge dynamic dll plugin into the common config. refact(NA): restore old template structure - vendors.dll style is always emitted. * fix(NA): fs_optimizer run function by not returning inside async func. * fix(NA): change template anchor name from vendor to vendors. * docs(NA): added info about files were keeping when cleaning the bundles. * fix(NA): filtering elible dll modules to delete. * refact(NA): removed old dll bundler in favor on new dynamic dll plugin. * refact(NA): initial split for clean modules on dll task. * refact(NA): update new dll config model. refact(NA): update config on dynamicdllplugin. * refact(NA): major work refactor for dynamic dll plugin. * refact(NA): extract clean node modules on dll task to its own folder. * refact(NA): organize imports. * docs(NA): add docs to registerCompilerHooks function for the optimizer. * refact(NA): finished refactor for dynamic dll plugin with correct error handling for runWebpack function. * refact(NA): basic structure for clean client modules on dll task. * fix(NA): resolve path for dll manifest during cclean build tasks. * refact(NA): split webpack dll related functions to their own file for clean client modules on dll task. * refact(NA): added error handling for the clean client modules on dll task - webpack dll related functions. * docs(NA): added license header. * refact(NA): complete split out the functions from the clean modules on dll task to the code_parser file. * refact(NA): main task entries compose. * docs(NA): extend docs for the getDependenciesFromFile function. * refact(NA): final structure split for clean client node modules dll task. * fix(NA): added missing param to calculate top level dependencies. * docs(NA): completed todo description about dll location. * fix(NA): add production option to webpack config on kbn-pm. * docs(NA): extended documentation about style extraction. * refact(NA): removed extra comments. * feat(NA): env variable to force dll creation. * feat(NA): include option to define folders to keep on delete empty folders task. * refact(NA): remove unused method from dll compiler. * feat(NA): move dlls outside bundles folder and support request for /dlls from a browser perspective. * chore(NA): gitignore updated to include new dlls folder. * chore(NA): eslintignore updated. * chore(NA): removed strange file from repo. * test(NA): fix failing tests for bundles_route. * fix(NA): change paths array to path string in a server route config. * fix(NA): remove infinite loop calls on register hooks functions. * fix(NA): readFile should only override the file in case it not exists. * refact(NA): removed dll compiler finish log on success with stats. * fix(NA): dll compiler alias. * fix(NA): dynamic dll plugin flow on needs compile. * fix(NA): raw alias config. * Revert "fix(NA): raw alias config." This reverts commit ebb245a78662917787e739dce3cc61e0da0971ca. * feat(NA): raw alias for moment on dll config model. * fix(NA): removed uiBundles from base_optimizer call on dynamicdllplugin. * chore(NA): decrease moment versions. * chore(NA): temporary changes on dll compiler. * fix(NA): majority of problems between dll approach, webpackshims and browser tests. * fix(NA): webpackShims integration with client vendors dll. fix(NA): enable esm modules mutability for development. fix(NA): only clean dll contents from build when they belong to node_modules. * fix(NA): fix for endless dll compilation loop. * fix(NA): removed esm plugin and skipped test using wrong stub strategy. * docs(NA): added some comments for the skipped test. * feat(NA): considering requires inside webpackShims valid entry paths to add to the dll entry file. * fix(NA): small fix for the max compilation logic. * docs(NA): add small explanatory note. * fix(NA): building requires results with relative requires found onn webpackShims. * docs(NA): add small note for error handling on dll compiler. * fix(NA): move precinct to prod dependencies. * test(NA): testing running functional tests on production. * fix(NA): restore tests run config for development flag. feat(NA): force dll creation with uiBundles is Dev flag. * chore(NA): update dependencies. * feat(NA): test update dll to completely match base optimizer one. * fix(NA): removed ts. * refact(NA): removed unused consts. * fix(NA): set back transpile sacss task in place. * fix(NA): fix resolve remoing ts and tsx. * fix(NA): set back transpile sacss task in place. * fix(NA): removing isDevmode from mustCompileDll. * fix(NA): add search for import statements into the dependencies visitor. * fix(NA): add dll suffix to vendors resource on ui bootstrap template. * fix(NA): some configs for unrelated dll work projects. * chore(NA): upgrade canvas plugins webpack build to webpack4. * chore(NA): add shim for moment-duration-format. * chore(NA): stup moment-duration-format into the moment webpackShim. * chore(NA): setup moment-duration-format into the moment-timezone webpackShim. * fix(NA): moment and moment-timezone webpackShims * chore(NA): added moment and moment-timezone webpackShims to x-pack. fix(NA): revert changes on webpackShims for oss kibana. * fix(NA): xpack webpackshims for moment. * fix(NA): remove xpack webpakcshims for moment. * fix(NA): webpakcshims for moment. * fix(NA): remove every changes from webpackShims and xpack webpackShims. * fix(NA): fix visitors to gather server dependencies resulting from export * from and export x, 'x' from. * chore(NA): update some webpack related dependencies. * fix(NA): in the dll the plugins need to have their own dependencies. It is the same for the ones into the tests relying on test against distributable. * feat(NA): including test/plugin_functional plugins into the kbn-pm bootstrap tasks. * fix(NA): wrong built yarn lock files. * chore(NA): updated webpack related dependencies. * feat(NA): add missing color for dynamic_dll_plugin logging tag. * chore(NA): removed forgotten console.log. * chore(NA): removed forgotten dead code. * chore(NA): removed missing old comment. * docs(NA): added missing notice for 2 tools we have relied on. * refact(NA): added is to a boolean variable to keep the consistency inside the code parser strategies. * fix(NA): update notice cli to exclude search inside dlls bundles. chore(NA): update notice file. * feat(NA): use lodash matches in the code parser visitors logic. * docs(NA): updated notice file related with the code parser visitors logic.. * docs(NA): added explanation for the process that decides if we should build a new dll or not. * test(NA): added missing tests for some usefull parts of the code. * refact(NA): split registerCompileHook function into small ones. * chore(NA): uncomment scripts from tests. * feat(NA): isolate code-parser in a kbn package * fix(NA): missing relative dot into the cwd function. * chore(NA): update all inter deps to match. * fix(NA): rebuild the yarn locks and the package jsons based on master ones. * fix(NA): move babel-code-parser to the prod deps. * chore(NA): include build path instead of the base root path. * refact(NA): integrate plugin_functional test plugins with workspaces. * fix(NA): include missing license for plugin functional test plugins. * fix(NA): always write posix paths into the dll entry file in order to make the dlls compilation working on windows too. chore(NA): improve error handling into dll compiler. * fix(NA): revert wrong moved line from canvas. * fix(NA): match ts-loader version between kibana and x-pack. * fix(NA): sync dll compiler with base_optimizer. * fix(NA): exclude kbn-interpreter from the dll. * refact(NA): remove exclusion of kbn-interpretor from base_optimizer. * chore(NA): add dlls folder to the yarn kbn clean script. * fix(NA): missing utf8 input format encoding when reading a file to create the hash into the watch optimizer cahce. * refact(NA): re-engineering to the dynamic_dll_plugin logs and lifecycle. * fix(NA): update clean node modules task to search under legacy/core_plugins. * fix(NA): fix build on windows with globby on cleaning dlls for the watch optimizer cache. * docs(NA): update documentation for the clean client node modules build task. * docs(NA): added extra comment to clarify the purpose for the built entrypoints. * chore(NA): update clean client node_modules code to use posix path. * feat(NA): add support for discovering server entries over the legacy plugins and the new plugins.
2018-12-05 16:45:19 +01:00
"postcss": "^7.0.5",
"postcss-url": "^8.0.0",
"prettier": "^1.14.3",
"proxyquire": "1.7.11",
"regenerate": "^1.4.0",
"sass-lint": "^1.12.1",
"selenium-webdriver": "^4.0.0-alpha.1",
"simple-git": "1.37.0",
"sinon": "^5.0.7",
"strip-ansi": "^3.0.1",
"supertest": "^3.1.0",
"supertest-as-promised": "^4.0.2",
"tree-kill": "^1.1.0",
"tslint": "^5.11.0",
"tslint-config-prettier": "^1.15.0",
"tslint-microsoft-contrib": "^6.0.0",
"tslint-plugin-prettier": "^2.0.0",
"typescript": "^3.3.3333",
"typings-tester": "^0.3.2",
"vinyl-fs": "^3.0.2",
"xml2js": "^0.4.19",
"xmlbuilder": "9.0.4",
"zlib": "^1.0.5"
2015-06-06 01:20:49 +02:00
},
"engines": {
2019-02-28 17:48:42 +01:00
"node": "10.15.2",
"yarn": "^1.10.1"
}
}