File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
x-pack/legacy/plugins/siem/server/lib/detection_engine/signals Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -9,11 +9,13 @@ import { SearchResponse } from 'elasticsearch';
99
1010import { Logger } from '../../../../../../../../src/core/server' ;
1111import { AlertServices } from '../../../../../../../plugins/alerting/server' ;
12+ import { AlertAction } from '../../../../../../../plugins/alerting/common' ;
1213import { RuleTypeParams } from '../types' ;
1314import { singleBulkCreate } from './single_bulk_create' ;
1415import { AnomalyResults , Anomaly } from '../../machine_learning' ;
1516
1617interface BulkCreateMlSignalsParams {
18+ actions : AlertAction [ ] ;
1719 someResult : AnomalyResults ;
1820 ruleParams : RuleTypeParams ;
1921 services : AlertServices ;
@@ -28,6 +30,7 @@ interface BulkCreateMlSignalsParams {
2830 interval : string ;
2931 enabled : boolean ;
3032 tags : string [ ] ;
33+ throttle : string | null ;
3134}
3235
3336interface EcsAnomaly extends Anomaly {
Original file line number Diff line number Diff line change @@ -120,6 +120,8 @@ export const signalRulesAlertType = ({
120120 }
121121
122122 creationSucceeded = await bulkCreateMlSignals ( {
123+ actions,
124+ throttle,
123125 someResult : anomalyResults ,
124126 ruleParams : params ,
125127 services,
You can’t perform that action at this time.
0 commit comments