Skip to content

Commit 57f4096

Browse files
albertoblazopauloh
andauthored
Update Asset Inventory to match acceptance criteria (elastic#210470)
## Summary It closes elastic#217079 - Update implementation as per the the Asset Inventory [Enable Users to Search, Filter, and Group Assets within Asset Inventory acceptance criteria](elastic/security-team#10344): - Set the default columns for the data table as it is specified in - Update filter attributes - Update implementation to match answers given in [this epic](elastic/security-team#11856): - Hide 3-dots button on each data table row - Remap bar chart fields to `entity.type` and `entity.sub_type` ### Checklist - [x] This was checked for breaking HTTP API changes, and any breaking changes have been approved by the breaking-change committee. The `release_note:breaking` label should be applied in these situations. - [x] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) ### Risks No risks whatsoever. --------- Co-authored-by: Paulo Henrique <paulo.henrique@elastic.co>
1 parent 93174d3 commit 57f4096

File tree

24 files changed

+563
-280
lines changed

24 files changed

+563
-280
lines changed

x-pack/platform/plugins/private/translations/translations/fr-FR.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35646,7 +35646,6 @@
3564635646
"xpack.securitySolution.assetCriticality.csvUpload.missingCriticalityError": "Niveau de criticité manquant",
3564735647
"xpack.securitySolution.assetCriticality.csvUpload.missingEntityTypeError": "Type d'entité manquant",
3564835648
"xpack.securitySolution.assetCriticality.csvUpload.missingIdError": "Identificateur manquant",
35649-
"xpack.securitySolution.assetInventory.allAssets.criticality": "Criticité",
3565035649
"xpack.securitySolution.assetInventory.allAssets.fieldsModal.viewAll": "tous",
3565135650
"xpack.securitySolution.assetInventory.allAssets.fieldsModal.viewLabel": "Afficher",
3565235651
"xpack.securitySolution.assetInventory.allAssets.fieldsModal.viewSelected": "sélectionné",
@@ -35657,7 +35656,6 @@
3565735656
"xpack.securitySolution.assetInventory.allAssets.fieldsModalSearch": "Rechercher le nom du champ",
3565835657
"xpack.securitySolution.assetInventory.allAssets.lastSeen": "Vu en dernier",
3565935658
"xpack.securitySolution.assetInventory.allAssets.name": "Nom",
35660-
"xpack.securitySolution.assetInventory.allAssets.risk": "Risque",
3566135659
"xpack.securitySolution.assetInventory.allAssets.search.queryErrorToastMessage": "Erreur de requête",
3566235660
"xpack.securitySolution.assetInventory.allAssets.source": "Source",
3566335661
"xpack.securitySolution.assetInventory.allAssets.tableRowTypeLabel": "ressources",
@@ -35670,7 +35668,6 @@
3567035668
"xpack.securitySolution.assetInventory.emptyState.readDocsLink": "Lisez les documents",
3567135669
"xpack.securitySolution.assetInventory.emptyState.resetFiltersButton": "Réinitialiser les filtres",
3567235670
"xpack.securitySolution.assetInventory.emptyState.title": "Aucun résultat ne correspond à vos critères de recherche.",
35673-
"xpack.securitySolution.assetInventory.flyout.moreActionsButton": "Plus d'actions",
3567435671
"xpack.securitySolution.assetInventory.searchBar.searchPlaceholder": "Filtrez vos données en utilisant la syntaxe KQL",
3567535672
"xpack.securitySolution.assetInventory.technicalPreviewLabel": "Version d'évaluation technique",
3567635673
"xpack.securitySolution.assetInventory.technicalPreviewTooltip": "Cette fonctionnalité est expérimentale et n’est pas prise en charge. Elle peut changer ou être supprimée à tout moment.",

x-pack/platform/plugins/private/translations/translations/ja-JP.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35621,7 +35621,6 @@
3562135621
"xpack.securitySolution.assetCriticality.csvUpload.missingCriticalityError": "重要度レベルがありません",
3562235622
"xpack.securitySolution.assetCriticality.csvUpload.missingEntityTypeError": "エンティティタイプがありません",
3562335623
"xpack.securitySolution.assetCriticality.csvUpload.missingIdError": "識別子がありません",
35624-
"xpack.securitySolution.assetInventory.allAssets.criticality": "重要度",
3562535624
"xpack.securitySolution.assetInventory.allAssets.fieldsModal.viewAll": "すべて",
3562635625
"xpack.securitySolution.assetInventory.allAssets.fieldsModal.viewLabel": "表示",
3562735626
"xpack.securitySolution.assetInventory.allAssets.fieldsModal.viewSelected": "選択済み",
@@ -35632,7 +35631,6 @@
3563235631
"xpack.securitySolution.assetInventory.allAssets.fieldsModalSearch": "検索フィールド名",
3563335632
"xpack.securitySolution.assetInventory.allAssets.lastSeen": "前回の認識",
3563435633
"xpack.securitySolution.assetInventory.allAssets.name": "名前",
35635-
"xpack.securitySolution.assetInventory.allAssets.risk": "リスク",
3563635634
"xpack.securitySolution.assetInventory.allAssets.search.queryErrorToastMessage": "クエリーエラー",
3563735635
"xpack.securitySolution.assetInventory.allAssets.source": "送信元",
3563835636
"xpack.securitySolution.assetInventory.allAssets.tableRowTypeLabel": "アセット",
@@ -35644,7 +35642,6 @@
3564435642
"xpack.securitySolution.assetInventory.emptyState.illustrationAlt": "0件ヒット",
3564535643
"xpack.securitySolution.assetInventory.emptyState.resetFiltersButton": "フィルターをリセット",
3564635644
"xpack.securitySolution.assetInventory.emptyState.title": "検索条件と一致する結果がありません。",
35647-
"xpack.securitySolution.assetInventory.flyout.moreActionsButton": "さらにアクションを表示",
3564835645
"xpack.securitySolution.assetInventory.searchBar.searchPlaceholder": "KQL構文を使用してデータをフィルタリング",
3564935646
"xpack.securitySolution.assetInventory.technicalPreviewLabel": "テクニカルプレビュー",
3565035647
"xpack.securitySolution.assetInventory.technicalPreviewTooltip": "この機能は実験的であり、サポートされていません。どこかの時点で変更または削除される場合があります。",

x-pack/platform/plugins/private/translations/translations/zh-CN.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35681,7 +35681,6 @@
3568135681
"xpack.securitySolution.assetCriticality.csvUpload.missingCriticalityError": "关键度级别缺失",
3568235682
"xpack.securitySolution.assetCriticality.csvUpload.missingEntityTypeError": "实体类型缺失",
3568335683
"xpack.securitySolution.assetCriticality.csvUpload.missingIdError": "标识符缺失",
35684-
"xpack.securitySolution.assetInventory.allAssets.criticality": "关键度",
3568535684
"xpack.securitySolution.assetInventory.allAssets.fieldsModal.viewAll": "全部",
3568635685
"xpack.securitySolution.assetInventory.allAssets.fieldsModal.viewLabel": "查看",
3568735686
"xpack.securitySolution.assetInventory.allAssets.fieldsModal.viewSelected": "已选定",
@@ -35692,7 +35691,6 @@
3569235691
"xpack.securitySolution.assetInventory.allAssets.fieldsModalSearch": "搜索字段名称",
3569335692
"xpack.securitySolution.assetInventory.allAssets.lastSeen": "最后看到时间",
3569435693
"xpack.securitySolution.assetInventory.allAssets.name": "名称",
35695-
"xpack.securitySolution.assetInventory.allAssets.risk": "风险",
3569635694
"xpack.securitySolution.assetInventory.allAssets.search.queryErrorToastMessage": "查询错误",
3569735695
"xpack.securitySolution.assetInventory.allAssets.source": "源",
3569835696
"xpack.securitySolution.assetInventory.allAssets.tableRowTypeLabel": "资产",
@@ -35705,7 +35703,6 @@
3570535703
"xpack.securitySolution.assetInventory.emptyState.readDocsLink": "阅读文档",
3570635704
"xpack.securitySolution.assetInventory.emptyState.resetFiltersButton": "重置筛选",
3570735705
"xpack.securitySolution.assetInventory.emptyState.title": "没有任何结果匹配您的搜索条件",
35708-
"xpack.securitySolution.assetInventory.flyout.moreActionsButton": "更多操作",
3570935706
"xpack.securitySolution.assetInventory.searchBar.searchPlaceholder": "使用 KQL 语法筛选数据",
3571035707
"xpack.securitySolution.assetInventory.technicalPreviewLabel": "技术预览",
3571135708
"xpack.securitySolution.assetInventory.technicalPreviewTooltip": "此功能为实验性功能,尚不受支持。它可能会随时更改或被移除。",

x-pack/solutions/security/plugins/cloud_security_posture/public/components/cloud_security_data_table/use_styles.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ export const useStyles = () => {
6666
& .unifiedDataTable__inner .euiDataGrid__controls {
6767
border-top: none;
6868
}
69+
& .euiDataGrid__leftControls {
70+
flex-grow: 1;
71+
}
6972
`;
7073

7174
const groupBySelector = css`

x-pack/solutions/security/plugins/security_solution/public/asset_inventory/components/asset_inventory_bar_chart.tsx

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ import { EuiProgress, EuiFlexGroup, EuiLoadingChart } from '@elastic/eui';
99
import { Chart, Settings, Axis, BarSeries, Position, ScaleType } from '@elastic/charts';
1010
import { useElasticChartsTheme } from '@kbn/charts-theme';
1111
import { i18n } from '@kbn/i18n';
12-
import type { AggregationResult } from '../hooks/use_fetch_chart_data';
12+
import { css } from '@emotion/react';
13+
import type { AssetInventoryChartData } from '../hooks/use_fetch_chart_data/types';
14+
import { ASSET_FIELDS } from '../constants';
1315

1416
const chartTitle = i18n.translate(
1517
'xpack.securitySolution.assetInventory.topAssetsBarChart.chartTitle',
@@ -30,18 +32,24 @@ const chartStyles = { height: '260px' };
3032
export interface AssetInventoryBarChartProps {
3133
isLoading: boolean;
3234
isFetching: boolean;
33-
entities: AggregationResult[];
35+
assetInventoryChartData: AssetInventoryChartData[];
3436
}
3537

3638
export const AssetInventoryBarChart = ({
3739
isLoading,
3840
isFetching,
39-
entities,
41+
assetInventoryChartData,
4042
}: AssetInventoryBarChartProps) => {
4143
const baseTheme = useElasticChartsTheme();
4244
return (
4345
<div css={chartStyles}>
44-
<EuiProgress size="xs" color="accent" style={{ opacity: isFetching ? 1 : 0 }} />
46+
<EuiProgress
47+
size="xs"
48+
color="accent"
49+
css={css`
50+
opacity: ${isFetching ? 1 : 0};
51+
`}
52+
/>
4553
{isLoading ? (
4654
<EuiFlexGroup
4755
justifyContent="center"
@@ -71,16 +79,16 @@ export const AssetInventoryBarChart = ({
7179
}}
7280
/>
7381
<BarSeries
74-
id="grouped-categories"
82+
id="grouped-entity-types"
7583
xScaleType={ScaleType.Ordinal}
7684
yScaleType={ScaleType.Linear}
77-
xAccessor="category"
85+
xAccessor={ASSET_FIELDS.ENTITY_TYPE}
7886
yAccessors={['count']}
7987
yNice={true}
80-
splitSeriesAccessors={['source']}
81-
stackAccessors={['category']}
88+
splitSeriesAccessors={[ASSET_FIELDS.ENTITY_SUB_TYPE]}
89+
stackAccessors={[ASSET_FIELDS.ENTITY_TYPE]}
8290
minBarHeight={1}
83-
data={entities}
91+
data={assetInventoryChartData}
8492
/>
8593
</Chart>
8694
)}

x-pack/solutions/security/plugins/security_solution/public/asset_inventory/components/asset_inventory_data_table.tsx

Lines changed: 34 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,12 @@ import {
1818
type CustomCellRenderer,
1919
} from '@kbn/unified-data-table';
2020
import { CellActionsProvider } from '@kbn/cell-actions';
21-
import {
22-
type RowControlColumn,
23-
SHOW_MULTIFIELDS,
24-
SORT_DEFAULT_ORDER_SETTING,
25-
} from '@kbn/discover-utils';
21+
import { SHOW_MULTIFIELDS, SORT_DEFAULT_ORDER_SETTING } from '@kbn/discover-utils';
2622
import { type DataTableRecord } from '@kbn/discover-utils/types';
2723
import {
2824
type EuiDataGridCellValueElementProps,
2925
type EuiDataGridStyle,
3026
EuiProgress,
31-
EuiButtonIcon,
3227
} from '@elastic/eui';
3328
import { type AddFieldFilterHandler } from '@kbn/unified-field-list';
3429
import { generateFilters } from '@kbn/data-plugin/public';
@@ -51,6 +46,7 @@ import { useFetchGridData } from '../hooks/use_fetch_grid_data';
5146
import type { AssetInventoryURLStateResult } from '../hooks/use_asset_inventory_url_state/use_asset_inventory_url_state';
5247

5348
import {
49+
ASSET_FIELDS,
5450
DEFAULT_VISIBLE_ROWS_PER_PAGE,
5551
MAX_ASSETS_TO_LOAD,
5652
ASSET_INVENTORY_TABLE_ID,
@@ -71,42 +67,44 @@ const title = i18n.translate('xpack.securitySolution.assetInventory.allAssets.ta
7167
defaultMessage: 'assets',
7268
});
7369

74-
const moreActionsLabel = i18n.translate(
75-
'xpack.securitySolution.assetInventory.flyout.moreActionsButton',
76-
{
77-
defaultMessage: 'More actions',
78-
}
79-
);
80-
8170
const columnHeaders: Record<string, string> = {
82-
'asset.risk': i18n.translate('xpack.securitySolution.assetInventory.allAssets.risk', {
83-
defaultMessage: 'Risk',
84-
}),
85-
'asset.name': i18n.translate('xpack.securitySolution.assetInventory.allAssets.name', {
86-
defaultMessage: 'Name',
87-
}),
88-
'asset.criticality': i18n.translate(
89-
'xpack.securitySolution.assetInventory.allAssets.criticality',
71+
[ASSET_FIELDS.ENTITY_NAME]: i18n.translate(
72+
'xpack.securitySolution.assetInventory.allAssets.name',
9073
{
91-
defaultMessage: 'Criticality',
74+
defaultMessage: 'Name',
9275
}
9376
),
94-
'asset.source': i18n.translate('xpack.securitySolution.assetInventory.allAssets.source', {
95-
defaultMessage: 'Source',
96-
}),
97-
'@timestamp': i18n.translate('xpack.securitySolution.assetInventory.allAssets.lastSeen', {
98-
defaultMessage: 'Last Seen',
77+
[ASSET_FIELDS.ENTITY_ID]: i18n.translate('xpack.securitySolution.assetInventory.allAssets.id', {
78+
defaultMessage: 'ID',
9979
}),
80+
[ASSET_FIELDS.ENTITY_TYPE]: i18n.translate(
81+
'xpack.securitySolution.assetInventory.allAssets.type',
82+
{
83+
defaultMessage: 'Type',
84+
}
85+
),
86+
[ASSET_FIELDS.ENTITY_SOURCE]: i18n.translate(
87+
'xpack.securitySolution.assetInventory.allAssets.source',
88+
{
89+
defaultMessage: 'Source',
90+
}
91+
),
92+
[ASSET_FIELDS.TIMESTAMP]: i18n.translate(
93+
'xpack.securitySolution.assetInventory.allAssets.lastSeen',
94+
{
95+
defaultMessage: 'Last Seen',
96+
}
97+
),
10098
} as const;
10199

102100
const customCellRenderer = (rows: DataTableRecord[]): CustomCellRenderer => ({
103-
'asset.risk': ({ rowIndex }: EuiDataGridCellValueElementProps) => {
104-
const risk = rows[rowIndex].flattened['asset.risk'] as number;
101+
[ASSET_FIELDS.ENTITY_RISK]: ({ rowIndex }: EuiDataGridCellValueElementProps) => {
102+
const risk = rows[rowIndex].flattened[ASSET_FIELDS.ENTITY_RISK] as number;
105103
return <RiskBadge risk={risk} />;
106104
},
107-
'asset.criticality': ({ rowIndex }: EuiDataGridCellValueElementProps) => {
105+
[ASSET_FIELDS.ASSET_CRITICALITY]: ({ rowIndex }: EuiDataGridCellValueElementProps) => {
108106
const criticality = rows[rowIndex].flattened[
109-
'asset.criticality'
107+
ASSET_FIELDS.ASSET_CRITICALITY
110108
] as CriticalityLevelWithUnassigned;
111109
return <AssetCriticalityBadge criticalityLevel={criticality} />;
112110
},
@@ -118,11 +116,11 @@ interface AssetInventoryDefaultColumn {
118116
}
119117

120118
const defaultColumns: AssetInventoryDefaultColumn[] = [
121-
{ id: 'asset.risk', width: 50 },
122-
{ id: 'asset.name', width: 400 },
123-
{ id: 'asset.criticality' },
124-
{ id: 'asset.source' },
125-
{ id: '@timestamp' },
119+
{ id: ASSET_FIELDS.ENTITY_NAME, width: 400 },
120+
{ id: ASSET_FIELDS.ENTITY_ID },
121+
{ id: ASSET_FIELDS.ENTITY_TYPE },
122+
{ id: ASSET_FIELDS.ENTITY_SOURCE },
123+
{ id: ASSET_FIELDS.TIMESTAMP },
126124
];
127125

128126
export interface AssetInventoryDataTableProps {
@@ -177,7 +175,6 @@ export const AssetInventoryDataTable = ({
177175

178176
const {
179177
data: rowsData,
180-
// error: fetchError,
181178
fetchNextPage: loadMore,
182179
isFetching: isFetchingGridData,
183180
isLoading: isLoadingGridData,
@@ -337,22 +334,6 @@ export const AssetInventoryDataTable = ({
337334
/>
338335
);
339336

340-
const externalControlColumns: RowControlColumn[] = [
341-
{
342-
id: 'more-actions',
343-
headerAriaLabel: moreActionsLabel,
344-
headerCellRender: () => null,
345-
renderControl: () => (
346-
<EuiButtonIcon
347-
aria-label={moreActionsLabel}
348-
iconType="boxesHorizontal"
349-
color="primary"
350-
isLoading={isLoadingGridData}
351-
/>
352-
),
353-
},
354-
];
355-
356337
const loadingState = isLoadingGridData ? DataLoadingState.loading : DataLoadingState.loaded;
357338

358339
return (
@@ -399,7 +380,6 @@ export const AssetInventoryDataTable = ({
399380
showTimeCol={false}
400381
settings={settings}
401382
onFetchMoreRecords={loadMore}
402-
rowAdditionalLeadingControls={externalControlColumns}
403383
externalCustomRenderers={externalCustomRenderers}
404384
externalAdditionalControls={externalAdditionalControls}
405385
gridStyleOverride={gridStyle}

x-pack/solutions/security/plugins/security_solution/public/asset_inventory/components/filters/asset_inventory_filters.tsx

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import { ControlGroupRenderer } from '@kbn/controls-plugin/public';
1515
import { useSpaceId } from '../../../common/hooks/use_space_id';
1616
import { useDataViewContext } from '../../hooks/data_view_context';
1717
import type { AssetsURLQuery } from '../../hooks/use_asset_inventory_url_state/use_asset_inventory_url_state';
18-
import { ASSET_INVENTORY_INDEX_PATTERN } from '../../constants';
18+
import { ASSET_FIELDS, ASSET_INVENTORY_INDEX_PATTERN } from '../../constants';
1919
import { FilterGroupLoading } from './asset_inventory_filters_loading';
2020
import { ASSET_INVENTORY_RULE_TYPE_IDS } from './asset_inventory_rule_type_ids';
2121

@@ -24,25 +24,25 @@ const DEFAULT_ASSET_INVENTORY_FILTERS: FilterControlConfig[] = [
2424
title: i18n.translate('xpack.securitySolution.assetInventory.filters.type', {
2525
defaultMessage: 'Type',
2626
}),
27-
fieldName: 'entity.category',
27+
fieldName: ASSET_FIELDS.ENTITY_TYPE,
2828
},
2929
{
30-
title: i18n.translate('xpack.securitySolution.assetInventory.filters.criticality', {
31-
defaultMessage: 'Criticality',
30+
title: i18n.translate('xpack.securitySolution.assetInventory.filters.name', {
31+
defaultMessage: 'Name',
3232
}),
33-
fieldName: 'asset.criticality',
33+
fieldName: ASSET_FIELDS.ENTITY_NAME,
3434
},
3535
{
36-
title: i18n.translate('xpack.securitySolution.assetInventory.filters.tags', {
37-
defaultMessage: 'Tags',
36+
title: i18n.translate('xpack.securitySolution.assetInventory.filters.id', {
37+
defaultMessage: 'ID',
3838
}),
39-
fieldName: 'asset.tags.name',
39+
fieldName: ASSET_FIELDS.ENTITY_ID,
4040
},
4141
{
42-
title: i18n.translate('xpack.securitySolution.assetInventory.filters.name', {
43-
defaultMessage: 'Name',
42+
title: i18n.translate('xpack.securitySolution.assetInventory.filters.source', {
43+
defaultMessage: 'Source',
4444
}),
45-
fieldName: 'asset.name',
45+
fieldName: ASSET_FIELDS.ENTITY_SOURCE,
4646
},
4747
];
4848

x-pack/solutions/security/plugins/security_solution/public/asset_inventory/components/grouping/translations.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export const assetGroupsUnit = (
3737
values: { groupCount },
3838
defaultMessage: `{groupCount} {groupCount, plural, =1 {cloud account} other {cloud accounts}}`,
3939
});
40-
case ASSET_GROUPING_OPTIONS.SOURCE:
40+
case ASSET_GROUPING_OPTIONS.ENTITY_SOURCE:
4141
return i18n.translate('xpack.securitySolution.assetInventory.groupUnit.source', {
4242
values: { groupCount },
4343
defaultMessage: `{groupCount} {groupCount, plural, =1 {source} other {sources}}`,

x-pack/solutions/security/plugins/security_solution/public/asset_inventory/components/grouping/use_asset_inventory_grouping.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ const defaultGroupingOptions: GroupOption[] = [
5353
},
5454
{
5555
label: GROUPING_LABELS.SOURCE,
56-
key: ASSET_GROUPING_OPTIONS.SOURCE,
56+
key: ASSET_GROUPING_OPTIONS.ENTITY_SOURCE,
5757
},
5858
];
5959

@@ -103,8 +103,8 @@ const getAggregationsByGroupField = (field: string): NamedAggregation[] => {
103103
getTermAggregation('accountName', ASSET_FIELDS.CLOUD_ACCOUNT_NAME),
104104
getTermAggregation('cloudProvider', ASSET_FIELDS.CLOUD_PROVIDER),
105105
];
106-
case ASSET_GROUPING_OPTIONS.SOURCE:
107-
return [...aggMetrics, getTermAggregation('source', ASSET_FIELDS.SOURCE)];
106+
case ASSET_GROUPING_OPTIONS.ENTITY_SOURCE:
107+
return [...aggMetrics, getTermAggregation('source', ASSET_FIELDS.ENTITY_SOURCE)];
108108
}
109109
return aggMetrics;
110110
};

x-pack/solutions/security/plugins/security_solution/public/asset_inventory/components/grouping/utils/asset_inventory_group_renderer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ export const groupPanelRenderer: GroupPanelRenderer<AssetsGroupingAggregation> =
133133
</EuiFlexItem>
134134
</EuiFlexGroup>
135135
);
136-
case ASSET_GROUPING_OPTIONS.SOURCE:
136+
case ASSET_GROUPING_OPTIONS.ENTITY_SOURCE:
137137
return nullGroupMessage ? (
138138
renderNullGroup(NULL_GROUPING_MESSAGES.SOURCE)
139139
) : (

0 commit comments

Comments
 (0)