[8.8] [k8s dashboard] sessions table default columns updated (#156951) (#157045)

# Backport

This will backport the following commits from `main` to `8.8`:
- [[k8s dashboard] sessions table default columns updated
(#156951)](https://github.com/elastic/kibana/pull/156951)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Karl
Godard","email":"karl.godard@elastic.co"},"sourceCommit":{"committedDate":"2023-05-08T18:32:47Z","message":"[k8s
dashboard] sessions table default columns updated (#156951)\n\n##
Summary\r\n\r\nReplaced entry user name with user id. added
container\r\n\r\n### Checklist\r\n\r\nDelete any items that are not
applicable to this PR.\r\n\r\n- [x] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)","sha":"45afa6108b3e62b507afe2c984c81f3154da0df3","branchLabelMapping":{"^v8.9.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:prev-minor","Team:
Cloud Native
Integrations","v8.8.0","v8.9.0"],"number":156951,"url":"https://github.com/elastic/kibana/pull/156951","mergeCommit":{"message":"[k8s
dashboard] sessions table default columns updated (#156951)\n\n##
Summary\r\n\r\nReplaced entry user name with user id. added
container\r\n\r\n### Checklist\r\n\r\nDelete any items that are not
applicable to this PR.\r\n\r\n- [x] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)","sha":"45afa6108b3e62b507afe2c984c81f3154da0df3"}},"sourceBranch":"main","suggestedTargetBranches":["8.8"],"targetPullRequestStates":[{"branch":"8.8","label":"v8.8.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.9.0","labelRegex":"^v8.9.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/156951","number":156951,"mergeCommit":{"message":"[k8s
dashboard] sessions table default columns updated (#156951)\n\n##
Summary\r\n\r\nReplaced entry user name with user id. added
container\r\n\r\n### Checklist\r\n\r\nDelete any items that are not
applicable to this PR.\r\n\r\n- [x] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)","sha":"45afa6108b3e62b507afe2c984c81f3154da0df3"}}]}]
BACKPORT-->

Co-authored-by: Karl Godard <karl.godard@elastic.co>
This commit is contained in:
Kibana Machine 2023-05-08 16:32:38 -04:00 committed by GitHub
parent 5f0d6dbc7c
commit 1bf07feb42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 13 additions and 29 deletions

View file

@ -13,7 +13,6 @@ import {
COLUMN_EXECUTABLE,
COLUMN_ENTRY_USER,
COLUMN_INTERACTIVE,
COLUMN_ENTRY_TYPE,
COLUMN_NODE,
COLUMN_CONTAINER,
COLUMN_POD,
@ -26,11 +25,6 @@ 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',
@ -38,13 +32,8 @@ export const kubernetesSessionsHeaders: ColumnHeaderOptions[] = [
},
{
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,
@ -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,
},
];

View file

@ -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',
}
);
@ -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',
}
);

View file

@ -31010,7 +31010,6 @@
"xpack.securitySolution.kpiUsers.totalUsers.errorSearchDescription": "Une erreur s'est produite sur la recherche du KPI du total des utilisateurs",
"xpack.securitySolution.kpiUsers.totalUsers.title": "Utilisateurs",
"xpack.securitySolution.kubernetes.columnContainer": "Conteneur",
"xpack.securitySolution.kubernetes.columnEntryType": "Type dentrée",
"xpack.securitySolution.kubernetes.columnExecutable": "Leader de session",
"xpack.securitySolution.kubernetes.columnInteractive": "Interactivité",
"xpack.securitySolution.kubernetes.columnNode": "Nœud",

View file

@ -30989,7 +30989,6 @@
"xpack.securitySolution.kpiUsers.totalUsers.errorSearchDescription": "統計ユーザーKPI検索でエラーが発生しました",
"xpack.securitySolution.kpiUsers.totalUsers.title": "ユーザー",
"xpack.securitySolution.kubernetes.columnContainer": "コンテナー",
"xpack.securitySolution.kubernetes.columnEntryType": "エントリタイプ",
"xpack.securitySolution.kubernetes.columnExecutable": "セッションリーダー",
"xpack.securitySolution.kubernetes.columnInteractive": "インタラクティブ",
"xpack.securitySolution.kubernetes.columnNode": "ノード",

View file

@ -31006,7 +31006,6 @@
"xpack.securitySolution.kpiUsers.totalUsers.errorSearchDescription": "搜索总体用户 KPI 时发生错误",
"xpack.securitySolution.kpiUsers.totalUsers.title": "用户",
"xpack.securitySolution.kubernetes.columnContainer": "容器",
"xpack.securitySolution.kubernetes.columnEntryType": "条目类型",
"xpack.securitySolution.kubernetes.columnExecutable": "会话 Leader",
"xpack.securitySolution.kubernetes.columnInteractive": "交互性",
"xpack.securitySolution.kubernetes.columnNode": "节点",