wazuh-dashboard-plugins
wazuh-dashboard-plugins copied to clipboard
Add frontend http client
Description
This pull request adds a http
client to the wazuh-core
plugin and expose it to manage the API requests that is a composition of old services:
- WzRequest
- GenericRequest
- ApiCheck
- WzAuthentication
Moreover,
- Components
- TableData (generic table component based on a implementation of
wazuh
plugin) - ServerTable (based on TableWzAPI of
wazuh
plugin)
- TableData (generic table component based on a implementation of
- Hooks
- useStateStorage: uses the localStorage and sessionStorage to persist the runtime data
Issues Resolved
#6959
Evidence
Test
Check List
- [ ] All tests pass
- [ ]
yarn test:jest
- [ ]
- [ ] New functionality includes testing.
- [ ] New functionality has been documented.
- [ ] Update CHANGELOG.md
- [x] Commits are signed per the DCO using --signoff