fleet/server/service
Lucas Manuel Rodriguez 67043f53c9
Changes to set compliance status on Entra on Windows hosts when processing policy results (#41903)
Resolves #41478

- Generic changes file for the whole feature included in a previous PR.
- Tested with new changes in the proxy merged in
5a266bfaca.

## Testing

- [X] Added/updated automated tests
- [X] Where appropriate, [automated tests simulate multiple hosts and
test for host
isolation](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/reference/patterns-backend.md#unit-testing)
(updates to one hosts's records do not affect another)
- [X] QA'd all new/changed functionality manually
2026-03-18 12:57:49 -03:00
..
async slog migration: service layer + subsystem libraries (#40661) 2026-02-26 17:40:46 -06:00
calendar Migrated logging and google calendar files to use slog (#40541) 2026-02-26 12:48:54 -06:00
conditional_access_microsoft_proxy Fixed client-side errors being incorrectly reported as server errors in OTEL telemetry (#40051) 2026-02-19 16:06:00 -06:00
contract Add missing platform_like during orbit enrollment (#32671) 2025-09-05 16:05:19 -03:00
externalsvc
integrationtest Converted old activity module into function. Cleaned up activity types. (#40752) 2026-03-03 01:01:42 -06:00
middleware Android WebApps: endpoint to create one, prevent android app configuration on webApps (#40329) 2026-03-02 15:14:19 -05:00
mock Add missing platform_like during orbit enrollment (#32671) 2025-09-05 16:05:19 -03:00
osquery_utils Add disk_space fleetd table for accurate macOS disk space reporting (#41575) 2026-03-17 12:59:17 -03:00
redis_key_value Make software batch endpoint asynchronous (#22258) 2024-09-20 11:55:47 -03:00
redis_lock Updating golangci-lint to 1.61.0 (#22973) 2024-10-18 12:38:26 -05:00
redis_policy_set Updating golangci-lint to 1.61.0 (#22973) 2024-10-18 12:38:26 -05:00
schedule Fix flaky test: TestTriggerPollPicksUpQueuedRecord (#41155) 2026-03-10 12:55:42 -05:00
testdata Bugfix: properly enqueue compatible setup experience items for arch/omarchy linux (#41778) 2026-03-17 15:04:33 -04:00
activities.go Converted old activity module into function. Cleaned up activity types. (#40752) 2026-03-03 01:01:42 -06:00
activities_test.go Move PostJSONWithTimeout to platform/http package and activity cleanup (#40561) 2026-02-26 17:39:10 -06:00
appconfig.go Validate Apple OS version only for modified platform settings (#41759) 2026-03-17 11:03:53 -05:00
appconfig_test.go Add aliases for more multi-platform setup experience fields (#41599) 2026-03-13 15:17:05 -05:00
apple_mdm.go Rotate recovery lock password (#41833) 2026-03-17 16:28:25 -06:00
apple_mdm_cmd_results.go Ignore version checks for VPP app installs (#40862) 2026-03-03 14:01:57 -05:00
apple_mdm_cmd_results_test.go Rotate recovery lock password (#41833) 2026-03-17 16:28:25 -06:00
apple_mdm_ddm_test.go slog migration: service layer + subsystem libraries (#40661) 2026-02-26 17:40:46 -06:00
apple_mdm_test.go Add recovery lock password status (#41322) 2026-03-17 15:15:04 -06:00
base_client.go Fix data race in ErrorWithUUID.UUID() causing CI test failures (#40961) 2026-03-05 09:17:51 -06:00
base_client_errors.go Fix data race in ErrorWithUUID.UUID() causing CI test failures (#40961) 2026-03-05 09:17:51 -06:00
base_client_errors_test.go Improved orbit debug logs when response contains a large HTML page. (#33195) 2025-09-19 17:00:19 -05:00
base_client_test.go Fix data race in ErrorWithUUID.UUID() causing CI test failures (#40961) 2026-03-05 09:17:51 -06:00
build_tags_test.go
calendar.go Moved common endpointer packages to platform dir. (#37780) 2026-01-06 14:23:07 -06:00
campaigns.go Follow-up changes to observer live query bypass (#41146) 2026-03-11 13:42:33 -03:00
campaigns_test.go Follow-up changes to observer live query bypass (#41146) 2026-03-11 13:42:33 -03:00
carves.go Authenticate carve block endpoint before parsing the "data" field (#39353) 2026-02-05 15:55:03 -03:00
carves_test.go Authenticate carve block endpoint before parsing the "data" field (#39353) 2026-02-05 15:55:03 -03:00
certificate_authorities.go Fixed GitOps failing to delete a certificate authority (#41693) 2026-03-16 15:51:28 -05:00
certificate_authorities_test.go Add backend support for Smallstep CA (#32872) 2025-09-25 10:03:36 -05:00
certificate_templates.go Android certificate crud: validate variable replacement (#36648) 2025-12-05 12:14:14 -06:00
certificate_templates_test.go Move NewActivity to activity bounded context (#39521) 2026-02-25 14:11:03 -06:00
certificates.go slog migration: service layer + subsystem libraries (#40661) 2026-02-26 17:40:46 -06:00
client.go Fixed GitOps failing to delete a certificate authority (#41693) 2026-03-16 15:51:28 -05:00
client_android_certificates.go Update fleetctl client urls and params (#41463) 2026-03-13 08:38:55 -05:00
client_appconfig.go Update fleetctl client urls and params (#41463) 2026-03-13 08:38:55 -05:00
client_carves.go
client_certificate_authorities.go Fixed GitOps failing to delete a certificate authority (#41693) 2026-03-16 15:51:28 -05:00
client_debug.go
client_hosts.go
client_labels.go Update fleetctl client urls and params (#41463) 2026-03-13 08:38:55 -05:00
client_live_query.go Update fleetctl client urls and params (#41463) 2026-03-13 08:38:55 -05:00
client_live_query_test.go Update fleetctl client urls and params (#41463) 2026-03-13 08:38:55 -05:00
client_mdm.go Add aliases for more multi-platform setup experience fields (#41599) 2026-03-13 15:17:05 -05:00
client_mdm_test.go
client_packs.go
client_policies.go Update fleetctl client urls and params (#41463) 2026-03-13 08:38:55 -05:00
client_profiles.go Update fleetctl client urls and params (#41463) 2026-03-13 08:38:55 -05:00
client_queries.go Update fleetctl client urls and params (#41463) 2026-03-13 08:38:55 -05:00
client_scripts.go Update fleetctl client urls and params (#41463) 2026-03-13 08:38:55 -05:00
client_secret_variables.go Add backend APIs for adding, deleting and listing secret variables (#31936) 2025-08-14 19:33:47 -03:00
client_sessions.go Added scim/details endpoint (#28007) 2025-04-10 14:08:45 -05:00
client_setup.go
client_software.go Feat/31914 patch policy (#41518) 2026-03-13 16:47:09 -04:00
client_targets.go
client_teams.go Update fleetctl client urls and params (#41463) 2026-03-13 08:38:55 -05:00
client_test.go gitops changes for team labels (#37801) 2026-01-06 17:47:30 -04:00
client_trigger.go Fix data race in ErrorWithUUID.UUID() causing CI test failures (#40961) 2026-03-05 09:17:51 -06:00
client_users.go
conditional_access_idp.go Only allow FLEET_DEV_* env vars when --dev is passed, allow overriding configs one at a time in dev (#38652) 2026-01-27 14:32:56 -06:00
conditional_access_idp_test.go Okta IdP Apple profile endpoint + fixes (#35526) 2025-11-14 13:49:08 -06:00
conditional_access_microsoft.go slog migration: service layer + subsystem libraries (#40661) 2026-02-26 17:40:46 -06:00
cron_schedules.go Trigger vuln processing when it runs on a separate server (#39612) 2026-02-17 09:18:03 -06:00
cron_schedules_test.go
debug_handler.go Migrate HTTP request logging from go-kit/log to slog (#39729) 2026-02-14 13:04:41 -06:00
debug_handler_test.go Revise auth requirements for debug endpoints (#38173) 2026-01-12 10:37:06 -06:00
device_client.go Fix data race in ErrorWithUUID.UUID() causing CI test failures (#40961) 2026-03-05 09:17:51 -06:00
device_client_test.go Ability to set fleet desktop alternative browser host in org settings (#38409) 2026-01-19 16:25:22 -04:00
devices.go Fixed 500 and 402 on My Device page. (#41748) 2026-03-16 16:09:43 -05:00
devices_endpoint_test.go Add conditional access already bypassed check (#39037) 2026-02-02 10:35:55 -05:00
devices_test.go Update backend error messages (#40364) 2026-02-25 13:54:45 -06:00
devices_url_auth_test.go slog migration: service layer + subsystem libraries (#40661) 2026-02-26 17:40:46 -06:00
endpoint_campaigns.go slog migration: service layer + subsystem libraries (#40661) 2026-02-26 17:40:46 -06:00
endpoint_middleware.go slog migration: service layer + subsystem libraries (#40661) 2026-02-26 17:40:46 -06:00
endpoint_middleware_test.go slog migration: service layer + subsystem libraries (#40661) 2026-02-26 17:40:46 -06:00
endpoint_setup.go slog migration: service layer + subsystem libraries (#40661) 2026-02-26 17:40:46 -06:00
endpoint_setup_test.go slog migration: service layer + subsystem libraries (#40661) 2026-02-26 17:40:46 -06:00
endpoint_utils.go slog migration: service layer + subsystem libraries (#40661) 2026-02-26 17:40:46 -06:00
endpoint_utils_test.go Add CSP to fleet(currently disabled - needs frontend work) (#41395) 2026-03-12 18:06:54 -04:00
frontend.go Add CSP to fleet(currently disabled - needs frontend work) (#41395) 2026-03-12 18:06:54 -04:00
frontend_test.go Add CSP to fleet(currently disabled - needs frontend work) (#41395) 2026-03-12 18:06:54 -04:00
full_test.go
global_policies.go Feat/31914 patch policy (#41518) 2026-03-13 16:47:09 -04:00
global_policies_test.go Move NewActivity to activity bounded context (#39521) 2026-02-25 14:11:03 -06:00
global_schedule.go Add renameto tags to prepare for deprecating team and query API params (#39847) 2026-02-17 10:00:59 -06:00
global_schedule_test.go Move NewActivity to activity bounded context (#39521) 2026-02-25 14:11:03 -06:00
handler.go New API endpoint for host reports (41534) 2026-03-18 11:03:48 -04:00
handler_deprecated_paths.go Deprecate URLs with "team" and "query" terminology (#40520) 2026-02-25 22:20:35 -06:00
handler_test.go slog migration: service layer + subsystem libraries (#40661) 2026-02-26 17:40:46 -06:00
hosts.go New API endpoint for host reports (41534) 2026-03-18 11:03:48 -04:00
hosts_reports_test.go New API endpoint for host reports (41534) 2026-03-18 11:03:48 -04:00
hosts_test.go Set recovery key: add remove state (#41934) 2026-03-18 08:06:53 -06:00
http_auth_test.go Move NewActivity to activity bounded context (#39521) 2026-02-25 14:11:03 -06:00
integration_android_certificate_templates_test.go Modified Android certificate renewal logic to make it easier to test. (#40635) 2026-03-02 16:25:48 -08:00
integration_android_software_test.go Renamed activity tables and moved host activities cleanup to activity bounded context. (#41194) 2026-03-08 21:54:06 -05:00
integration_certificate_authorities_test.go Revert "Added deny list for checking external user submitted urls" 2026-02-24 16:29:08 -06:00
integration_core_test.go New API endpoint for host reports (41534) 2026-03-18 11:03:48 -04:00
integration_desktop_test.go Request body limits (#39080) 2026-02-05 10:29:53 -05:00
integration_ds_only_test.go
integration_enterprise_test.go Changes to set compliance status on Entra on Windows hosts when processing policy results (#41903) 2026-03-18 12:57:49 -03:00
integration_enterprise_vulns_test.go Remove duplicate RHEL kernel in os_version (#39746) 2026-02-12 09:13:24 -07:00
integration_install_test.go Final slog migration PR: test infrastructure + tools + remaining standalone files (#40727) 2026-02-28 05:52:21 -06:00
integration_live_queries_test.go Renamed activity tables and moved host activities cleanup to activity bounded context. (#41194) 2026-03-08 21:54:06 -05:00
integration_logger_test.go Final slog migration PR: test infrastructure + tools + remaining standalone files (#40727) 2026-02-28 05:52:21 -06:00
integration_mdm_commands_test.go only refetch location data if iDevice is locked (#39241) 2026-02-04 09:23:44 -05:00
integration_mdm_ddm_test.go Final slog migration PR: test infrastructure + tools + remaining standalone files (#40727) 2026-02-28 05:52:21 -06:00
integration_mdm_dep_test.go remove mysql DumpTable in test (#40876) 2026-03-04 14:39:02 -05:00
integration_mdm_lifecycle_test.go don't short circuit scep renewal if awaiting configuration (#41523) 2026-03-16 10:37:06 -05:00
integration_mdm_profiles_test.go Update DEP enrollment flow to apply minimum macOS version check when specified (#40720) 2026-03-12 16:54:46 -05:00
integration_mdm_release_worker_test.go Wait for expected profiles to be sent before releasing device (#31381) 2025-07-31 17:50:57 +02:00
integration_mdm_setup_experience_test.go Bugfix: properly enqueue compatible setup experience items for arch/omarchy linux (#41778) 2026-03-17 15:04:33 -04:00
integration_mdm_test.go Recovery lock password activities (#41529) 2026-03-17 08:48:23 -06:00
integration_smtp_test.go Final slog migration PR: test infrastructure + tools + remaining standalone files (#40727) 2026-02-28 05:52:21 -06:00
integration_software_titles_test.go retry software installer download and upload during gitops (#40643) 2026-02-27 14:05:15 -05:00
integration_sso_test.go Final slog migration PR: test infrastructure + tools + remaining standalone files (#40727) 2026-02-28 05:52:21 -06:00
integration_vpp_install_test.go Update fleetctl client urls and params (#41463) 2026-03-13 08:38:55 -05:00
invites.go Migrate from aws-sdk-go v1 to v2 (#30308) 2025-06-30 17:45:39 -03:00
invites_test.go Allow opting in users to email verification on login (#24273) 2024-12-05 08:37:10 -06:00
jitter.go Updating golangci-lint to 1.61.0 (#22973) 2024-10-18 12:38:26 -05:00
jitter_test.go Update to Go 1.24.1 (#27506) 2025-03-31 11:14:09 -05:00
labels.go Label validation not catching invalid platform (#39964) 2026-02-17 14:04:07 -04:00
labels_test.go Fix data race in ErrorWithUUID.UUID() causing CI test failures (#40961) 2026-03-05 09:17:51 -06:00
labels_util.go Address backend review feedback from #37208 (#37742) 2025-12-30 08:48:55 -03:00
linux_mdm.go Implement BitLocker "action required" status (#31451) 2025-08-05 11:23:27 -05:00
linux_mdm_test.go Update GET /hosts/:id/encryption_key to return archived key when current key is unavailable (#30396) 2025-07-02 14:57:25 -05:00
live_queries.go Migrated to slog method signatures in service files (#40468) 2026-02-26 07:16:44 -06:00
mail_test.go Allow opting in users to email verification on login (#24273) 2024-12-05 08:37:10 -06:00
maintained_apps.go Fix addFleetMaintainedAppEndpoint to accept fleet_id param (#41805) 2026-03-17 09:59:03 -05:00
maintained_apps_test.go Fix addFleetMaintainedAppEndpoint to accept fleet_id param (#41805) 2026-03-17 09:59:03 -05:00
mdm.go Add aliases for more multi-platform setup experience fields (#41599) 2026-03-13 15:17:05 -05:00
mdm_profiles.go ARCW: Add Renewal ID verification and support in windows profiles (#37179) 2025-12-12 13:14:59 -04:00
mdm_profiles_test.go ARCW: Add Renewal ID verification and support in windows profiles (#37179) 2025-12-12 13:14:59 -04:00
mdm_scep.go Final slog migration PR: test infrastructure + tools + remaining standalone files (#40727) 2026-02-28 05:52:21 -06:00
mdm_test.go Recovery password: restrict manual mdm commands (#41427) 2026-03-11 09:41:56 -06:00
mem_failing_policies_set_test.go
metrics.go
metrics_appconfig.go
metrics_change_email.go
metrics_invites.go
metrics_labels.go API + auth + UI changes for team labels (#37208) 2025-12-29 21:28:45 -06:00
metrics_sessions.go extend the expiration date for the auth token cookie (#41261) 2026-03-10 17:15:09 +00:00
metrics_users.go
microsoft_mdm.go Added support for NDES CA for Windows hosts (#41356) 2026-03-12 15:36:44 -05:00
microsoft_mdm_test.go improve windows resending (#40365) 2026-02-24 09:10:07 -05:00
orbit.go Add aliases for more multi-platform setup experience fields (#41599) 2026-03-13 15:17:05 -05:00
orbit_client.go Fix data race in ErrorWithUUID.UUID() causing CI test failures (#40961) 2026-03-05 09:17:51 -06:00
orbit_client_test.go
orbit_test.go Policy automation replica lag (#40906) 2026-03-03 17:44:49 -06:00
osquery.go Changes to set compliance status on Entra on Windows hosts when processing policy results (#41903) 2026-03-18 12:57:49 -03:00
osquery_test.go Add disk_space fleetd table for accurate macOS disk space reporting (#41575) 2026-03-17 12:59:17 -03:00
packs.go Add renameto tags to prepare for deprecating team and query API params (#39847) 2026-02-17 10:00:59 -06:00
packs_test.go Move NewActivity to activity bounded context (#39521) 2026-02-25 14:11:03 -06:00
queries.go Added license checks when targeting queries by label (33045) (#41255) 2026-03-09 16:54:53 -04:00
queries_test.go Added license checks when targeting queries by label (33045) (#41255) 2026-03-09 16:54:53 -04:00
scheduled_queries.go Add renameto tags to prepare for deprecating team and query API params (#39847) 2026-02-17 10:00:59 -06:00
scheduled_queries_test.go
scim.go Added scim/details endpoint (#28007) 2025-04-10 14:08:45 -05:00
scripts.go Update backend error messages (#40364) 2026-02-25 13:54:45 -06:00
scripts_encoding.go Fix FMAs on Render (#37557) 2025-12-23 13:01:32 -05:00
scripts_encoding_test.go Fix FMAs on Render (#37557) 2025-12-23 13:01:32 -05:00
scripts_test.go Move NewActivity to activity bounded context (#39521) 2026-02-25 14:11:03 -06:00
secret_variables.go Prevent IT admins from deleting a secret variable in use (#32161) 2025-08-22 11:22:37 -03:00
secret_variables_test.go Add backend APIs for adding, deleting and listing secret variables (#31936) 2025-08-14 19:33:47 -03:00
service.go Renamed activity tables and moved host activities cleanup to activity bounded context. (#41194) 2026-03-08 21:54:06 -05:00
service_appconfig.go Add support for publishing logs to NATS. (#36527) 2026-01-06 09:10:32 -03:00
service_appconfig_test.go Move NewActivity to activity bounded context (#39521) 2026-02-25 14:11:03 -06:00
service_campaign_test.go slog migration: service layer + subsystem libraries (#40661) 2026-02-26 17:40:46 -06:00
service_campaigns.go slog migration: service layer + subsystem libraries (#40661) 2026-02-26 17:40:46 -06:00
service_errors.go Fixed client-side errors being incorrectly reported as server errors in OTEL telemetry (#40051) 2026-02-19 16:06:00 -06:00
service_users.go Refactor endpoint_utils for modularization (#36484) 2025-12-31 09:12:00 -06:00
sessions.go extend the expiration date for the auth token cookie (#41261) 2026-03-10 17:15:09 +00:00
sessions_test.go Enable JIT provisioning for Technician role (#41286) 2026-03-10 10:15:01 -03:00
setup_experience.go Deprecate "team" and "query" API params (#39873) 2026-02-19 13:53:32 -06:00
setup_experience_test.go Use lighter Team call when it's obviously safe to do so, comment potential areas for further improvement (#35587) 2025-11-17 17:25:45 -06:00
software.go Update backend error messages (#40364) 2026-02-25 13:54:45 -06:00
software_installers.go Deprecate "team" and "query" API params (#39873) 2026-02-19 13:53:32 -06:00
software_installers_test.go Fix data race in TestSoftwareInstallerUploadRetries (#40784) 2026-03-02 10:04:59 -06:00
software_test.go
software_title_icons.go Update fleetctl client urls and params (#41463) 2026-03-13 08:38:55 -05:00
software_title_icons_test.go Move NewActivity to activity bounded context (#39521) 2026-02-25 14:11:03 -06:00
software_titles.go Feat/31914 patch policy (#41518) 2026-03-13 16:47:09 -04:00
software_titles_test.go Add experimental software title name update endpoint for titles with a bundle ID (#26938) 2025-03-07 11:36:17 -06:00
status.go service.errorer to fleet.Errorer (#26362) 2025-02-14 16:19:34 -06:00
targets.go Follow-up changes to observer live query bypass (#41146) 2026-03-11 13:42:33 -03:00
targets_test.go
team_policies.go Feat/31914 patch policy (#41518) 2026-03-13 16:47:09 -04:00
team_policies_test.go Feat/31914 patch policy (#41518) 2026-03-13 16:47:09 -04:00
team_schedule.go Add renameto tags to prepare for deprecating team and query API params (#39847) 2026-02-17 10:00:59 -06:00
team_schedule_test.go Move NewActivity to activity bounded context (#39521) 2026-02-25 14:11:03 -06:00
teams.go Add renameto tags to prepare for deprecating team and query API params (#39847) 2026-02-17 10:00:59 -06:00
teams_test.go Move NewActivity to activity bounded context (#39521) 2026-02-25 14:11:03 -06:00
testing_client.go Converted old activity module into function. Cleaned up activity types. (#40752) 2026-03-03 01:01:42 -06:00
testing_utils.go Recovery lock password activities (#41529) 2026-03-17 08:48:23 -06:00
translator.go Moved common endpointer packages to platform dir. (#37780) 2026-01-06 14:23:07 -06:00
transport.go Add aliases for more multi-platform setup experience fields (#41599) 2026-03-13 15:17:05 -05:00
transport_error.go Improved OpenTelemetry error handling (#38757) 2026-01-26 17:07:32 -06:00
transport_setup.go
transport_test.go Add aliases for more multi-platform setup experience fields (#41599) 2026-03-13 15:17:05 -05:00
trigger.go service.errorer to fleet.Errorer (#26362) 2025-02-14 16:19:34 -06:00
user_roles.go service.errorer to fleet.Errorer (#26362) 2025-02-14 16:19:34 -06:00
users.go Migrated to slog method signatures in service files (#40468) 2026-02-26 07:16:44 -06:00
users_test.go Fix data race in ErrorWithUUID.UUID() causing CI test failures (#40961) 2026-03-05 09:17:51 -06:00
validation_setup.go Full-stack: Make "Server url" validation conditions consistent across Fleet, update Web Address form validation and submission logic per Fleet best practices (frontend/docs/patterns.md) (#27455) 2025-03-27 13:56:38 -07:00
vpp.go Android WebApps: endpoint to create one, prevent android app configuration on webApps (#40329) 2026-03-02 15:14:19 -05:00
vpp_test.go Converted old activity module into function. Cleaned up activity types. (#40752) 2026-03-03 01:01:42 -06:00
vulnerabilities.go Update backend error messages (#40364) 2026-02-25 13:54:45 -06:00
vulnerabilities_test.go
windows_mdm_profiles.go Added support for NDES CA for Windows hosts (#41356) 2026-03-12 15:36:44 -05:00
windows_mdm_profiles_test.go Added support for NDES CA for Windows hosts (#41356) 2026-03-12 15:36:44 -05:00