Open fcaffieri opened 1 week ago
Once more, we need to use a fixed feed or something that makes our tests agnostic of changes in the intelligence-data
We changed the feed update to use the one in the package itself, and avoid these problems a bit more. However, until we have a nightly to be able to control the changes in intelligence data faster, it is better to use a dummy feed that we have controlled, to avoid this kind of issues every time there is a change.
Description
During the tests performed at https://github.com/wazuh/wazuh/issues/26165, the test test_vulnerability_detector_scans_cases[upgrade_package_maintain_add_vulnerability] failed. In this test it could be seen:
Test error:
In missing_mitigated_alerts:
It must be analyzed and differentiated if this is really a product failure or a test failure.
Environment
Vulnerability detector E2E tests the environment
Steps to reproduce
Example:
Current result
"CVE-2024-27983" in agent2 is present as unprocessed data (missing alerts, missing vulnerabilities, missing mitigated alerts)
Expected result
No errors are expected