Add clear passcode action for iOS/iPadOS devices - #41539
Closed
kc9wwh wants to merge 10 commits into
Closed
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #41539 +/- ##
==========================================
+ Coverage 66.41% 66.42% +0.01%
==========================================
Files 2504 2505 +1
Lines 200412 200558 +146
Branches 9047 9022 -25
==========================================
+ Hits 133099 133224 +125
- Misses 55280 55300 +20
- Partials 12033 12034 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
kc9wwh
force-pushed
the
27646-ios-clear-passcode
branch
from
March 12, 2026 14:53
407d265 to
42b3a91
Compare
kc9wwh
force-pushed
the
27646-ios-clear-passcode
branch
from
March 12, 2026 15:03
42b3a91 to
04bc85c
Compare
29 tasks
Member
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related issue: Resolves #27646, Resolves #39570
Summary
Adds a "Clear passcode" action for ADE-enrolled iOS/iPadOS devices in the host details actions dropdown. When an enrolled device sends its unlock token during MDM check-in, an admin or maintainer can remotely clear the device passcode without erasing the device. Fleet enqueues an MDM
ClearPasscodecommand using theUnlockTokenstored innano_devices.POST /api/v1/fleet/hosts/:id/clear_passcodeendpoint (EE only)Checklist for submitter
changes/27646-ios-clear-passcodeSELECT *is avoided, SQL injection is prevented (using placeholders for values in statements), JS inline code is prevented especially for url redirectsTesting