fleet/server
Victor Lyuboslavsky 5391b686cf
Fixing hosts/delete input validation due to QA issue. (#14942)
Frontend needs to be able to delete all hosts. However, the API
requirement is that host ids or filters must be specified when deleting
hosts. The solution is to allow an empty filter to delete all hosts,
like: `"filters":{}`

REST API updated documentation here:
https://github.com/fleetdm/fleet/pull/14952

[x] Tests updated and added.
[x] Manual testing done.
2023-11-06 08:06:02 -06:00
..
authz Feat windows msmdm (#14837) 2023-11-01 11:13:12 -03:00
bindata Allow users to be readded if they were ever removed (#1945) 2021-09-07 13:33:40 -03:00
config chore: remove refs to deprecated io/ioutil (#14485) 2023-10-27 15:28:54 -03:00
contexts allow clients to report errors back to the server (#13478) 2023-08-24 13:04:27 -03:00
datastore show full formatted results for windows commands in fleetctl (#14922) 2023-11-03 12:01:43 -03:00
errorstore Enable errcheck linter for golangci-lint (#8899) 2022-12-05 16:50:49 -06:00
fleet Fixing hosts/delete input validation due to QA issue. (#14942) 2023-11-06 08:06:02 -06:00
health Separate health checks for MySQL and Redis (#6468) 2022-07-01 08:08:03 -03:00
launcher Ingest pending MDM hosts (#9065) 2022-12-26 15:32:39 -06:00
live_query Bump go to 1.19.1 (#7690) 2022-09-12 20:32:43 -03:00
logging chore: remove refs to deprecated io/ioutil (#14485) 2023-10-27 15:28:54 -03:00
mail Feat UI windows automatic enrollment (#12988) 2023-08-08 15:57:55 +01:00
mdm Feat windows msmdm (#14837) 2023-11-01 11:13:12 -03:00
mock Feat windows msmdm (#14837) 2023-11-01 11:13:12 -03:00
policies Refactor webhooks cron to new schedule package (#7840) 2022-09-20 14:26:36 -05:00
ptr Add Description text to CVE Metadata (#13856) 2023-09-15 11:24:10 -06:00
pubsub Provide more feedback to the user when there's a Redis connection issue when running live queries (#11947) 2023-06-01 16:11:55 -03:00
service Fixing hosts/delete input validation due to QA issue. (#14942) 2023-11-06 08:06:02 -06:00
sso chore: remove refs to deprecated io/ioutil (#14485) 2023-10-27 15:28:54 -03:00
test Prevent empty logging_type when creating and editing queries (#14575) 2023-10-16 19:33:39 -03:00
vulnerabilities Fixing TestTranslateCPEToCVE (#14931) 2023-11-03 12:58:59 -05:00
webhooks chore: remove refs to deprecated io/ioutil (#14485) 2023-10-27 15:28:54 -03:00
websocket Enable errcheck linter for golangci-lint (#8899) 2022-12-05 16:50:49 -06:00
worker chore: remove refs to deprecated io/ioutil (#14485) 2023-10-27 15:28:54 -03:00
utils_test.go allow padded strings in mdm/apple/enqueue endpoint (#13502) 2023-08-24 15:17:05 -03:00
utils.go chore: remove refs to deprecated io/ioutil (#14485) 2023-10-27 15:28:54 -03:00