Standardize platform
Field in Header and Inventory Messages
#369
Labels
level/task
Task issue
module/inventory
Inventory module
mvp
Minimum Viable Product refinement
type/change
Change performed in a resource or Wazuh Cloud environment
Parent Issue: #241
Description
In system inventory messages, the
platform
field has inconsistent values between the inventory payload and the message header.Example of a stateful system inventory request:
This inconsistency creates confusion and may lead to compatibility issues, particularly with components such as Vulnerability Detector, which rely on these fields.
Expected Behavior
platform
field is consistent across both the header and the inventory payload."Linux"
(current header value)."ubuntu"
(current inventory value).Proposed Solution
platform
field."Linux"
is preferred, update the inventory payload accordingly."ubuntu"
is preferred, update the header field and rename it to avoid breaking compatibility (e.g.,platform_distribution
).The text was updated successfully, but these errors were encountered: