wazuh-dashboard-plugins
wazuh-dashboard-plugins copied to clipboard
Add vulnerability detection card in agent overview
Description
This PR, adds the new vulnerability detection card in the agent overview section. Also, create the necessary components
Closes #7058
Evidence
https://github.com/user-attachments/assets/f67ee37c-f6af-4298-9ec4-a02d837b4111
https://github.com/user-attachments/assets/eb1abfc6-c4d8-43d2-bc79-9303c421280f
https://github.com/user-attachments/assets/41eb180e-3f60-4f4b-8c06-9a7cad8ac6e7
Test
Test
Legend: :black_circle:: none :green_circle:: pass :yellow_circle:: warning :red_circle:: fail :white_circle:: not applicable
UI
Test | Chrome | Firefox | Safari |
---|---|---|---|
Click on Vulnerability KPIs and check if redirects to the dashboard with filters and agent pinned | :black_circle: | :black_circle: | :black_circle: |
Click on the Top Packages table link and check if it redirects to the dashboard with filters and agent pinned | :black_circle: | :black_circle: | :black_circle: |
Click on the Vulnerability detection panel link and check if it redirects to the dashboard with the agent pinned | :black_circle: | :black_circle: | :black_circle: |
Check the entire agent's overview responsive layout | :black_circle: | :black_circle: | :black_circle: |
Change the pinned agent and check if the vulnerability detection panel data change | :black_circle: | :black_circle: | :black_circle: |
Remove vulnerabilities index pattern (Dashboard Management > Index Patterns) and enter in Agent overview. The index pattern must be created | :black_circle: | :black_circle: | :black_circle: |
Remove vulnerabilities index pattern (Dashboard Management > Index Patterns) and enter in Vulnerability detection Dashboard. The index pattern must be created | :black_circle: | :black_circle: | :black_circle: |
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