kibana/x-pack/plugins/ml/server/shared_services
Ryland Herrick 9e2ebe2040
[Security Solution][Detections] Update telemetry to use ML contract (#71665)
* Update security solution telemetry to use ML providers

This interface recently changed and we're now able to use the ML
contract to retrieve these values. A few unnecessary arguments are
stubbed as we're in a non-user, non-request context.

* Simplify our capabilities stub assignment

This is more legible but still gets the point across; the intermediate
variable was explicit but ultimately unnnecessary.

* Update tests following telemetry refactor

We're not calling different methods, so our mocks need to change
slightly.
2020-07-14 14:20:24 -05:00
..
providers [Security Solution][Detections] Update telemetry to use ML contract (#71665) 2020-07-14 14:20:24 -05:00
index.ts
license_checks.ts
shared_services.ts [ML] Adding capabilities checks to shared functions (#70069) 2020-07-01 17:45:36 +01:00