Commit 5af3f9f
committed
fix: Move agent_list from body to query param for active-response API
Wazuh 4.x API expects agents_list as a query parameter on
PUT /active-response, not as a field in the request body.
Sending agent_list in the body caused 400 Bad Request with
"Invalid field found {'agent_list'}".1 parent 7a36d31 commit 5af3f9f
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
271 | 271 | | |
272 | 272 | | |
273 | 273 | | |
274 | | - | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
275 | 280 | | |
276 | 281 | | |
277 | 282 | | |
| |||
0 commit comments