-
Notifications
You must be signed in to change notification settings - Fork 180
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switching to EPIC #2727 and stoping this issue temporary
- Loading branch information
sortiz
committed
Jan 5, 2021
1 parent
2983c59
commit 9ae2fc1
Showing
133 changed files
with
1,197 additions
and
312 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export { WzAgents } from './main'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
import React, { useState, useEffect } from 'react'; | ||
import { useDispatch } from 'react-redux'; | ||
import { | ||
EuiPage, | ||
EuiFlexGroup, | ||
EuiFlexItem, | ||
EuiTabs, | ||
EuiTab, | ||
EuiPanel, | ||
EuiEmptyPrompt, | ||
EuiSpacer, | ||
} from '@elastic/eui'; | ||
import { withReduxProvider, withGlobalBreadcrumb, withUserAuthorizationPrompt } from '../common/hocs'; | ||
import { compose } from 'redux'; | ||
import { WAZUH_ROLE_ADMINISTRATOR_NAME } from '../../../util/constants'; | ||
import { updateSecuritySection } from '../../redux/actions/securityActions'; | ||
import {AgentsPreview} from '../../controllers/agent/components/agents-preview'; | ||
import {AgentsTable} from '../../controllers/agent/components/agents-table'; | ||
|
||
export const WzAgents = compose( | ||
withReduxProvider, | ||
withGlobalBreadcrumb([{ text: '' }, { text: 'Agents' }]), | ||
withUserAuthorizationPrompt(null, [WAZUH_ROLE_ADMINISTRATOR_NAME]) | ||
)(() => { | ||
|
||
return ( | ||
<> | ||
<AgentsPreview></AgentsPreview> | ||
<AgentsTable></AgentsTable> | ||
</> | ||
); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.