fleet/changes
Scott Gress e9fc32763c
Add "Update certificate template status" endpoint (#36192)
<!-- Add the related story/sub-task/bug number, like Resolves #123, or
remove if NA -->
**Related issue:** Resolves #35452

# Details

This adds the `PUT /api/fleetd/certificates/:id/status` endpoint that a
host can use to tell the server the status of a certificate
installation. The endpoint uses `node_key` in the body for
authentication, `id` in the URL to specify the certificate template and
`status` to indicate the status (`pending`, `verifying`, `verified` or
`failed`).

# Checklist for submitter

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

- [X] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
See [Changes
files](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/guides/committing-changes.md#changes-files)
for more information.

- [X] Input data is properly validated, `SELECT *` is avoided, SQL
injection is prevented (using placeholders for values in statements)

## Testing

- [X] Added/updated automated tests
- [ ] QA'd all new/changed functionality manually

---------

Co-authored-by: Konstantin Sykulev <konst@sykulev.com>
2025-11-25 12:06:30 -06:00
..
.keep Issue 1009 calculate diff software (#1305) 2021-07-08 13:57:43 -03:00
25787-ui-bugfix Fix UI bug in OS settings modal that caused status tooltip to flicker when refetching host details (#36099) 2025-11-20 18:06:54 -06:00
25896-android-os-updates Add support for Android systemUpdate profile (#35791) 2025-11-20 11:43:28 -06:00
26912-custom-scep-windows Modify Windows replacement code to allow Custom SCEP variables (#34633) 2025-10-22 15:46:48 -03:00
30523-ui-settings-integrations-spacing Adjust UI section headers and layout of Settings > Integrations (#34585) 2025-10-21 15:28:47 -05:00
31082-logi-bolt-false-positive (releases on merge to main) Fix vuln false positives for "Logi Bolt.app" (#33920) 2025-10-27 16:55:30 -07:00
31909-okta-conditional-access Updating UI for Okta config (#35204) 2025-11-18 19:34:59 -06:00
32084-cisco-secure-client 32084 Cisco Secure Client installer fix (#35077) 2025-11-03 15:22:39 -05:00
32110-custom-est-certificate-authorities Update Add, Edit, and Delete Certificate Authority modals to support Custom EST (#35085) 2025-11-04 15:06:07 -08:00
32266-jetbrains-plugin-vulns (releases on merge to main) Detect JetBrains IDE plugin vulnerabilities (#34331) 2025-10-24 12:06:35 -07:00
32499-apple-mdm-host-expiry Update host expiry logic to account for Apple MDM checkin times (#34698) 2025-10-24 13:12:03 -04:00
32635-hide-count-and-versions-when-no-hosts-installed Hide software host count, versions table when no hosts have the software installed (#34484) 2025-10-20 14:46:35 -07:00
32776-better-error-messages-when-using-build-in-labels Better error messages when using built-in labels (#34739) 2025-11-04 12:52:54 -04:00
33074-stale-filevault-profile-after-toggling-apple-mdm Delete FileVault on Apple MDM turn on (#35625) 2025-11-12 16:59:00 -03:00
33132-exclude-any-labels-mobile-devices Fix exclude-any label scoping on non-osquery platforms (#35353) 2025-11-12 10:16:01 -05:00
33164-support-gitops-for-in-house-apps Add gitops support for in house apps (#35423) 2025-11-11 16:38:54 -05:00
33235-vscode-golang-ext-false-positives (releases on merge to main) Fix vuln false positives for vscode golang extension (#33839) 2025-10-27 14:48:29 -07:00
33288-ui-rbac-resend-profiles Restrict UI permissions to resend profiles (#35688) 2025-11-13 12:46:19 -06:00
33393-show-status-conts-on-batch-scr-detail-page-tabs Added missing Batch Scripts tab counts (#34638) 2025-10-24 11:54:47 -04:00
33513-host-deleted-activity Add activity feed entries for host deletion and expiration (#34720) 2025-10-31 09:37:31 -07:00
33640-macos-manual-mdm Update manual MDM enroll flow for macOS to use OTA with SSO (#34650) 2025-11-04 08:24:50 -06:00
33665-custom-os-updates-and-filevault Experimental fleet server config for custom updates & disk encryption settings (#34598) 2025-10-22 13:51:10 -04:00
33733-install-details-modal Fleet UI: Return pre-install query output in Install Details modal (#35754) 2025-11-14 11:35:03 -05:00
33779-custom-software-display-names Fleet UI: Ability to edit software display names (#34872) 2025-11-07 09:59:30 -05:00
33790-setup-software-install-order Update tooltip about setup experience software ordering (#34688) 2025-10-24 09:30:59 -05:00
33907-ingest-upgrade-code Ingest, store, consider in unique_identifier, and serve upgrade_codes for Windows software (#34786) 2025-11-07 15:33:31 -08:00
34042-setup-experience-on-manual-ios Install setup-experience VPP apps on manually-enrolled iOS/iPadOS devices (#35906) 2025-11-19 13:34:10 -06:00
34183-fix-multiple-queries-sharing-label Fix issue where multiple queries can't be saved with the same label (#36121) 2025-11-21 11:59:46 -06:00
34222-manual-IdP-update-ui-delete-activities Manually update & delete host IdP mappings (#35325) 2025-11-13 09:05:40 -08:00
34243-deploy-user-scoped-scep-profiles-for-windows DUSW: Allow user-scoped SCEP profiles on Windows (#35672) 2025-11-14 12:44:14 -03:00
34364-windows-profile-replacements Add support for $FLEET_VAR_HOST_HARDWARE_SERIAL in Windows profiles, $FLEET_VAR_HOST_PLATFORM in Windows/Apple profiles (#35812) 2025-11-24 10:18:47 -06:00
34393-add-google-play-store-apps Fleet UI: Add, view, install Google Play Apps (#35177) 2025-11-14 13:24:41 -05:00
34525-idp-settings-ui Move end user authentication to a tab under Integrations > SSO (#35084) 2025-11-05 14:34:59 -06:00
34530-setup-experience-style-updates Remove previews, add preview links, make copy tweaks to setup experience configuration UI (#34980) 2025-10-30 17:32:06 -05:00
34628-fix-bitwise-operators-for-sql Support bitwise operators in SQL editor (#35583) 2025-11-13 10:39:16 -06:00
34677-software-versions-endpoint Optimize software/versions queries. (#35670) 2025-11-19 14:50:30 -06:00
34685-header-selection-css-fixes Fleet UI: Fix table selection styling (#35295) 2025-11-06 15:31:14 -05:00
34697-batch-script-page-copy Fix batch details page copy gap (#34699) 2025-10-23 10:20:09 -07:00
34716-apple-profile-replacements Add support for $FLEET_VAR_HOST_HARDWARE_SERIAL in Windows profiles, $FLEET_VAR_HOST_PLATFORM in Windows/Apple profiles (#35812) 2025-11-24 10:18:47 -06:00
34724-enable-self-service-for-ipa My device page (self-service) for iOS/iPadOS (#35238) 2025-11-07 17:30:51 -05:00
34768-go-1.25.3 Updating to Go 1.25.3 (#35082) 2025-11-03 09:47:07 -06:00
34780-scep-proxy-retries Expand integration tests for SCEP proxy retries; add missing changes file (#35473) 2025-11-12 15:05:49 -06:00
34801-remove-premium-check-for-os-settings remove premium check for OS settings (#34808) 2025-10-30 10:34:32 +00:00
34827-self-extracting-exe-installers Add InstallAnywhere self extracting archive to metadata extraction (#34874) 2025-11-06 14:25:07 -05:00
34907-failed-profiles-unable-to-filter-by-platform Failed profiles unable to filter by platform (#35628) 2025-11-13 16:16:56 -04:00
34958-fix-apple-profile-resend-race-condition Fix apple profile resend race condition (#35897) 2025-11-21 11:13:36 -03:00
35023-fix-android-profile-download Fix android profile download (#35196) 2025-11-17 11:52:59 -03:00
35043-missing-vuln-counts Atomic vulnerability count calculations (#35317) 2025-11-12 13:09:34 -07:00
35117-android-device-reconciler reduce android device reconciler frequency (#35121) 2025-11-04 14:58:31 -05:00
35307-windows-mdm-manual-turn-on Add config for Windows MDM manual turn on (#35789) 2025-11-18 17:32:13 -05:00
35309-setup-experience-script Remove PUT endpoint, update to always use POST for setup experience scripts (#35818) 2025-11-17 11:29:23 -05:00
35357-team-lite 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
35452-add-update-cert-status-endpoint Add "Update certificate template status" endpoint (#36192) 2025-11-25 12:06:30 -06:00
35460-certificate-templates gitops, basic apis, and table for android certificate templates (#35788) 2025-11-24 15:44:06 -06:00
35541-nonsense-ui-text Replace non-sense placeholder text with actual value (#35544) 2025-11-11 16:38:41 -03:00
35729-custom-est-certificate-edit-bug Fixed invalid props on Custom EST certs edits (#36147) 2025-11-21 18:36:10 -08:00
35763-change-host-counts-default Make host counts optional in "list labels" API (#35831) 2025-11-18 12:17:43 -06:00
36138-reduce-android-api-usage Reduce API Android usage (#36209) 2025-11-25 09:39:06 -03:00
251110-known-mdm-mosyle Add Mosyle to well-known MDM list (#35482) 2025-11-24 15:01:25 -05:00
issue-32009-change-where-mdm_enrollment_activity_happens move where we are creating the mdm enrollment activity into the turn on apple lifecycle (#35685) 2025-11-25 11:19:05 -03:00
issue-33436-resiliant-list-ios-ipad-refecth Fix DB errors when running the apple_mdm_iphone_ipad_refetcher cron job (#35047) 2025-11-05 13:39:41 +00:00
issue-35310-ui-windows-mdm-new add UI for the new windows mdm enrollment options (#35605) 2025-11-21 11:33:39 -05:00
no-more-redis-5 Add changes file for dropping Redis 5 from tests/config (#35477) 2025-11-11 17:00:17 -06:00