mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 08:58:41 +00:00
<!-- 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>
1 line
56 B
Text
1 line
56 B
Text
- Added endpoint for hosts to update certificate status
|