You are completely correct in your observation. The condition field (e.g., "Package less than...") is missing from the Vulnerability Inventory (State) API in version 4.10.1.
In Wazuh 4.8.0, we released a major refactor of the Vulnerability Detection module (VD 2.0). During this migration to the new state indices, the condition field was temporarily not mapped to the inventory documents. This is why you cannot see it in your current 4.10.1 setup.
This field was restored in Wazuh 4.12.0.
GitHub Issue:
Vulnerability states do not have the package condition information #26496Since the latest version is 4.14, upgrading your environment to 4.12.0 or higher will restore this field to your inventory API responses.
I recommend upgrading to get the latest changes and fixes. Let me know if you need help with the upgrade process!