diff --git a/public/pages/Overview/components/Widgets/RecentThreatIntelFindingsWidget.tsx b/public/pages/Overview/components/Widgets/RecentThreatIntelFindingsWidget.tsx index c4e48b66..f11dff12 100644 --- a/public/pages/Overview/components/Widgets/RecentThreatIntelFindingsWidget.tsx +++ b/public/pages/Overview/components/Widgets/RecentThreatIntelFindingsWidget.tsx @@ -16,7 +16,7 @@ import { TableWidget } from './TableWidget'; import { WidgetContainer } from './WidgetContainer'; import { renderTime } from '../../../../utils/helpers'; import { ThreatIntelFinding } from '../../../../../types'; -import { getApplication } from '../../../../services/utils/constants'; +import { getApplication, getUseUpdatedUx } from '../../../../services/utils/constants'; import { IocLabel, ThreatIntelIocType } from '../../../../../common/constants'; const columns: EuiBasicTableColumn[] = [ @@ -78,17 +78,16 @@ export const RecentThreatIntelFindingsWidget: React.FC [ - getApplication().navigateToUrl(threatIntelFindingsUrl)}> + const actions = React.useMemo(() => { + const baseUrl = getUseUpdatedUx() ? getApplication().getUrlForApp(FINDINGS_NAV_ID) : ''; + return [ + View all , - ], - [] - ); + ]; + }, []); return ( diff --git a/public/pages/ThreatIntel/components/ThreatIntelSourceDetails/ThreatIntelSourceDetails.tsx b/public/pages/ThreatIntel/components/ThreatIntelSourceDetails/ThreatIntelSourceDetails.tsx index d38f5994..2462d3d2 100644 --- a/public/pages/ThreatIntel/components/ThreatIntelSourceDetails/ThreatIntelSourceDetails.tsx +++ b/public/pages/ThreatIntel/components/ThreatIntelSourceDetails/ThreatIntelSourceDetails.tsx @@ -333,12 +333,12 @@ export const ThreatIntelSourceDetails: React.FC = )} {type === 'URL_DOWNLOAD' && ( - - + - + )} <> @@ -374,7 +374,12 @@ export const ThreatIntelSourceDetails: React.FC = Discard - + Save diff --git a/public/pages/ThreatIntel/components/ThreatIntelSourcesList/ThreatIntelSourcesList.tsx b/public/pages/ThreatIntel/components/ThreatIntelSourcesList/ThreatIntelSourcesList.tsx index 1c794786..86631ad7 100644 --- a/public/pages/ThreatIntel/components/ThreatIntelSourcesList/ThreatIntelSourcesList.tsx +++ b/public/pages/ThreatIntel/components/ThreatIntelSourcesList/ThreatIntelSourcesList.tsx @@ -34,7 +34,6 @@ export const ThreatIntelSourcesList: React.FC = ({ }) => { return ( - @@ -97,7 +96,11 @@ export const ThreatIntelSourcesList: React.FC = ({ {threatIntelSources.length === 0 && (

No threat intel source present

} + title={ + +

No threat intel source present

+
+ } actions={[ `notifications-dashboards#/channels-details/${channelId}`; export const BREADCRUMBS = Object.freeze({ - SECURITY_ANALYTICS: { text: 'Security Analytics', href: '#/' }, + SECURITY_ANALYTICS: { text: 'Security Analytics', href: `#${ROUTES.OVERVIEW}` }, OVERVIEW: { text: 'Overview', href: `#${ROUTES.OVERVIEW}` }, GETTING_STARTED: { text: 'Getting started', href: `#${ROUTES.GETTING_STARTED}` }, FINDINGS: { text: 'Findings', href: `#${ROUTES.FINDINGS}` },