kibana/x-pack/plugins/ml
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
..
__mocks__
common [ML] Fix error toasts shown when starting or editing jobs (#71618) 2020-07-14 19:45:10 +01:00
public [ML] Fix error toasts shown when starting or editing jobs (#71618) 2020-07-14 19:45:10 +01:00
server [Security Solution][Detections] Update telemetry to use ML contract (#71665) 2020-07-14 14:20:24 -05:00
.gitignore
kibana.json Management API - simpler interface, remove app context usage (#71144) 2020-07-14 11:30:01 -05:00
package.json [ML] Custom template for apiDoc markdown (#66567) 2020-05-15 11:41:29 +02:00
shared_imports.ts
tsconfig.json