wazuh-dashboard-plugins
wazuh-dashboard-plugins copied to clipboard
Refine UI and Remove wazuh prefix
Description
This PR involves removing unmaintained visualizations and improving the titles and references across the application.
Issues Resolved
https://github.com/wazuh/wazuh-dashboard-plugins/issues/6128
Evidence
About
Logs
Health Check
Deploy New Agent
Endpoint Summary chart remove
Test
- [ ] Check that the Endpoints Summary does not display the evolution chart and ensure that the status and details adjust correctly within the space.
- [ ] Verify that the Wazuh prefix has been organically and appropriately removed where necessary.
Check List
- [ ] All tests pass
- [ ]
yarn test:jest
- [ ]
- [ ] New functionality includes testing.
- [ ] New functionality has been documented.
- [ ] Update CHANGELOG.md
- [ ] Commits are signed per the DCO using --signoff
thought: the usage of generic terms such as server
or API is not clear to me. There are 3 servers in a stack (manager, dashboard and indexer) that have APIs.
Reviewing the source code, I found some references that we could consider to change:
-
PLUGIN_PLATFORM_NAME
constant -
WAZUH_INDEXER_NAME
constant -
Wazuh not ready yet
reference related to server/agent configuration
files:
- plugins/main/public/components/add-modules-data/guides/audit.js
- plugins/main/public/components/add-modules-data/guides/fim.js
- plugins/main/public/controllers/management/components/management/configuration/github/github.tsx
- plugins/main/public/controllers/management/components/management/configuration/google-cloud-pub-sub/google-cloud-pub-sub.js
- plugins/main/public/controllers/management/components/management/configuration/office365/constants.tsx
- plugins/main/public/controllers/management/components/management/configuration/utils/wz-fetch.js
- plugins/main/public/controllers/settings/settings.js
- plugins/main/public/services/check-daemon-status.js
- plugins/main/server/controllers/wazuh-api.ts
- plugins/wazuh-core/common/constants.ts
Test
Wazuh Check Updates plugin code coverage (Jest) test | % | values |
---|---|---|
Statements | 76.44% | ( 172 / 225 ) |
Branches | 58.65% | ( 61 / 104 ) |
Functions | 61.7% | ( 29 / 47 ) |
Lines | 76.44% | ( 172 / 225 ) |
Wazuh Core plugin code coverage (Jest) test | % | values |
---|---|---|
Statements | 28.94% | ( 286 / 988 ) |
Branches | 26.22% | ( 107 / 408 ) |
Functions | 26.87% | ( 86 / 320 ) |
Lines | 28.68% | ( 278 / 969 ) |
Main plugin code coverage (Jest) test | % | values |
---|---|---|
Statements | 12.12% | ( 4210 / 34729 ) |
Branches | 7.8% | ( 1776 / 22760 ) |
Functions | 10.77% | ( 888 / 8244 ) |
Lines | 12.31% | ( 4101 / 33295 ) |