Skip to content

Commit

Permalink
k8s sessions table default columns updated
Browse files Browse the repository at this point in the history
  • Loading branch information
mitodrummer committed May 8, 2023
1 parent c4d233d commit 4f0e67e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import {
COLUMN_EXECUTABLE,
COLUMN_ENTRY_USER,
COLUMN_INTERACTIVE,
COLUMN_ENTRY_TYPE,
COLUMN_NODE,
COLUMN_CONTAINER,
COLUMN_POD,
Expand All @@ -26,25 +25,15 @@ export const kubernetesSessionsHeaders: ColumnHeaderOptions[] = [
initialWidth: DEFAULT_DATE_COLUMN_MIN_WIDTH,
display: COLUMN_SESSION_START,
},
{
columnHeaderType: defaultColumnHeaderType,
id: 'process.entry_leader.user.name',
display: COLUMN_ENTRY_USER,
},
{
columnHeaderType: defaultColumnHeaderType,
id: 'process.entry_leader.executable',
display: COLUMN_EXECUTABLE,
},
{
columnHeaderType: defaultColumnHeaderType,
id: 'cloud.instance.name',
display: COLUMN_NODE,
},
{
columnHeaderType: defaultColumnHeaderType,
id: 'process.entry_leader.entry_meta.type',
display: COLUMN_ENTRY_TYPE,
id: 'process.entry_leader.user.id',
display: COLUMN_ENTRY_USER,
},
{
columnHeaderType: defaultColumnHeaderType,
Expand All @@ -53,12 +42,17 @@ export const kubernetesSessionsHeaders: ColumnHeaderOptions[] = [
},
{
columnHeaderType: defaultColumnHeaderType,
id: 'container.name',
display: COLUMN_CONTAINER,
id: 'cloud.instance.name',
display: COLUMN_NODE,
},
{
columnHeaderType: defaultColumnHeaderType,
id: 'orchestrator.resource.name',
display: COLUMN_POD,
},
{
columnHeaderType: defaultColumnHeaderType,
id: 'container.name',
display: COLUMN_CONTAINER,
},
];
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ import { i18n } from '@kbn/i18n';
export const COLUMN_SESSION_START = i18n.translate(
'xpack.securitySolution.kubernetes.columnSessionStart',
{
defaultMessage: 'Date connected',
defaultMessage: 'Date started',
}
);

export const COLUMN_EXECUTABLE = i18n.translate(
'xpack.securitySolution.kubernetes.columnExecutable',
{
defaultMessage: 'Session leader',
defaultMessage: 'Executable',
}
);

Expand All @@ -28,21 +28,14 @@ export const COLUMN_NODE = i18n.translate('xpack.securitySolution.kubernetes.col
export const COLUMN_ENTRY_USER = i18n.translate(
'xpack.securitySolution.kubernetes.columnEntryUser',
{
defaultMessage: 'Session entry user',
defaultMessage: 'User ID',
}
);

export const COLUMN_INTERACTIVE = i18n.translate(
'xpack.securitySolution.kubernetes.columnInteractive',
{
defaultMessage: 'Interactivity',
}
);

export const COLUMN_ENTRY_TYPE = i18n.translate(
'xpack.securitySolution.kubernetes.columnEntryType',
{
defaultMessage: 'Entry type',
defaultMessage: 'Interactive',
}
);

Expand Down

0 comments on commit 4f0e67e

Please sign in to comment.