diff --git a/public/pages/Correlations/containers/CorrelationRules.tsx b/public/pages/Correlations/containers/CorrelationRules.tsx index 0fb56139..3a76bbae 100644 --- a/public/pages/Correlations/containers/CorrelationRules.tsx +++ b/public/pages/Correlations/containers/CorrelationRules.tsx @@ -14,7 +14,7 @@ import { EuiInMemoryTable, EuiEmptyPrompt, } from '@elastic/eui'; -import { BREADCRUMBS, PLUGIN_NAME, ROUTES } from '../../../utils/constants'; +import { BREADCRUMBS, ROUTES } from '../../../utils/constants'; import { DataStore } from '../../../store/DataStore'; import { getCorrelationRulesTableColumns, @@ -56,7 +56,7 @@ export const CorrelationRules: React.FC = (props: Correla const createRuleAction = useMemo( () => ( diff --git a/public/pages/CreateDetector/containers/CreateDetector.tsx b/public/pages/CreateDetector/containers/CreateDetector.tsx index 85f15e1c..922898c2 100644 --- a/public/pages/CreateDetector/containers/CreateDetector.tsx +++ b/public/pages/CreateDetector/containers/CreateDetector.tsx @@ -16,7 +16,7 @@ import { } from '@elastic/eui'; import DefineDetector from '../components/DefineDetector/containers/DefineDetector'; import { createDetectorSteps, PENDING_DETECTOR_ID } from '../utils/constants'; -import { BREADCRUMBS, EMPTY_DEFAULT_DETECTOR, PLUGIN_NAME, ROUTES } from '../../../utils/constants'; +import { BREADCRUMBS, EMPTY_DEFAULT_DETECTOR, ROUTES } from '../../../utils/constants'; import ConfigureAlerts from '../components/ConfigureAlerts'; import { FieldMapping } from '../../../../models/interfaces'; import { EuiContainedStepProps } from '@elastic/eui/src/components/steps/steps'; @@ -395,7 +395,7 @@ export default class CreateDetector extends Component - Cancel + Cancel {currentStep > DetectorCreationStep.DEFINE_DETECTOR && ( diff --git a/public/pages/Detectors/containers/Detectors/Detectors.tsx b/public/pages/Detectors/containers/Detectors/Detectors.tsx index a651b0ff..880d134b 100644 --- a/public/pages/Detectors/containers/Detectors/Detectors.tsx +++ b/public/pages/Detectors/containers/Detectors/Detectors.tsx @@ -21,7 +21,7 @@ import { EuiText, EuiTitle, } from '@elastic/eui'; -import { BREADCRUMBS, DEFAULT_EMPTY_DATA, PLUGIN_NAME, ROUTES } from '../../../../utils/constants'; +import { BREADCRUMBS, DEFAULT_EMPTY_DATA, ROUTES } from '../../../../utils/constants'; import DeleteModal from '../../../../components/DeleteModal'; import { getDetectorNames } from '../../utils/helpers'; import { @@ -261,7 +261,7 @@ export default class Detectors extends Component , diff --git a/public/pages/Overview/components/Widgets/Summary.tsx b/public/pages/Overview/components/Widgets/Summary.tsx index baf925b9..fb4d28ab 100644 --- a/public/pages/Overview/components/Widgets/Summary.tsx +++ b/public/pages/Overview/components/Widgets/Summary.tsx @@ -23,7 +23,7 @@ import { TimeUnit, } from '../../utils/helpers'; import { createSelectComponent, renderVisualization } from '../../../../utils/helpers'; -import { PLUGIN_NAME, ROUTES } from '../../../../utils/constants'; +import { ROUTES } from '../../../../utils/constants'; import { ChartContainer } from '../../../../components/Charts/ChartContainer'; import { getLogTypeLabel } from '../../../LogTypes/utils/helpers'; import { OverviewAlertItem, OverviewFindingItem } from '../../../../../types'; @@ -174,7 +174,7 @@ export const Summary: React.FC = ({ detector to generate findings.

diff --git a/public/pages/Overview/containers/Overview/Overview.tsx b/public/pages/Overview/containers/Overview/Overview.tsx index 847f1f56..9a7c9765 100644 --- a/public/pages/Overview/containers/Overview/Overview.tsx +++ b/public/pages/Overview/containers/Overview/Overview.tsx @@ -19,7 +19,6 @@ import { BREADCRUMBS, DEFAULT_DATE_RANGE, MAX_RECENTLY_USED_TIME_RANGES, - PLUGIN_NAME, ROUTES, } from '../../../../utils/constants'; import { CoreServicesContext } from '../../../../../public/components/core_services'; @@ -205,7 +204,7 @@ export const Overview: React.FC = (props) => { const createDetectorAction = ( diff --git a/public/pages/ThreatIntel/containers/ScanConfiguration/ThreatIntelScanConfigForm.tsx b/public/pages/ThreatIntel/containers/ScanConfiguration/ThreatIntelScanConfigForm.tsx index 178d858b..771e5d53 100644 --- a/public/pages/ThreatIntel/containers/ScanConfiguration/ThreatIntelScanConfigForm.tsx +++ b/public/pages/ThreatIntel/containers/ScanConfiguration/ThreatIntelScanConfigForm.tsx @@ -13,7 +13,7 @@ import { EuiSteps, EuiTitle, } from '@elastic/eui'; -import { BREADCRUMBS, PLUGIN_NAME, ROUTES } from '../../../../utils/constants'; +import { BREADCRUMBS, ROUTES } from '../../../../utils/constants'; import { SelectThreatIntelLogSources } from '../../components/SelectLogSourcesForm/SelectThreatIntelLogSourcesForm'; import { ThreatIntelScanConfig, @@ -341,7 +341,7 @@ export const ThreatIntelScanConfigForm: React.FC - + Cancel