fleetdm / fleet

Open-source platform for IT, security, and infrastructure teams. (Linux, macOS, Chrome, Windows, cloud, data center)
https://fleetdm.com
Other
3.15k stars 431 forks source link

Cherry-pick: Add LUKS escrow trigger and orbit config endpoints, persist/retrieve LUKS passphrase #23937

Closed iansltx closed 2 days ago

iansltx commented 3 days ago

Cherry-pick of #23763, covers #23583, #23584

codecov[bot] commented 3 days ago

Codecov Report

Attention: Patch coverage is 73.78277% with 70 lines in your changes missing coverage. Please review.

Please upload report for BASE (rc-minor-fleet-v4.60.0@f66256a). Learn more about missing BASE report.

Files with missing lines Patch % Lines
server/service/orbit.go 67.27% 16 Missing and 2 partials :warning:
server/mdm/mdm.go 59.45% 10 Missing and 5 partials :warning:
server/service/devices.go 12.50% 14 Missing :warning:
ee/server/service/devices.go 83.33% 4 Missing and 2 partials :warning:
server/fleet/utils.go 57.14% 6 Missing :warning:
server/service/hosts.go 85.00% 4 Missing and 2 partials :warning:
...241116233322_AddSlotKeyToHostDiskEncryptionKeys.go 50.00% 4 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## rc-minor-fleet-v4.60.0 #23937 +/- ## ========================================================= Coverage ? 63.17% ========================================================= Files ? 1561 Lines ? 148696 Branches ? 3719 ========================================================= Hits ? 93946 Misses ? 47330 Partials ? 7420 ``` | [Flag](https://app.codecov.io/gh/fleetdm/fleet/pull/23937/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=fleetdm) | Coverage Δ | | |---|---|---| | [backend](https://app.codecov.io/gh/fleetdm/fleet/pull/23937/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=fleetdm) | `64.01% <73.78%> (?)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=fleetdm#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


🚨 Try these New Features:

iansltx commented 3 days ago

Yanking this for DB changes because slot key is an integer.

iansltx commented 2 days ago

Closing this for now; will reopen when #23952 is merged.