fleet/cmd
Lucas Manuel Rodriguez a86da9f74b
Fix enroll request retry in osquery-perf (#18227)
This was discovered by @xpkoala while performing a load test for the
calendar backoff feature.

Some enroll requests were failing due to enrolling hosts too fast (`-var
loadtest_containers` from `0` to `40` at once), and osquery-perf had a
bug in the enroll request where the `bytes.Buffer` was being incorrectly
reused thus sending an empty body on the enroll retries, getting 400s
from Fleet due to `Expected JSON Body`:
```
2024/04/11 18:57:49 request failed: 400
```
2024-04-16 08:39:34 -03:00
..
cpe Updating CPE generator to use new NVD API. (#15018) 2023-11-20 16:10:00 -06:00
cve Optimize cve/generate to use last release (#18269) 2024-04-15 13:17:28 -06:00
fleet vulnerabilities.current_instance_checks=no is now an alias for vulnerabilities.disable_schedule=true (#18184) 2024-04-15 12:10:52 -05:00
fleetctl Implement NVD Feed with Vulncheck Data (#18168) 2024-04-15 09:44:44 -06:00
macoffice Feature 9386: Parse the Mac Office release notes for vulnerability processing (#9993) 2023-02-24 14:18:25 -04:00
msrc Switching from FixedBuild to FixedBuilds (part 3 of 3). (#16478) 2024-01-30 15:00:22 -06:00
osquery-perf Fix enroll request retry in osquery-perf (#18227) 2024-04-16 08:39:34 -03:00