Can you please let me know if there are any architectural differences between the two environments?
Also, after running the _delete_by_query request, does the response show that vulnerability documents for the agent are actually being deleted?
Sharing that output, along with any relevant ossec.log entries after the agent rescan, and also from the manager side
Hi Vuk,
Yes, you are correct. If the vulnerability has been fixed and the installed package version is no longer affected, it should not continue to be reported as vulnerable.
To explain how Wazuh vulnerability detection works: the agent collects package information from the endpoint using Syscollector. Wazuh then compares that information against the Wazuh CTI database, which contains vulnerability data from operating system vendors and public vulnerability databases. When Wazuh finds that an installed package version matches a known CVE, it reports the vulnerability.
Based on that, if the package has been updated to a non-vulnerable version, the vulnerability should no longer be detected.
I am checking this with the team. Please allow me some time.
In the meantime, could you run the following API query and share the output? Please replace <agent_id> with the affected agent ID:
GET /syscollector/<agent_id>/packages?search=You can also use it to filter and verify the affected Linux package.
It would also be helpful if you could share the operating system information reported by the agent. For example:
cat /etc/os-release uThis will help me reproduce the environment and verify what is happening.
Additionally, could you share the JSON view of the affected package from the inventory? You can open the package entry in the dashboard and switch to the JSON view, then share the content with us.