fleet/orbit/pkg
Victor Lyuboslavsky ebf1650671
device_token endpoint improvements (#15849)
Fixed badly formatted error messages in /api/fleet/orbit/device_token
endpoint and others.
In /api/fleet/orbit/device_token:
- Added token validation -- empty token not allowed
- Replaced 500 error with 409 when token conflicts with another host

#15832 

# Checklist for submitter

If some of the following don't apply, delete the relevant line.

<!-- Note that API documentation changes are now addressed by the
product design team. -->

- [x] Changes file added for user-visible changes in `changes/` or
`orbit/changes/`.
See [Changes
files](https://fleetdm.com/docs/contributing/committing-changes#changes-files)
for more information.
- [x] Added/updated tests
- [x] Manual QA
2023-12-28 14:20:36 -06:00
..
augeas update augeas lense "simplevars.aug" (#12922) 2023-07-25 09:22:41 -07:00
bitlocker Merging Bitlocker feature branch (#14350) 2023-10-06 19:04:33 -03:00
build Add user agent to Orbit HTTP client (#5429) 2022-05-02 11:03:49 -07:00
constant environment variable to disable orbit enroll logs (#13519) 2023-08-25 15:25:07 -06:00
cryptoinfo Add Kolide osquery tables 2023-11-01 20:11:35 -06:00
dataflatten Add Kolide osquery tables 2023-11-01 20:11:35 -06:00
execuser launch Nudge using /usr/bin/open (#10051) 2023-02-23 14:48:40 -03:00
insecure Make creation of http.Client uniform across the codebase (#3097) 2021-11-24 15:56:54 -05:00
logging environment variable to disable orbit enroll logs (#13519) 2023-08-25 15:25:07 -06:00
osquery Allow enrolling fleetd using osquery's instance identifier (#15570) 2023-12-15 15:26:32 -03:00
osservice 8009 fleet desktop icon duplication (#8017) 2022-10-13 10:58:37 -03:00
packaging device_token endpoint improvements (#15849) 2023-12-28 14:20:36 -06:00
platform Orbit to set --database_path when invoking osquery to retrieve system info (#10308) 2023-03-13 18:54:18 -03:00
process Fleetctl to package .app bundles for osquery (and changes for orbit to support them) (#4393) 2022-03-15 16:04:12 -03:00
profiles fall back to read fleetd config using the output of profiles (#13800) 2023-09-07 15:13:32 -03:00
scripts Add fleetctl run-script command (#13622) 2023-09-05 14:14:09 -05:00
table Downgrade osquery-go due to panics in Shutdown and add more logging (#15017) 2023-11-13 18:29:45 -03:00
token Fixing fleetd to NOT make unnecessary duplicate call to orbit/device_token endpoint. (#15543) 2023-12-10 17:00:24 -06:00
update device_token endpoint improvements (#15849) 2023-12-28 14:20:36 -06:00
useraction Update end user migration copy (#14158) 2023-09-27 12:10:25 -04:00
windows Add Kolide osquery tables 2023-11-01 20:11:35 -06:00