Skip to content

Commit

Permalink
[7.x] [SIEM][Timeline] Minor timeline improvement (#69386) (#69404)
Browse files Browse the repository at this point in the history
  • Loading branch information
cnasikas authored Jun 17, 2020
1 parent c822d9e commit 78e9d27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
8 changes: 0 additions & 8 deletions x-pack/plugins/security_solution/public/alerts/constants.ts

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import { Query } from 'react-apollo';
import { compose, Dispatch } from 'redux';
import { connect, ConnectedProps } from 'react-redux';

import { TimelineId } from '../../../common/types/timeline';
import { DEFAULT_INDEX_KEY } from '../../../common/constants';
import { IIndexPattern } from '../../../../../../src/plugins/data/common/index_patterns';
import {
Expand All @@ -27,12 +28,8 @@ import { QueryTemplate, QueryTemplateProps } from '../../common/containers/query
import { EventType } from '../../timelines/store/timeline/model';
import { timelineQuery } from './index.gql_query';
import { timelineActions } from '../../timelines/store/timeline';
import {
ALERTS_TIMELINE_ID as DETECTION_ENGINE_TIMELINE_ID,
ALERTS_RULES_DETAILS_PAGE_TIMELINE_ID as DETECTION_ENGINE_RULES_TIMELINE_ID,
} from '../../alerts/constants';

const timelineIds = [DETECTION_ENGINE_TIMELINE_ID, DETECTION_ENGINE_RULES_TIMELINE_ID];
const timelineIds = [TimelineId.alertsPage, TimelineId.alertsRulesDetailsPage];

export interface TimelineArgs {
events: TimelineItem[];
Expand Down

0 comments on commit 78e9d27

Please sign in to comment.