fleet/server/datastore/mysql
Roberto Dip e06b00df11
Add readonly MDM.EnabledAndConfigured to app config and device responses (#9575)
Related to #9571, this adds a new value to both responses which is
calculated when the Fleet server is started, and only set to `true` if
the server is properly configured for MDM.

This helps the UI to determine wether or not we should show certain UI
elements that we only want to show to servers with MDM enabled.
2023-02-01 14:47:52 -03:00
..
migrations Add software_updated_at field to host (#9116) 2023-01-09 08:55:43 -03:00
activities.go add attribute to GET /activities endpoint with pagination metadata (#9279) 2023-01-18 12:57:11 +00:00
activities_test.go add attribute to GET /activities endpoint with pagination metadata (#9279) 2023-01-18 12:57:11 +00:00
aggregated_stats.go Issue 3173 debug status processlist (#4009) 2022-02-03 14:56:22 -03:00
aggregated_stats_test.go Replace uses of ansi quotes (") in SQL statements (#4726) 2022-04-11 11:47:50 -07:00
app_configs.go Keep created_at timestamp of existing enroll secrets (#8062) 2022-10-05 08:35:36 -04:00
app_configs_test.go Keep created_at timestamp of existing enroll secrets (#8062) 2022-10-05 08:35:36 -04:00
apple_mdm.go add mocks + tests and move things around (#9574) 2023-01-31 11:46:01 -03:00
apple_mdm_test.go automatically assign DEP enrolled devices to a team if set via config (#9135) 2023-01-16 17:38:51 -03:00
campaigns.go Issue 3173 debug status processlist (#4009) 2022-02-03 14:56:22 -03:00
campaigns_test.go Improve performance of the Go test suite (#2060) 2021-09-20 14:09:38 -04:00
carves.go add attribute to GET /activities endpoint with pagination metadata (#9279) 2023-01-18 12:57:11 +00:00
carves_test.go Improve performance of the Go test suite (#2060) 2021-09-20 14:09:38 -04:00
config.go Fix double quote usage in sql query (#6707) 2022-07-20 10:10:03 -06:00
cron_stats.go Adjust max age for cron stats entries (#9190) 2023-01-16 10:23:52 -06:00
cron_stats_test.go Adjust max age for cron stats entries (#9190) 2023-01-16 10:23:52 -06:00
delete.go Issue 3173 debug status processlist (#4009) 2022-02-03 14:56:22 -03:00
delete_test.go Ingest pending MDM hosts (#9065) 2022-12-26 15:32:39 -06:00
email_changes.go Create errors with ctxerr, add the call to store them in redis (#2786) 2021-11-15 09:11:38 -05:00
email_changes_test.go Improve performance of the Go test suite (#2060) 2021-09-20 14:09:38 -04:00
errors.go Improved Datastore usage of osquery hosts requests (#3601) 2022-01-17 22:52:09 -03:00
fulltext.go Using '@' in target search causes 422 error response (#5148) 2022-04-19 09:28:49 -04:00
fulltext_test.go Using '@' in target search causes 422 error response (#5148) 2022-04-19 09:28:49 -04:00
hosts.go Move host details mdm properties to new mdm object (#9505) 2023-01-30 16:40:11 -06:00
hosts_test.go Move host details mdm properties to new mdm object (#9505) 2023-01-30 16:40:11 -06:00
invites.go add attribute to GET /activities endpoint with pagination metadata (#9279) 2023-01-18 12:57:11 +00:00
invites_test.go Create errors with ctxerr, add the call to store them in redis (#2786) 2021-11-15 09:11:38 -05:00
jobs.go Queue jobs for Jira integration when enabled and new vulnerabilities are found. (#4975) 2022-04-11 16:42:16 -04:00
labels.go add attribute to GET /activities endpoint with pagination metadata (#9279) 2023-01-18 12:57:11 +00:00
labels_test.go Fix ingestion of MDM server for macOS and Windows hosts (#9133) 2023-01-04 10:29:48 -03:00
locks.go Add holdLock and releaseLock methods to schedule package (#8464) 2022-11-16 15:14:38 -06:00
locks_test.go Enable errcheck linter for golangci-lint (#8899) 2022-12-05 16:50:49 -06:00
migrations_test.go Enable errcheck linter for golangci-lint (#8899) 2022-12-05 16:50:49 -06:00
mysql.go add mocks + tests and move things around (#9574) 2023-01-31 11:46:01 -03:00
mysql_test.go add attribute to GET /activities endpoint with pagination metadata (#9279) 2023-01-18 12:57:11 +00:00
operating_system_vulnerabilities.go Feature 7494: Use the MSRC security bulletin artifacts for detecting Win OS vulnerabilities (#7889) 2022-10-28 11:12:21 -04:00
operating_system_vulnerabilities_test.go Feature 7494: Use the MSRC security bulletin artifacts for detecting Win OS vulnerabilities (#7889) 2022-10-28 11:12:21 -04:00
operating_systems.go Use tx instead of writer within withTx style code to prevent deadlocks (#8554) 2022-11-03 10:57:50 -03:00
operating_systems_test.go Ingest pending MDM hosts (#9065) 2022-12-26 15:32:39 -06:00
packs.go add attribute to GET /activities endpoint with pagination metadata (#9279) 2023-01-18 12:57:11 +00:00
packs_test.go Ingest pending MDM hosts (#9065) 2022-12-26 15:32:39 -06:00
password_reset.go Fix password reset request expiration (#8246) 2022-10-25 09:46:41 -05:00
password_reset_test.go Fix password reset request expiration (#8246) 2022-10-25 09:46:41 -05:00
policies.go Fire automations for hosts that failed before automation enabled (#9028) 2022-12-16 22:00:54 +01:00
policies_test.go Ingest pending MDM hosts (#9065) 2022-12-26 15:32:39 -06:00
queries.go add attribute to GET /activities endpoint with pagination metadata (#9279) 2023-01-18 12:57:11 +00:00
queries_test.go Improve live query UX (#5749) 2022-06-10 13:29:45 -05:00
scep.go add mocks + tests and move things around (#9574) 2023-01-31 11:46:01 -03:00
scep_test.go add mocks + tests and move things around (#9574) 2023-01-31 11:46:01 -03:00
scheduled_queries.go add attribute to GET /activities endpoint with pagination metadata (#9279) 2023-01-18 12:57:11 +00:00
scheduled_queries_test.go Support async saving of scheduled query statistics (#7012) 2022-08-10 10:01:05 -04:00
schema.sql Add readonly MDM.EnabledAndConfigured to app config and device responses (#9575) 2023-02-01 14:47:52 -03:00
sessions.go Add read replica testing helpers and fix non-sso login bug (#4908) 2022-04-04 16:52:05 -07:00
sessions_test.go Add read replica testing helpers and fix non-sso login bug (#4908) 2022-04-04 16:52:05 -07:00
software.go Add software_updated_at field to host (#9116) 2023-01-09 08:55:43 -03:00
software_test.go Enable errcheck linter for golangci-lint (#8899) 2022-12-05 16:50:49 -06:00
statistics.go Enable errcheck linter for golangci-lint (#8899) 2022-12-05 16:50:49 -06:00
statistics_test.go Ingest pending MDM hosts (#9065) 2022-12-26 15:32:39 -06:00
targets.go Update live query selector logic (OR -> AND) (#9559) 2023-01-30 18:35:56 -03:00
targets_test.go Update live query selector logic (OR -> AND) (#9559) 2023-01-30 18:35:56 -03:00
teams.go create and send Nudge configuration to hosts (#9491) 2023-01-25 17:03:40 -03:00
teams_test.go create and send Nudge configuration to hosts (#9491) 2023-01-25 17:03:40 -03:00
testing_utils.go Fix double quote usage in sql query (#6707) 2022-07-20 10:10:03 -06:00
unicode_test.go Remove skipLoadingExtras and includeCVEScores from GetHost and HostByIdentifier methods (#5874) 2022-05-25 11:30:03 -05:00
users.go add attribute to GET /activities endpoint with pagination metadata (#9279) 2023-01-18 12:57:11 +00:00
users_test.go Add AvailableTeams to loginResponse and getUserResponse (#3585) 2022-01-13 13:57:44 -06:00
windows_updates.go Feature 7494: Use the MSRC security bulletin artifacts for detecting Win OS vulnerabilities (#7889) 2022-10-28 11:12:21 -04:00
windows_updates_test.go Feature 7494: Use the MSRC security bulletin artifacts for detecting Win OS vulnerabilities (#7889) 2022-10-28 11:12:21 -04:00