Skip to content

Commit

Permalink
Refactor syscheck table (#1941)
Browse files Browse the repository at this point in the history
* Fix missing fields in the Visualizations (#1913)

* Fixed infinite load on Ciscat view (#1916)

* Fixed infinite load on Ciscat-agent view (#1920)

* Normalize the field whodata in the group reporting (#1921)

* Fix registration guide (#1926)

* Fix decoders file (#1929)

* Add new table for windows hotfixes (#1932)

* Remove visualizations legend (#1936)

* XML validator false error for \< (#1895)

* Add validator true to \<

* Add to gitignore wazuh-registry

* Minor Fix

* Revert changes for package.json and gitignore

* Refactor syscheck table

* Set fixed width to table columns

* Expand row to get extra details

* Add search bar & allow search

* Show extra details on row expand

* Remove table description

* Fix table margin

* Remove wazuh-registry
  • Loading branch information
pablotr9 authored and juankaromo committed Dec 13, 2019
1 parent c583c05 commit a521acd
Show file tree
Hide file tree
Showing 4 changed files with 462 additions and 30 deletions.
2 changes: 2 additions & 0 deletions public/components/eui-loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import {
} from '@elastic/eui';

import { BasicTable } from '../directives/wz-table-eui/components/table';
import { SyscheckTable } from '../directives/wz-syscheck-table/components/syscheck-table';
import { Tabs } from '../directives/wz-tabs-eui/components/tabs';

const app = uiModules.get('app/wazuh', ['react']);
Expand All @@ -45,4 +46,5 @@ app
.value('BasicTable', BasicTable)
.value('Tabs', Tabs)
.value('EuiSwitch', EuiSwitch)
.value('SyscheckTable', SyscheckTable)
.value('EuiSpacer', EuiSpacer);
8 changes: 8 additions & 0 deletions public/controllers/agent/agents.js
Original file line number Diff line number Diff line change
Expand Up @@ -842,6 +842,14 @@ export class AgentsController {
this.$scope.agent.agentPlatform = false;
}



this.$scope.syscheckTableProps = {
wzReq: (method, path, body) => this.apiReq.request(method, path, body),
agentId: this.$scope.agent.id
}


await this.$scope.switchTab(this.$scope.tab, true);

const groups = await this.apiReq.request('GET', '/agents/groups', {});
Expand Down
Loading

0 comments on commit a521acd

Please sign in to comment.