New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: macOS DDM support #17886
Merged
Merged
feat: macOS DDM support #17886
Conversation
This file contains 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
This includes the base types and the request handlers to reduce the chances of conflicts.
it delegates any extra unmarshaling to the caller. We might consider building our own types in the future instead of relying on micromdm, but these are used only for tests right now.
this is to prevent nanomdm to send the DeclarativeManagement command every time the host checks in.
…nd `declaration/.../...` (#17679)
Co-authored-by: Jahziel Villasana-Espinoza <jahziel@fleetdm.com>
Improvements and fixes I found while integrating this - Renamed db columns to match the profile tables for consistency - Added columns to `host_mdm_apple_declarations` - Removed `team_declaration_checksum_view` - Remove the ad-hoc `MDMAppleRecordDeclarativeCheckIn`, I confused myself by developing this using tests, the device actually sends an `Acknowledged` response, which is recorded by nano - Fixed bugs in the `declaration/../..` endpoints - The prefix for the endpoint is `declaration` without `s` - The response needs to include a `ServerToken`, otherwise the declaration fails
relates to #17416 update UI to support new DDM profile types. this includes: - updating Custom settings page - updating the os settings modal - [x] Changes file added for user-visible changes in `changes/` or `orbit/changes/`. See [Changes files](https://fleetdm.com/docs/contributing/committing-changes#changes-files) for more information. - [x] Manual QA for all new/changed functionality
for #17404. I couldn't find tests for this portion of the code, so full tests for this section will need to be added during freeze.
relates to #17409 adds the ddm activities to the UI. - [x] Changes file added for user-visible changes in `changes/` or `orbit/changes/`. - [x] Manual QA for all new/changed functionality
relate to #17416 update to uploading, downloading, and deleting ddm profiles. - [x] Manual QA for all new/changed functionality
mna
previously approved these changes
Mar 27, 2024
mna
previously approved these changes
Mar 27, 2024
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #17886 +/- ##
==========================================
+ Coverage 65.37% 65.53% +0.16%
==========================================
Files 1206 1208 +2
Lines 110310 111913 +1603
Branches 2592 2595 +3
==========================================
+ Hits 72110 73346 +1236
- Misses 32688 32977 +289
- Partials 5512 5590 +78
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
mna
approved these changes
Mar 27, 2024
gillespi314
approved these changes
Mar 27, 2024
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.
for #14550
PR for docs update: #17888
Checklist for submitter
If some of the following don't apply, delete the relevant line.
changes/
ororbit/changes/
.See Changes files for more information.
SELECT *
is avoided, SQL injection is prevented (using placeholders for values in statements)