kibana/x-pack/plugins/ml/server
James Gowdy eafd2af6aa
[ML] Adding capabilities checks to shared functions (#70069)
* [ML] Adding capabilities checks to shared functions

* small refactor

* disabling capabilities checks for functions called by SIEM alerting

* testing git

* removing comment

* using constant for ml app id

* tiny type clean up

* removing check in ml_capabilities

* fixing types

* removing capabilities checks from ml_capabilities endpoint

* updating types

* better error handling

* improving capabilities check

* adding custom errors

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-07-01 17:45:36 +01:00
..
client [ML] Model snapshot management (#68182) 2020-06-16 14:03:17 +01:00
lib [ML] Adding capabilities checks to shared functions (#70069) 2020-07-01 17:45:36 +01:00
models [ML] Adding capabilities checks to shared functions (#70069) 2020-07-01 17:45:36 +01:00
routes [ML] Adding capabilities checks to shared functions (#70069) 2020-07-01 17:45:36 +01:00
shared_services [ML] Adding capabilities checks to shared functions (#70069) 2020-07-01 17:45:36 +01:00
index.ts [ML] Consolidating shared types and util functions (#65247) 2020-05-07 12:23:42 +01:00
plugin.ts [ML] Adding capabilities checks to shared functions (#70069) 2020-07-01 17:45:36 +01:00
shared.ts [ML] Adding capabilities checks to shared functions (#70069) 2020-07-01 17:45:36 +01:00
types.ts [ML] Adding endpoint capability checks (#64662) 2020-04-29 18:25:48 +01:00