Skip to content

Commit

Permalink
Replace discover file integrity monitoring (#6287)
Browse files Browse the repository at this point in the history
* Replace discover

* Add changelog

* Update CHANGELOG.md

---------

Co-authored-by: Maximiliano Ibarra <[email protected]>
Co-authored-by: Federico Rodriguez <[email protected]>
  • Loading branch information
3 people authored Jan 10, 2024
1 parent 0283b04 commit 5382600
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ 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) [#6285](https://github.com/wazuh/wazuh-dashboard-plugins/pull/6285)
- 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) [#6287](https://github.com/wazuh/wazuh-dashboard-plugins/pull/6287)
- 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)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import { threatHuntingColumns } from '../wazuh-discover/config/data-grid-columns
import { DashboardFim } from '../../overview/fim/dashboard/dashboard';
import { InventoryFim } from '../../overview/fim/inventory/inventory';
import React from 'react';
import { fileIntegrityMonitoringColumns } from '../../overview/fim/events/file-integrity-monitoring-columns';
import { configurationAssessmentColumns } from '../../agents/sca/events/configuration-assessment-columns';

const DashboardTab = {
Expand Down Expand Up @@ -90,7 +91,7 @@ export const ModulesDefaults = {
buttons: [ButtonModuleExploreAgent],
component: InventoryFim,
},
EventsTab,
renderDiscoverTab(DEFAULT_INDEX_PATTERN, fileIntegrityMonitoringColumns),
],
availableFor: ['manager', 'agent'],
},
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import { tDataGridColumn } from '../../../common/data-grid';

export const fileIntegrityMonitoringColumns: tDataGridColumn[] = [
{
id: 'agent.name',
},
{
id: 'syscheck.path',
},
{
id: 'syscheck.event',
},
{
id: 'rule.description',
},
{
id: 'rule.level',
},
{
id: 'rule.id',
},
];

0 comments on commit 5382600

Please sign in to comment.