elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.5k stars 8.05k forks source link

[Fleet] Agent Bulk Reassign bugs #170949

Open criamico opened 8 months ago

criamico commented 8 months ago

Kibana version: Bugs found in 8.11.0 but possibly present on lower versions

Describe the bugs:

  1. The POST /agents/bulk_reassign returns a 200 OK even though the request itself is empty, which makes troubleshooting hard. Consider returning a different response when the request is empty.
  2. The deprecated PUT /agents/bulk_reassign endpoint returns a 200 OK but the agents aren't actually reassigned. The endpoint was marked as deprecated in 8.8.0, but wasn't removed for bwc: https://github.com/elastic/kibana/pull/152236
elasticmachine commented 8 months ago

Pinging @elastic/fleet (Team:Fleet)