kibana/x-pack/plugins/ml/server/shared_services
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
..
providers [ML] Adding capabilities checks to shared functions (#70069) 2020-07-01 17:45:36 +01:00
index.ts [ML] Adding shared services to ml setup contract (#59730) 2020-03-12 10:04:40 +00:00
license_checks.ts [ML] Adding shared services to ml setup contract (#59730) 2020-03-12 10:04:40 +00:00
shared_services.ts [ML] Adding capabilities checks to shared functions (#70069) 2020-07-01 17:45:36 +01:00