Skip to content

GET /syscollector/{agent_id}/packages Faulty Response Sample #8951

@gKits

Description

@gKits

📌 Request Details

Required Information

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:
Image

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
}

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions