Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace discover Github #6291

Merged
merged 7 commits into from
Feb 19, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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) [#6291](https://github.com/wazuh/wazuh-dashboard-plugins/pull/6291)
- 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 @@ -27,6 +27,7 @@ import { DashboardFim } from '../../overview/fim/dashboard/dashboard';
import { InventoryFim } from '../../overview/fim/inventory/inventory';
import React from 'react';
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 @@ -163,7 +164,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',
},
];
Loading