Skip to content

Commit

Permalink
Fix label name
Browse files Browse the repository at this point in the history
  • Loading branch information
milan-deepfence committed Jul 30, 2024
1 parent 86d6644 commit 8dc5ff1
Show file tree
Hide file tree
Showing 11 changed files with 26 additions and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ const FILTER_SEARCHPARAMS_DYNAMIC_KEYS = [
];

const FILTER_SEARCHPARAMS: Record<FILTER_SEARCHPARAMS_KEYS_ENUM, string> = {
nodeType: 'Node Type',
nodeType: 'Node type',
malwareScanStatus: 'Malware scan status',
containerImages: 'Container image',
containers: 'Containers',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ const FILTER_SEARCHPARAMS: Record<FILTER_SEARCHPARAMS_KEYS_ENUM, string> = {
severity: 'Severity',
hosts: 'Host',
containers: 'Container',
containerImages: 'Container Images',
clusters: 'Clusters',
containerImages: 'Container image',
clusters: 'Cluster',
};

const getPrettyNameForAppliedFilters = ({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ const FILTER_SEARCHPARAMS: Record<FILTER_SEARCHPARAMS_KEYS_ENUM, string> = {
severity: 'Severity',
hosts: 'Host',
containers: 'Container',
containerImages: 'Container Images',
clusters: 'Clusters',
containerImages: 'Container image',
clusters: 'Cluster',
};
const getPrettyNameForAppliedFilters = ({
key,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ const FILTER_SEARCHPARAMS: Record<string, string> = {
severity: 'Severity',
hosts: 'Host',
containers: 'Container',
containerImages: 'Container Images',
clusters: 'Clusters',
containerImages: 'Container image',
clusters: 'Cluster',
};
const getPrettyNameForAppliedFilters = ({
key,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ const FILTER_SEARCHPARAMS_DYNAMIC_KEYS = [
];

const FILTER_SEARCHPARAMS: Record<FILTER_SEARCHPARAMS_KEYS_ENUM, string> = {
nodeType: 'Node Type',
nodeType: 'Node type',
secretScanStatus: 'Secret scan status',
containerImages: 'Container image',
containers: 'Container',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ const FILTER_SEARCHPARAMS: Record<FILTER_SEARCHPARAMS_KEYS_ENUM, string> = {
severity: 'Severity',
hosts: 'Host',
containers: 'Container',
containerImages: 'Container Images',
clusters: 'Clusters',
containerImages: 'Container image',
clusters: 'Cluster',
};

const getPrettyNameForAppliedFilters = ({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,7 @@ const DataTable = ({
},
header: () => 'OS',
minSize: 50,
size: 60,
size: 80,
maxSize: 120,
}),
columnHelper.accessor('agent_running', {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,13 @@ const FILTER_SEARCHPARAMS_DYNAMIC_KEYS = [
];

const FILTER_SEARCHPARAMS: Record<FILTER_SEARCHPARAMS_KEYS_ENUM, string> = {
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 = ({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ const FILTER_SEARCHPARAMS_DYNAMIC_KEYS = [
];

const FILTER_SEARCHPARAMS: Record<FILTER_SEARCHPARAMS_KEYS_ENUM, string> = {
nodeType: 'Node Type',
nodeType: 'Node type',
containerImages: 'Container image',
containers: 'Container',
hosts: 'Host',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,13 @@ const FILTER_SEARCHPARAMS_DYNAMIC_KEYS = [
];

const FILTER_SEARCHPARAMS: Record<FILTER_SEARCHPARAMS_KEYS_ENUM, string> = {
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 = ({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1220,10 +1220,10 @@ const BulkActions = ({

const FILTER_SEARCHPARAMS: Record<string, string> = {
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',
};

Expand Down

0 comments on commit 8dc5ff1

Please sign in to comment.