No, that problem would only affect OSs that had changed their version to something like 20H2, 21H1, etc.
In this case, we can observe with the os_info information, that the os_release field in the other two Windows agents are different from 2009:
- Windows 10: 2009
- Windows 7: sp1
- Windows Server 2019: 1809
So the only one affected in this case is the
Windows 10 agent, which will not obtain system vulnerabilities (although it will continue to scan the installed packages with the translations found in the
CPE_Helper).
This case has been fixed with the following PR:
#10168And it will be available in the next version of Wazuh (4.3).
According to Windows 7 and Windows Server 2019 agents, there should be no problem detecting system vulnerabilities or package vulnerabilities.
If they are not reporting any vulnerabilities, it may be because the system is up-to-date and contains all the patches that resolve the vulnerabilities for those systems, so the manager has nothing to report.
Even so, to confirm it, I would like you to share the logs related to vulnerability-detector so that I can check the trace of those agents and if there is any problem, help you to fix it.
As I have already seen that you have activated the debug mode (wazuh_modules.debug=2), then the logs should come out with additional debug messages (if not, then restart the manager, and they should already appear).
Once the debug logs appear, simply check that a
full scan has been performed for agents
002 and
004, and share them so that we can help you better (the full scan will be performed once the
ignore_time set in the configuration expires).
You can use the following command to dump all vulnerability detector logs to a 'vuln-detector.log' file: cat /var/ossec/logs/ossec.log | grep vuln >> vuln-detector.log
Finally, I recommend that once you get the necessary debug data, set the debug line to 0 and restart again the manager to avoid disk space problems.
If you have any questions, don't hesitate to ask.
I am looking forward to your response.
Best regards,
Marcel