File tree Expand file tree Collapse file tree
x-pack/plugins/security_solution
common/detection_engine/schemas/response
server/lib/detection_engine/signals Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ export const dependentRulesSchema = t.partial({
122122 language,
123123 query,
124124
125- // eql fields
125+ // eql only fields
126126 event_category_override,
127127
128128 // when type = saved_query, saved_id is required
@@ -264,6 +264,7 @@ export const addEqlFields = (typeAndTimelineOnly: TypeAndTimelineOnly): t.Mixed[
264264 t . partial ( { event_category_override : dependentRulesSchema . props . event_category_override } )
265265 ) ,
266266 t . exact ( t . type ( { query : dependentRulesSchema . props . query } ) ) ,
267+ t . exact ( t . type ( { language : dependentRulesSchema . props . language } ) ) ,
267268 ] ;
268269 } else {
269270 return [ ] ;
Original file line number Diff line number Diff line change @@ -277,8 +277,6 @@ export const signalRulesAlertType = ({
277277 bulkCreateTimes : bulkCreateDuration ? [ bulkCreateDuration ] : [ ] ,
278278 } ) ,
279279 ] ) ;
280- } else if ( isEqlRule ( type ) ) {
281- throw new Error ( 'EQL Rules are under development, execution is not yet implemented' ) ;
282280 } else if ( isThresholdRule ( type ) && threshold ) {
283281 const inputIndex = await getInputIndex ( services , version , index ) ;
284282 const esFilter = await getFilter ( {
You can’t perform that action at this time.
0 commit comments