External DocumentationTo learn more, visit the Wazuh Server documentation.
Basic Parameters
| Parameter | Description |
|---|---|
| Agent ID | The agent ID. |
| Distinct | Select to look for distinct values. |
| Fields | A comma-separated list, without any whitespace before or after the commas, of fields to return. Note: Use ’.’ for nested fields, for example: field1 , field2.nestedField1, field3 |
| Limit | Maximum number of elements to return. |
| Name | Filter by policy name. |
| Offset | The offset of the first element to return. |
| Pretty | Select to show results in human-readable format. |
| Query | A query to filter the results by. For example: status=active |
| Return All Pages | Automatically fetch all resources, page by page. |
| Search Text | A string used to filter elements containing the specified text. Note: To obtain a complementary search, use - at the beginning. |
| Sort | A comma-separated list, without any whitespace before or after the commas, of fields to sort by. Use +/- at the beginning to list in ascending or descending order. Use . for nested fields. |
| Wait For Complete | Select to disable timeout response. |
Advanced Parameters
| Parameter | Description |
|---|---|
| Description | Filter by policy description. |
| References | Filter by references. |