fleet/server
Roberto Dip ec33f9e66f
account for possible NULL values in profile description (#12937)
in previous releases we weren't setting the value of description in some
of our `INSERT ON DUPLICATE KEY UPDATE` clauses, which caused some
queries to fail.

we could additionally add a migration to set all NULL values to '' and
make the column non-nullable, but as a first step I'm fixing this at the
application logic level.

related to: https://github.com/fleetdm/fleet/issues/12923

# Checklist for submitter

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

- [x] Added/updated tests
- [x] Manual QA for all new/changed functionality
2023-07-24 16:48:47 -03:00
..
authz Fix bug preventing gitops role from fleetctl applying macos setup assistant (and bootstrap package) (#12193) 2023-06-07 13:29:36 -04:00
bindata Allow users to be readded if they were ever removed (#1945) 2021-09-07 13:33:40 -03:00
config hide microsoft/windows MDM flags in the fleet binary (#12712) 2023-07-13 15:43:39 -03:00
contexts Add mechanism to force read from primary DB, use it for puppet matching (#12396) 2023-06-19 13:55:15 -04:00
datastore account for possible NULL values in profile description (#12937) 2023-07-24 16:48:47 -03:00
errorstore Enable errcheck linter for golangci-lint (#8899) 2022-12-05 16:50:49 -06:00
fleet Windows mdm TOS endpoint (#12900) 2023-07-21 14:36:26 -03: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 fix fleetctl apply with default configuration (#10305) 2023-03-06 10:44:40 -05:00
mail Do not return empty SSO and SMTP settings for non-global-admins (#12180) 2023-06-07 16:06:36 -03:00
mdm Windows mdm TOS endpoint (#12900) 2023-07-21 14:36:26 -03:00
mock optimizations to profile delivery (#12808) 2023-07-20 18:11:45 -03:00
policies Refactor webhooks cron to new schedule package (#7840) 2022-09-20 14:26:36 -05:00
ptr Feature 9834: Add published date to vulnerability object (#10434) 2023-03-28 16:11:31 -04: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 Windows mdm TOS endpoint (#12900) 2023-07-21 14:36:26 -03:00
sso lowercase DisplayName attributes when reading SSO response (#12545) 2023-06-28 12:19:13 -03:00
test New gitops role (#10850) 2023-04-12 16:11:04 -03:00
vulnerabilities Fixed iCloud false positives (#12551) 2023-06-30 13:05:34 -04:00
webhooks Feature 10196: Add filepath to end-points and third party integrations (#11285) 2023-05-17 16:53:15 -04:00
websocket Enable errcheck linter for golangci-lint (#8899) 2022-12-05 16:50:49 -06:00
worker Update ingestion of host detail queries for MDM so hosts that report empty results are counted as "Off" (#12700) 2023-07-19 12:38:42 -05:00
utils_test.go Mask URL params in server logs for webhook POSTs (#12761) 2023-07-13 17:47:34 -05:00
utils.go Mask URL params in server logs for webhook POSTs (#12761) 2023-07-13 17:47:34 -05:00