diff --git a/x-pack/plugins/ml/public/maps/anomaly_source.tsx b/x-pack/plugins/ml/public/maps/anomaly_source.tsx index 1ac9e2ae15ce1b..671545c5f75e88 100644 --- a/x-pack/plugins/ml/public/maps/anomaly_source.tsx +++ b/x-pack/plugins/ml/public/maps/anomaly_source.tsx @@ -34,6 +34,7 @@ import type { SourceTooltipConfig } from '../../../maps/public'; import type { IVectorSource } from '../../../maps/public'; import { getResultsForJobId } from './util'; import { UpdateAnomalySourceEditor } from './update_anomaly_source_editor'; +import { string } from '../../../security_solution/public/resolver/models/schema'; export interface AnomalySourceDescriptor extends AbstractSourceDescriptor { jobId: string; @@ -246,6 +247,9 @@ export class AnomalySource implements IVectorSource { // ----------------- // API ML probably can ignore + getAttributionProvider() { + return null; + } getIndexPatternIds(): string[] { // IGNORE: This is only relevant if your source is backed by an index-pattern diff --git a/x-pack/plugins/ml/public/maps/update_anomaly_source_editor.tsx b/x-pack/plugins/ml/public/maps/update_anomaly_source_editor.tsx index aa9c0ee708e95d..5505df36380127 100644 --- a/x-pack/plugins/ml/public/maps/update_anomaly_source_editor.tsx +++ b/x-pack/plugins/ml/public/maps/update_anomaly_source_editor.tsx @@ -42,6 +42,7 @@ export class UpdateAnomalySourceEditor extends Component { typicalActual={this.props.typicalActual} /> + ); }