Skip to content

Commit

Permalink
[Security Solution][Endpoint][EventFilters] Port Event Filters to use…
Browse files Browse the repository at this point in the history
… `ArtifactListPage` component (#130995)

* Delete redundant files

fixes elastic/security-team/issues/3093

* Make the event filter form work

fixes elastic/security-team/issues/3093

* Update event_filters_list.test.tsx

fixes elastic/security-team/issues/3093

* update form tests

fixes elastic/security-team/issues/3093

* update event filter flyout

fixes elastic/security-team/issues/3093

* Show apt copy when OS options are not visible

* update tests

fixes elastic/security-team/issues/3093

* extract static OS options

review changes

* test for each type of artifact list

review changes

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

* update test mocks

* update form

review changes

* update state handler name

review changes

* extract test id prefix

Co-authored-by: kibanamachine <[email protected]>
  • Loading branch information
ashokaditya and kibanamachine authored May 19, 2022
1 parent 75941b1 commit e282735
Show file tree
Hide file tree
Showing 50 changed files with 1,754 additions and 4,936 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,11 @@

import { EndpointAction } from '../../management/pages/endpoint_hosts/store/action';
import { PolicyDetailsAction } from '../../management/pages/policy/store/policy_details';
import { EventFiltersPageAction } from '../../management/pages/event_filters/store/action';

export { appActions } from './app';
export { dragAndDropActions } from './drag_and_drop';
export { inputsActions } from './inputs';
export { sourcererActions } from './sourcerer';
import { RoutingAction } from './routing';

export type AppAction =
| EndpointAction
| RoutingAction
| PolicyDetailsAction
| EventFiltersPageAction;
export type AppAction = EndpointAction | RoutingAction | PolicyDetailsAction;
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import { TimelineId } from '../../../../../common/types';
import { AlertData, EcsHit } from '../../../../common/components/exceptions/types';
import { useQueryAlerts } from '../../../containers/detection_engine/alerts/use_query';
import { useSignalIndex } from '../../../containers/detection_engine/alerts/use_signal_index';
import { EventFiltersFlyout } from '../../../../management/pages/event_filters/view/components/flyout';
import { EventFiltersFlyout } from '../../../../management/pages/event_filters/view/components/event_filters_flyout';
import { useAlertsActions } from './use_alerts_actions';
import { useExceptionFlyout } from './use_add_exception_flyout';
import { useExceptionActions } from './use_add_exception_actions';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ import { Route, Switch } from 'react-router-dom';
import React from 'react';
import { NotFoundPage } from '../../../app/404';
import { MANAGEMENT_ROUTING_EVENT_FILTERS_PATH } from '../../common/constants';
import { EventFiltersListPage } from './view/event_filters_list_page';
import { EventFiltersList } from './view/event_filters_list';

export const EventFiltersContainer = () => {
return (
<Switch>
<Route path={MANAGEMENT_ROUTING_EVENT_FILTERS_PATH} exact component={EventFiltersListPage} />
<Route path={MANAGEMENT_ROUTING_EVENT_FILTERS_PATH} exact component={EventFiltersList} />
<Route path="*" component={NotFoundPage} />
</Switch>
);
Expand Down

This file was deleted.

This file was deleted.

Loading

0 comments on commit e282735

Please sign in to comment.