-
Notifications
You must be signed in to change notification settings - Fork 384
Open
wazuh/wazuh
#32441Labels
Description
📌 Request Details
Required Information
- Target version: 4.13 (current)
- Request type
- Product update
- Fixes or corrections
- Improvement
- Other:
- Affected Documentation
- Documentation section(s):
GET /syscollector/{agent_id}/packages
- Specific page URLs: https://documentation.wazuh.com/current/user-manual/api/reference.html#tag/Syscollector/operation/api.controllers.syscollector_controller.get_packages_info
- Documentation section(s):
Description
The response sample of the GET /syscollector/{agent_id}/packages
endpoint seems to be wrong and differs from the common scheme that is usually used.
Currently the response sample documented looks like this:
But after testing the endpoint on a running instance of Wazuh I was able to identify that the documentation is wrong.
{
"data": {
"affected_items": [<redacted>],
"total_affected_items": 1,
"total_failed_items": 0,
"failed_items": []
},
"message": "All specified syscollector information was returned",
"error": 0
}