Closed MiguelazoDS closed 1 week ago
This PR adds the necessary changes to prevent disparity between scans by events and scans when the information is queried from Wazuh-DB
The issue is that the information required when populating the event details was not consulted in the wazuh-db query.
vulnerabilities.json
2024/05/08 11:46:18 wazuh-modulesd:vulnerability-scanner[25493] vulnerabilityScannerFacade.cpp:217 at vulnerabilityScannerPolicyChange(): DEBUG: Perform re-scan after reboot
Due to an inconvenience with the Jenkins Job, we ran it locally.
[!NOTE] The failing Cmocka test was run locally (see PR body) The failure was due to lack of resources on the runner
[!NOTE] The failing Cmocka test was run locally (see PR body)
The failure was due to lack of resources on the runner
Description
This PR adds the necessary changes to prevent disparity between scans by events and scans when the information is queried from Wazuh-DB
The issue is that the information required when populating the event details was not consulted in the wazuh-db query.
Logs/Alerts example
Vulnerabilities scan by events
vulnerabilities.json
Vulnerabilities rescan
vulnerabilities.json
Cmocka server UTs
Due to an inconvenience with the Jenkins Job, we ran it locally.