diff --git a/CHANGELOG.md b/CHANGELOG.md index 6260b7d9f5..38b9e7fa9e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,11 +11,11 @@ All notable changes to the Wazuh app project will be documented in this file. ### Changed -- Removed embedded discover [#6120](https://github.com/wazuh/wazuh-dashboard-plugins/pull/6120) [#6235](https://github.com/wazuh/wazuh-dashboard-plugins/pull/6235) [#6254](https://github.com/wazuh/wazuh-dashboard-plugins/pull/6254) [#6286](https://github.com/wazuh/wazuh-dashboard-plugins/pull/6286) +- Removed embedded discover [#6120](https://github.com/wazuh/wazuh-dashboard-plugins/pull/6120) [#6235](https://github.com/wazuh/wazuh-dashboard-plugins/pull/6235) [#6254](https://github.com/wazuh/wazuh-dashboard-plugins/pull/6254) [#6285](https://github.com/wazuh/wazuh-dashboard-plugins/pull/6285) [#6286](https://github.com/wazuh/wazuh-dashboard-plugins/pull/6286) - Develop logic of a new index for the fim module [#6227](https://github.com/wazuh/wazuh-dashboard-plugins/pull/6227) - Allow editing groups for an agent from Endpoints Summary [#6250](https://github.com/wazuh/wazuh-dashboard-plugins/pull/6250) -# Fixed +### Fixed - Fixed the scripted fields disappear when the fields of the events index pattern was refreshed [#6237](https://github.com/wazuh/wazuh-dashboard-plugins/pull/6237) diff --git a/plugins/main/public/components/agents/sca/events/configuration-assessment-columns.tsx b/plugins/main/public/components/agents/sca/events/configuration-assessment-columns.tsx new file mode 100644 index 0000000000..8ab1b52777 --- /dev/null +++ b/plugins/main/public/components/agents/sca/events/configuration-assessment-columns.tsx @@ -0,0 +1,16 @@ +import { tDataGridColumn } from '../../../common/data-grid'; + +export const configurationAssessmentColumns: tDataGridColumn[] = [ + { + id: 'data.sca.check.title', + }, + { + id: 'data.sca.check.file', + }, + { + id: 'data.sca.check.result', + }, + { + id: 'data.sca.policy', + }, +]; diff --git a/plugins/main/public/components/common/modules/modules-defaults.js b/plugins/main/public/components/common/modules/modules-defaults.js index 79a5aaa082..3190f1e13b 100644 --- a/plugins/main/public/components/common/modules/modules-defaults.js +++ b/plugins/main/public/components/common/modules/modules-defaults.js @@ -27,6 +27,7 @@ import { DashboardFim } from '../../overview/fim/dashboard/dashboard'; import { InventoryFim } from '../../overview/fim/inventory/inventory'; import React from 'react'; import { dockerColumns } from '../../overview/docker/events/docker-columns'; +import { configurationAssessmentColumns } from '../../agents/sca/events/configuration-assessment-columns'; const DashboardTab = { id: 'dashboard', @@ -129,7 +130,7 @@ export const ModulesDefaults = { buttons: [ButtonModuleExploreAgent], component: MainSca, }, - EventsTab, + renderDiscoverTab(DEFAULT_INDEX_PATTERN, configurationAssessmentColumns), ], buttons: ['settings'], availableFor: ['manager', 'agent'],