From 8dc5ff1801b9e6424e413a04474ae68a8cb38835 Mon Sep 17 00:00:00 2001 From: milan-deepfence Date: Tue, 30 Jul 2024 17:45:21 +0530 Subject: [PATCH] Fix label name --- .../src/features/malwares/pages/MalwareScans.tsx | 2 +- .../malwares/pages/MostExploitableMalwares.tsx | 4 ++-- .../src/features/malwares/pages/UniqueMalwares.tsx | 4 ++-- .../features/secrets/pages/MostExploitableSecrets.tsx | 4 ++-- .../src/features/secrets/pages/SecretScans.tsx | 2 +- .../src/features/secrets/pages/UniqueSecrets.tsx | 4 ++-- .../topology/data-components/tables/HostsTable.tsx | 2 +- .../pages/MostExploitableVulnerabilities.tsx | 10 +++++----- .../src/features/vulnerabilities/pages/RuntimeBom.tsx | 2 +- .../vulnerabilities/pages/UniqueVulnerabilities.tsx | 10 +++++----- .../vulnerabilities/pages/VulnerabilityScanResults.tsx | 8 ++++---- 11 files changed, 26 insertions(+), 26 deletions(-) diff --git a/deepfence_frontend/apps/dashboard/src/features/malwares/pages/MalwareScans.tsx b/deepfence_frontend/apps/dashboard/src/features/malwares/pages/MalwareScans.tsx index fffb153710..3d3162fb6a 100644 --- a/deepfence_frontend/apps/dashboard/src/features/malwares/pages/MalwareScans.tsx +++ b/deepfence_frontend/apps/dashboard/src/features/malwares/pages/MalwareScans.tsx @@ -375,7 +375,7 @@ const FILTER_SEARCHPARAMS_DYNAMIC_KEYS = [ ]; const FILTER_SEARCHPARAMS: Record = { - nodeType: 'Node Type', + nodeType: 'Node type', malwareScanStatus: 'Malware scan status', containerImages: 'Container image', containers: 'Containers', diff --git a/deepfence_frontend/apps/dashboard/src/features/malwares/pages/MostExploitableMalwares.tsx b/deepfence_frontend/apps/dashboard/src/features/malwares/pages/MostExploitableMalwares.tsx index 660620d559..4911d8391a 100644 --- a/deepfence_frontend/apps/dashboard/src/features/malwares/pages/MostExploitableMalwares.tsx +++ b/deepfence_frontend/apps/dashboard/src/features/malwares/pages/MostExploitableMalwares.tsx @@ -57,8 +57,8 @@ const FILTER_SEARCHPARAMS: Record = { severity: 'Severity', hosts: 'Host', containers: 'Container', - containerImages: 'Container Images', - clusters: 'Clusters', + containerImages: 'Container image', + clusters: 'Cluster', }; const getPrettyNameForAppliedFilters = ({ diff --git a/deepfence_frontend/apps/dashboard/src/features/malwares/pages/UniqueMalwares.tsx b/deepfence_frontend/apps/dashboard/src/features/malwares/pages/UniqueMalwares.tsx index 4a35fdc0d8..6ada586e63 100644 --- a/deepfence_frontend/apps/dashboard/src/features/malwares/pages/UniqueMalwares.tsx +++ b/deepfence_frontend/apps/dashboard/src/features/malwares/pages/UniqueMalwares.tsx @@ -58,8 +58,8 @@ const FILTER_SEARCHPARAMS: Record = { severity: 'Severity', hosts: 'Host', containers: 'Container', - containerImages: 'Container Images', - clusters: 'Clusters', + containerImages: 'Container image', + clusters: 'Cluster', }; const getPrettyNameForAppliedFilters = ({ key, diff --git a/deepfence_frontend/apps/dashboard/src/features/secrets/pages/MostExploitableSecrets.tsx b/deepfence_frontend/apps/dashboard/src/features/secrets/pages/MostExploitableSecrets.tsx index 2f78aedfe4..b5283a614e 100644 --- a/deepfence_frontend/apps/dashboard/src/features/secrets/pages/MostExploitableSecrets.tsx +++ b/deepfence_frontend/apps/dashboard/src/features/secrets/pages/MostExploitableSecrets.tsx @@ -56,8 +56,8 @@ const FILTER_SEARCHPARAMS: Record = { severity: 'Severity', hosts: 'Host', containers: 'Container', - containerImages: 'Container Images', - clusters: 'Clusters', + containerImages: 'Container image', + clusters: 'Cluster', }; const getPrettyNameForAppliedFilters = ({ key, diff --git a/deepfence_frontend/apps/dashboard/src/features/secrets/pages/SecretScans.tsx b/deepfence_frontend/apps/dashboard/src/features/secrets/pages/SecretScans.tsx index 084b4dd920..c907563d23 100644 --- a/deepfence_frontend/apps/dashboard/src/features/secrets/pages/SecretScans.tsx +++ b/deepfence_frontend/apps/dashboard/src/features/secrets/pages/SecretScans.tsx @@ -375,7 +375,7 @@ const FILTER_SEARCHPARAMS_DYNAMIC_KEYS = [ ]; const FILTER_SEARCHPARAMS: Record = { - nodeType: 'Node Type', + nodeType: 'Node type', secretScanStatus: 'Secret scan status', containerImages: 'Container image', containers: 'Container', diff --git a/deepfence_frontend/apps/dashboard/src/features/secrets/pages/UniqueSecrets.tsx b/deepfence_frontend/apps/dashboard/src/features/secrets/pages/UniqueSecrets.tsx index d0126eafa8..2585d66d89 100644 --- a/deepfence_frontend/apps/dashboard/src/features/secrets/pages/UniqueSecrets.tsx +++ b/deepfence_frontend/apps/dashboard/src/features/secrets/pages/UniqueSecrets.tsx @@ -58,8 +58,8 @@ const FILTER_SEARCHPARAMS: Record = { severity: 'Severity', hosts: 'Host', containers: 'Container', - containerImages: 'Container Images', - clusters: 'Clusters', + containerImages: 'Container image', + clusters: 'Cluster', }; const getPrettyNameForAppliedFilters = ({ diff --git a/deepfence_frontend/apps/dashboard/src/features/topology/data-components/tables/HostsTable.tsx b/deepfence_frontend/apps/dashboard/src/features/topology/data-components/tables/HostsTable.tsx index 56351cb3cd..167506df09 100644 --- a/deepfence_frontend/apps/dashboard/src/features/topology/data-components/tables/HostsTable.tsx +++ b/deepfence_frontend/apps/dashboard/src/features/topology/data-components/tables/HostsTable.tsx @@ -793,7 +793,7 @@ const DataTable = ({ }, header: () => 'OS', minSize: 50, - size: 60, + size: 80, maxSize: 120, }), columnHelper.accessor('agent_running', { diff --git a/deepfence_frontend/apps/dashboard/src/features/vulnerabilities/pages/MostExploitableVulnerabilities.tsx b/deepfence_frontend/apps/dashboard/src/features/vulnerabilities/pages/MostExploitableVulnerabilities.tsx index 33be771e86..2f30c284b7 100644 --- a/deepfence_frontend/apps/dashboard/src/features/vulnerabilities/pages/MostExploitableVulnerabilities.tsx +++ b/deepfence_frontend/apps/dashboard/src/features/vulnerabilities/pages/MostExploitableVulnerabilities.tsx @@ -73,13 +73,13 @@ const FILTER_SEARCHPARAMS_DYNAMIC_KEYS = [ ]; const FILTER_SEARCHPARAMS: Record = { - liveConnection: 'Live Connection', - severity: 'CVE Severity', + liveConnection: 'Live connection', + severity: 'CVE severity', hosts: 'Host', containers: 'Container', - containerImages: 'Container Images', - clusters: 'Clusters', - cveId: 'CVE Id', + containerImages: 'Container image', + clusters: 'Cluster', + cveId: 'CVE ID', }; const getPrettyNameForAppliedFilters = ({ diff --git a/deepfence_frontend/apps/dashboard/src/features/vulnerabilities/pages/RuntimeBom.tsx b/deepfence_frontend/apps/dashboard/src/features/vulnerabilities/pages/RuntimeBom.tsx index 940dac3fd6..a3dbf32e15 100644 --- a/deepfence_frontend/apps/dashboard/src/features/vulnerabilities/pages/RuntimeBom.tsx +++ b/deepfence_frontend/apps/dashboard/src/features/vulnerabilities/pages/RuntimeBom.tsx @@ -136,7 +136,7 @@ const FILTER_SEARCHPARAMS_DYNAMIC_KEYS = [ ]; const FILTER_SEARCHPARAMS: Record = { - nodeType: 'Node Type', + nodeType: 'Node type', containerImages: 'Container image', containers: 'Container', hosts: 'Host', diff --git a/deepfence_frontend/apps/dashboard/src/features/vulnerabilities/pages/UniqueVulnerabilities.tsx b/deepfence_frontend/apps/dashboard/src/features/vulnerabilities/pages/UniqueVulnerabilities.tsx index 2279b99843..5c4796a376 100644 --- a/deepfence_frontend/apps/dashboard/src/features/vulnerabilities/pages/UniqueVulnerabilities.tsx +++ b/deepfence_frontend/apps/dashboard/src/features/vulnerabilities/pages/UniqueVulnerabilities.tsx @@ -59,13 +59,13 @@ const FILTER_SEARCHPARAMS_DYNAMIC_KEYS = [ ]; const FILTER_SEARCHPARAMS: Record = { - liveConnection: 'Live Connection', - severity: 'CVE Severity', + liveConnection: 'Live connection', + severity: 'CVE severity', hosts: 'Host', containers: 'Container', - containerImages: 'Container Images', - clusters: 'Clusters', - cveId: 'CVE Id', + containerImages: 'Container image', + clusters: 'Cluster', + cveId: 'CVE ID', }; const getPrettyNameForAppliedFilters = ({ diff --git a/deepfence_frontend/apps/dashboard/src/features/vulnerabilities/pages/VulnerabilityScanResults.tsx b/deepfence_frontend/apps/dashboard/src/features/vulnerabilities/pages/VulnerabilityScanResults.tsx index 3f3db58ec3..b0105c87c1 100644 --- a/deepfence_frontend/apps/dashboard/src/features/vulnerabilities/pages/VulnerabilityScanResults.tsx +++ b/deepfence_frontend/apps/dashboard/src/features/vulnerabilities/pages/VulnerabilityScanResults.tsx @@ -1220,10 +1220,10 @@ const BulkActions = ({ const FILTER_SEARCHPARAMS: Record = { visibility: 'Masked/Unmasked', - severity: 'CVE Severity', - cveId: 'CVE Id', - attackVector: 'Attack Vector', - language: 'CVE Type', + severity: 'CVE severity', + cveId: 'CVE ID', + attackVector: 'Attack vector', + language: 'CVE type', exploitable: 'Exploitable', };