From b53ae6d1113705147203b7fd35b5638ca5923163 Mon Sep 17 00:00:00 2001 From: Stephanie Moallic Date: Tue, 28 Nov 2023 09:32:08 +0100 Subject: [PATCH 1/2] feat(dedicated.network-security): update security dashboard ref: UXCT-503 Signed-off-by: Stephanie Moallic --- .../scrubbing-center/scrubbing-center.controller.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/manager/apps/dedicated/client/app/network-security/scrubbing-center/scrubbing-center.controller.js b/packages/manager/apps/dedicated/client/app/network-security/scrubbing-center/scrubbing-center.controller.js index df5eaaf44662..cd41e0f3d509 100644 --- a/packages/manager/apps/dedicated/client/app/network-security/scrubbing-center/scrubbing-center.controller.js +++ b/packages/manager/apps/dedicated/client/app/network-security/scrubbing-center/scrubbing-center.controller.js @@ -117,6 +117,9 @@ export default class ScrubbingCenterController extends AbstractCursorDatagridCon return null; } + if (!ipaddr.isValid(value)) { + return null; + } this.selectedIp = value; if (value.indexOf('.') > -1 && value.indexOf('/') === -1) { this.selectedIp = `${value}/32`; From 35f762c90b4bf692692f4ca64aa2abe713e2ff65 Mon Sep 17 00:00:00 2001 From: Stephanie Moallic Date: Tue, 28 Nov 2023 12:50:52 +0100 Subject: [PATCH 2/2] feat(dedicated.network-security): rephrase empty datagrid ref: UXCT-509 Signed-off-by: Stephanie Moallic --- .../app/network-security/scrubbing-center/scrubbing-center.html | 1 + .../client/app/network-security/translations/Messages_fr_FR.json | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/manager/apps/dedicated/client/app/network-security/scrubbing-center/scrubbing-center.html b/packages/manager/apps/dedicated/client/app/network-security/scrubbing-center/scrubbing-center.html index 2c823811754a..1f0c48182e52 100644 --- a/packages/manager/apps/dedicated/client/app/network-security/scrubbing-center/scrubbing-center.html +++ b/packages/manager/apps/dedicated/client/app/network-security/scrubbing-center/scrubbing-center.html @@ -63,6 +63,7 @@