mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 18:51:07 -04:00
Add namespace to default grouping csp fields (#225279)
This commit is contained in:
parent
bb7cce6d7b
commit
1ebff0e634
2 changed files with 7 additions and 0 deletions
|
@ -182,6 +182,7 @@ export const FINDINGS_GROUPING_OPTIONS = {
|
||||||
CLOUD_ACCOUNT_ID: 'cloud.account.id',
|
CLOUD_ACCOUNT_ID: 'cloud.account.id',
|
||||||
ORCHESTRATOR_CLUSTER_NAME: 'orchestrator.cluster.name',
|
ORCHESTRATOR_CLUSTER_NAME: 'orchestrator.cluster.name',
|
||||||
ORCHESTRATOR_CLUSTER_ID: 'orchestrator.cluster.id',
|
ORCHESTRATOR_CLUSTER_ID: 'orchestrator.cluster.id',
|
||||||
|
NAMESPACE: 'data_stream.namespace',
|
||||||
};
|
};
|
||||||
|
|
||||||
export const VULNERABILITY_FIELDS = {
|
export const VULNERABILITY_FIELDS = {
|
||||||
|
|
|
@ -100,6 +100,12 @@ export const defaultGroupingOptions: GroupOption[] = [
|
||||||
}),
|
}),
|
||||||
key: FINDINGS_GROUPING_OPTIONS.ORCHESTRATOR_CLUSTER_ID,
|
key: FINDINGS_GROUPING_OPTIONS.ORCHESTRATOR_CLUSTER_ID,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
label: i18n.translate('xpack.csp.findings.latestFindings.groupNamespace', {
|
||||||
|
defaultMessage: 'Namespace',
|
||||||
|
}),
|
||||||
|
key: FINDINGS_GROUPING_OPTIONS.NAMESPACE,
|
||||||
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
export const groupingTitle = i18n.translate('xpack.csp.findings.latestFindings.groupBy', {
|
export const groupingTitle = i18n.translate('xpack.csp.findings.latestFindings.groupBy', {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue