Skip to content

Commit

Permalink
Replace discover Github (#6291)
Browse files Browse the repository at this point in the history
* Replace discover

* Add changelog

---------

Co-authored-by: Julio César Biset <[email protected]>
  • Loading branch information
yenienserrano and jbiset authored Feb 19, 2024
1 parent 8513a23 commit 85f4451
Show file tree
Hide file tree
Showing 3 changed files with 28 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) [#6288](https://github.com/wazuh/wazuh-dashboard-plugins/pull/6288) [#6290](https://github.com/wazuh/wazuh-dashboard-plugins/pull/6290) [#6289](https://github.com/wazuh/wazuh-dashboard-plugins/pull/6289) [#6275](https://github.com/wazuh/wazuh-dashboard-plugins/pull/6275) [#6287](https://github.com/wazuh/wazuh-dashboard-plugins/pull/6287)
- 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) [#6288](https://github.com/wazuh/wazuh-dashboard-plugins/pull/6288) [#6290](https://github.com/wazuh/wazuh-dashboard-plugins/pull/6290) [#6289](https://github.com/wazuh/wazuh-dashboard-plugins/pull/6289) [#6291](https://github.com/wazuh/wazuh-dashboard-plugins/pull/6291) [#6275](https://github.com/wazuh/wazuh-dashboard-plugins/pull/6275) [#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 @@ -32,6 +32,7 @@ import { amazonWebServicesColumns } from '../../overview/amazon-web-services/eve
import { office365Columns } from '../../overview/office-panel/events/office-365-columns';
import { fileIntegrityMonitoringColumns } from '../../overview/fim/events/file-integrity-monitoring-columns';
import { configurationAssessmentColumns } from '../../agents/sca/events/configuration-assessment-columns';
import { githubColumns } from '../../overview/github-panel/events/github-columns';

const DashboardTab = {
id: 'dashboard',
Expand Down Expand Up @@ -182,7 +183,7 @@ export const ModulesDefaults = {
buttons: [ButtonModuleExploreAgent],
component: GitHubPanel,
},
EventsTab,
renderDiscoverTab(DEFAULT_INDEX_PATTERN, githubColumns),
],
availableFor: ['manager', 'agent'],
},
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import { tDataGridColumn } from '../../../common/data-grid';

export const githubColumns: tDataGridColumn[] = [
{
id: 'agent.id',
},
{
id: 'data.github.repo',
},
{
id: 'data.github.actor',
},
{
id: 'data.github.org',
},
{
id: 'rule.description',
},
{
id: 'rule.level',
},
{
id: 'rule.id',
},
];

0 comments on commit 85f4451

Please sign in to comment.