diff --git a/public/pages/Correlations/containers/CorrelationsTableView.tsx b/public/pages/Correlations/containers/CorrelationsTableView.tsx index d05251713..0ae1c2c32 100644 --- a/public/pages/Correlations/containers/CorrelationsTableView.tsx +++ b/public/pages/Correlations/containers/CorrelationsTableView.tsx @@ -3,20 +3,8 @@ * SPDX-License-Identifier: Apache-2.0 */ import React from 'react'; -import { - EuiLoadingChart, - EuiPanel, - EuiFlexGroup, - EuiFlexItem, - EuiTitle, - EuiSpacer, - EuiEmptyPrompt, - EuiSmallButton, - EuiText, -} from '@elastic/eui'; -import { ChartContainer } from '../../../components/Charts/ChartContainer'; +import { EuiLoadingChart } from '@elastic/eui'; import { DEFAULT_DATE_RANGE, ROUTES } from '../../../utils/constants'; -import { renderVisualization } from '../../../utils/helpers'; import { getChartTimeUnit, getDomainRange } from '../../Overview/utils/helpers'; import { getCorrelatedFindingsVisualizationSpec } from '../utils/helpers'; import { CorrelationsTableData } from './CorrelationsContainer'; @@ -157,52 +145,6 @@ export class CorrelationsTableView extends React.Component< ); }; - private renderCorrelatedFindingsChart = () => { - renderVisualization( - this.generateVisualizationSpec(this.props.connectedFindings), - 'correlated-findings-view' - ); - return this.props.connectedFindings.length > 0 ? ( - <> - - - - - - - Correlated Findings - - - - - - - - - - - > - ) : ( - - No correlations found - - } - body={ - - There are no correlated findings in the system. - - } - actions={[ - - Create correlation rule - , - ]} - /> - ); - }; - private getFilteredTableData = (tableData: CorrelationsTableData[]): CorrelationsTableData[] => { const { logTypeFilterOptions, severityFilterOptions, searchTerm } = this.props; const alertSeverityMap: { [key: string]: string } = { @@ -284,7 +226,7 @@ export class CorrelationsTableView extends React.Component< render() { return ( <> - {this.renderCorrelatedFindingsChart()} + {/* {this.renderCorrelatedFindingsChart()} */} {this.renderCorrelationsTable(this.props.loadingTableData)} {this.state.isFlyoutOpen && (
There are no correlated findings in the system.