From 824cb9160a10f3546511d72684fd2538a677a548 Mon Sep 17 00:00:00 2001 From: Guido Modarelli Date: Thu, 5 Dec 2024 13:17:04 -0300 Subject: [PATCH 01/37] style(top_packages_table): increase padding size in EuiPanel for improved layout consistency and visual appearance --- .../components/top_packages_table/top_packages_table.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/main/public/components/common/welcome/components/top_packages_table/top_packages_table.tsx b/plugins/main/public/components/common/welcome/components/top_packages_table/top_packages_table.tsx index 7ae98623c7..b432cd1187 100644 --- a/plugins/main/public/components/common/welcome/components/top_packages_table/top_packages_table.tsx +++ b/plugins/main/public/components/common/welcome/components/top_packages_table/top_packages_table.tsx @@ -69,7 +69,7 @@ export function VulsTopPackageTable({ agentId, items, indexPatternId }) { ]; return ( - + From 3767ab8ceebd09b57cb883ee2ce37b3fa0ec79ff Mon Sep 17 00:00:00 2001 From: Guido Modarelli Date: Thu, 5 Dec 2024 13:17:11 -0300 Subject: [PATCH 02/37] style(vuls_welcome_panel): align text to the left for better readability in vulnerability panel component --- .../common/welcome/components/vuls_panel/vuls_welcome_panel.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/main/public/components/common/welcome/components/vuls_panel/vuls_welcome_panel.tsx b/plugins/main/public/components/common/welcome/components/vuls_panel/vuls_welcome_panel.tsx index fcd13c4d8c..1e34b3a3c0 100644 --- a/plugins/main/public/components/common/welcome/components/vuls_panel/vuls_welcome_panel.tsx +++ b/plugins/main/public/components/common/welcome/components/vuls_panel/vuls_welcome_panel.tsx @@ -126,6 +126,7 @@ const VulsPanelContent = ({ agent }) => { value={`${getSeverityValue(severityLabel)}`} color={severityColor} isLoading={isLoading || isDataSourceLoading} + textAlign='left' /> From a1453f3f2f3a3053535fd30df27f74db7027291c Mon Sep 17 00:00:00 2001 From: Guido Modarelli Date: Thu, 5 Dec 2024 13:56:39 -0300 Subject: [PATCH 03/37] refactor(agents-welcome): update malware detection to vulnerability detection for better alignment with application terminology --- .../main/public/components/common/welcome/agents-welcome.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/main/public/components/common/welcome/agents-welcome.js b/plugins/main/public/components/common/welcome/agents-welcome.js index 61d41e9a2e..f031e5560f 100644 --- a/plugins/main/public/components/common/welcome/agents-welcome.js +++ b/plugins/main/public/components/common/welcome/agents-welcome.js @@ -51,7 +51,7 @@ import { endpointSummary, mitreAttack, threatHunting, - malwareDetection, + vulnerabilityDetection, } from '../../../utils/applications'; import { RedirectAppLinks } from '../../../../../../src/plugins/opensearch_dashboards_react/public'; import { EventsCount } from './dashboard/events-count'; @@ -183,7 +183,7 @@ export const AgentsWelcome = compose( fileIntegrityMonitoring.id, configurationAssessment.id, mitreAttack.id, - malwareDetection.id, + vulnerabilityDetection.id, ]; } From afc22bc96a6d27321a5cd1c9ed73a5d1b69e5776 Mon Sep 17 00:00:00 2001 From: Guido Modarelli Date: Thu, 5 Dec 2024 14:55:56 -0300 Subject: [PATCH 04/37] feat(ribbon): add condensed prop to IRibbonItem and implement logic for displaying condensed items in the ribbon component --- .../components/common/ribbon/ribbon-item.tsx | 1 + .../components/common/ribbon/ribbon.scss | 18 ++++++++++++++++++ .../public/components/common/ribbon/ribbon.tsx | 12 +++++++++++- .../common/welcome/agent-info/agent-info.tsx | 11 +++++++++-- 4 files changed, 39 insertions(+), 3 deletions(-) create mode 100644 plugins/main/public/components/common/ribbon/ribbon.scss diff --git a/plugins/main/public/components/common/ribbon/ribbon-item.tsx b/plugins/main/public/components/common/ribbon/ribbon-item.tsx index 29741c8a6b..d22306e5c3 100644 --- a/plugins/main/public/components/common/ribbon/ribbon-item.tsx +++ b/plugins/main/public/components/common/ribbon/ribbon-item.tsx @@ -24,6 +24,7 @@ export type IRibbonItem