kibana/x-pack/plugins/ml/server/shared_services/providers
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
..
anomaly_detectors.ts
job_service.ts
modules.ts [Security Solution][Detections] Update telemetry to use ML contract (#71665) 2020-07-14 14:20:24 -05:00
results_service.ts [Uptime] Duration Anomaly Alert (#71208) 2020-07-14 19:53:14 +02:00
system.ts