Skip to content

Commit

Permalink
Revert "Add threshold rule kql filter to timeline"
Browse files Browse the repository at this point in the history
This reverts commit 6482374.
  • Loading branch information
madirey committed Dec 17, 2020
1 parent 81b069f commit 25efc01
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import { get, getOr, isEmpty, find } from 'lodash/fp';
import moment from 'moment';
import { i18n } from '@kbn/i18n';

import { buildQueryFilter, Filter } from '../../../../../../../src/plugins/data/common';
import { TimelineId, TimelineStatus, TimelineType } from '../../../../common/types/timeline';
import { updateAlertStatus } from '../../containers/detection_engine/alerts/api';
import { SendAlertToTimelineActionProps, UpdateAlertStatusActionProps } from './types';
Expand Down Expand Up @@ -286,13 +285,6 @@ export const sendAlertToTimelineAction = async ({
end: to,
},
eventType: 'all',
filters: [
buildQueryFilter(
ecsData.signal?.rule?.filters,
ecsData._index ?? '',
(ecsData.signal?.rule?.filters as Filter).meta?.alias ?? ''
),
],
kqlQuery: {
filterQuery: {
kuery: {
Expand Down

0 comments on commit 25efc01

Please sign in to comment.