diff --git a/x-pack/packages/security-solution/data_table/mock/mock_source.ts b/x-pack/packages/security-solution/data_table/mock/mock_source.ts index b6028093817ed..82c2a34448153 100644 --- a/x-pack/packages/security-solution/data_table/mock/mock_source.ts +++ b/x-pack/packages/security-solution/data_table/mock/mock_source.ts @@ -8,7 +8,7 @@ import type { MappingRuntimeFields } from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; import { BrowserFields } from '@kbn/timelines-plugin/common'; -export const DEFAULT_INDEX_PATTERN = [ +const DEFAULT_INDEX_PATTERN = [ 'apm-*-transaction*', 'auditbeat-*', 'endgame-*', diff --git a/x-pack/plugins/security_solution/public/common/components/landing_links/landing_links_icons.test.tsx b/x-pack/plugins/security_solution/public/common/components/landing_links/landing_links_icons.test.tsx index 4e24e3181bc31..4892940f09064 100644 --- a/x-pack/plugins/security_solution/public/common/components/landing_links/landing_links_icons.test.tsx +++ b/x-pack/plugins/security_solution/public/common/components/landing_links/landing_links_icons.test.tsx @@ -8,7 +8,7 @@ import { render } from '@testing-library/react'; import React from 'react'; import { SecurityPageName } from '../../../app/types'; -import type { NavigationLink } from '../../links'; +import type { NavigationLink } from '../../links/types'; import { TestProviders } from '../../mock'; import { LandingLinksIcons } from './landing_links_icons'; import * as telemetry from '../../lib/telemetry'; diff --git a/x-pack/plugins/security_solution/public/common/components/landing_links/landing_links_icons.tsx b/x-pack/plugins/security_solution/public/common/components/landing_links/landing_links_icons.tsx index 1e7678c4bd64e..7fc6fb453fd91 100644 --- a/x-pack/plugins/security_solution/public/common/components/landing_links/landing_links_icons.tsx +++ b/x-pack/plugins/security_solution/public/common/components/landing_links/landing_links_icons.tsx @@ -10,7 +10,7 @@ import styled from 'styled-components'; import { NavItemBetaBadge } from '../navigation/nav_item_beta_badge'; import { SecuritySolutionLinkAnchor, withSecuritySolutionLink } from '../links'; -import type { NavigationLink } from '../../links'; +import type { NavigationLink } from '../../links/types'; import { METRIC_TYPE, TELEMETRY_EVENT, track } from '../../lib/telemetry'; interface LandingLinksImagesProps { diff --git a/x-pack/plugins/security_solution/public/common/components/landing_links/landing_links_images.test.tsx b/x-pack/plugins/security_solution/public/common/components/landing_links/landing_links_images.test.tsx index 4c8ebf6a0561e..39b5ed53cf9e4 100644 --- a/x-pack/plugins/security_solution/public/common/components/landing_links/landing_links_images.test.tsx +++ b/x-pack/plugins/security_solution/public/common/components/landing_links/landing_links_images.test.tsx @@ -9,7 +9,7 @@ import { render } from '@testing-library/react'; import React from 'react'; import { BETA } from '@kbn/kubernetes-security-plugin/common/translations'; import { SecurityPageName } from '../../../app/types'; -import type { NavigationLink } from '../../links'; +import type { NavigationLink } from '../../links/types'; import { TestProviders } from '../../mock'; import { LandingLinksImages, LandingImageCards } from './landing_links_images'; import * as telemetry from '../../lib/telemetry'; diff --git a/x-pack/plugins/security_solution/public/common/components/landing_links/landing_links_images.tsx b/x-pack/plugins/security_solution/public/common/components/landing_links/landing_links_images.tsx index 9a8a009440805..b1510c65d5bf4 100644 --- a/x-pack/plugins/security_solution/public/common/components/landing_links/landing_links_images.tsx +++ b/x-pack/plugins/security_solution/public/common/components/landing_links/landing_links_images.tsx @@ -18,7 +18,7 @@ import React from 'react'; import styled from 'styled-components'; import { withSecuritySolutionLink } from '../links'; import { NavItemBetaBadge } from '../navigation/nav_item_beta_badge'; -import type { NavigationLink } from '../../links'; +import type { NavigationLink } from '../../links/types'; import { TELEMETRY_EVENT, track } from '../../lib/telemetry'; interface LandingImagesProps { diff --git a/x-pack/plugins/security_solution/public/common/components/navigation/security_side_nav/security_side_nav.test.tsx b/x-pack/plugins/security_solution/public/common/components/navigation/security_side_nav/security_side_nav.test.tsx index 14c734a0826d7..ea250ee1ff484 100644 --- a/x-pack/plugins/security_solution/public/common/components/navigation/security_side_nav/security_side_nav.test.tsx +++ b/x-pack/plugins/security_solution/public/common/components/navigation/security_side_nav/security_side_nav.test.tsx @@ -12,7 +12,7 @@ import { SecurityPageName } from '../../../../app/types'; import { TestProviders } from '../../../mock'; import { BOTTOM_BAR_HEIGHT, EUI_HEADER_HEIGHT, SecuritySideNav } from './security_side_nav'; import type { SolutionSideNavProps } from '@kbn/security-solution-side-nav'; -import type { NavigationLink } from '../../../links'; +import type { NavigationLink } from '../../../links/types'; import { track } from '../../../lib/telemetry'; import { useKibana } from '../../../lib/kibana'; diff --git a/x-pack/plugins/security_solution/public/common/components/navigation/tab_navigation/index.tsx b/x-pack/plugins/security_solution/public/common/components/navigation/tab_navigation/index.tsx index ae98101ae3068..f0e00a5830907 100644 --- a/x-pack/plugins/security_solution/public/common/components/navigation/tab_navigation/index.tsx +++ b/x-pack/plugins/security_solution/public/common/components/navigation/tab_navigation/index.tsx @@ -9,7 +9,6 @@ import React from 'react'; import { EuiLoadingSpinner } from '@elastic/eui'; import type { TabNavigationProps } from './types'; -// export { TabNavigation } from './tab_navigation'; const TabNavigationLazy = React.lazy(() => import('./tab_navigation')); export const TabNavigation = (props: TabNavigationProps) => ( diff --git a/x-pack/plugins/security_solution/public/common/links/index.tsx b/x-pack/plugins/security_solution/public/common/links/index.tsx index 32aca507f845d..e4e4de0b49430 100644 --- a/x-pack/plugins/security_solution/public/common/links/index.tsx +++ b/x-pack/plugins/security_solution/public/common/links/index.tsx @@ -6,5 +6,4 @@ */ export * from './links'; -export * from './deep_links'; export * from './types'; diff --git a/x-pack/plugins/security_solution/public/plugin.tsx b/x-pack/plugins/security_solution/public/plugin.tsx index 36a813b8904a3..7420bfc9f9126 100644 --- a/x-pack/plugins/security_solution/public/plugin.tsx +++ b/x-pack/plugins/security_solution/public/plugin.tsx @@ -34,7 +34,8 @@ import { SOLUTION_NAME } from './common/translations'; import { APP_ID, APP_UI_ID, APP_PATH, APP_ICON_SOLUTION } from '../common/constants'; -import { updateAppLinks, registerDeepLinksUpdater, type LinksPermissions } from './common/links'; +import { updateAppLinks, type LinksPermissions } from './common/links'; +import { registerDeepLinksUpdater } from './common/links/deep_links'; import { navLinks$ } from './common/links/nav_links'; import { licenseService } from './common/hooks/use_license'; import type { SecuritySolutionUiConfigType } from './common/types';