Skip to content
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

Send DeclarativeManagement command every time declarations change for a host #17399

Closed
4 tasks
roperzh opened this issue Mar 6, 2024 · 2 comments
Closed
4 tasks
Assignees
Labels
~backend Backend-related issue. #g-mdm MDM product group P2 Prioritize as urgent :release Ready to write code. Scheduled in a release. See "Making changes" in handbook. ~sub-task A technical sub-task that is part of a story. (Not QA'd. Not estimated.)
Milestone

Comments

@roperzh
Copy link
Member

roperzh commented Mar 6, 2024

  • In a cron job (potentially mdm_apple_profile_manager) calculate a SHA256 value of all the declarations uploaded for a team. Use the checksum column of each declaration to do this.
  • compare the hashes with the previously stored hash for each team
  • if the hash is different, enqueue a DeclarativeManagement command for all the hosts in the team
  • store the newly computed hash
@roperzh roperzh added #g-mdm MDM product group :release Ready to write code. Scheduled in a release. See "Making changes" in handbook. labels Mar 6, 2024
@roperzh roperzh changed the title Retroactively enable DDM for hosts that already turned on MDM features Send DeclarativeManagement command every time declarations change for a host Mar 6, 2024
@roperzh roperzh added :product Product Design department (shows up on 🦢 Drafting board) and removed :release Ready to write code. Scheduled in a release. See "Making changes" in handbook. labels Mar 6, 2024
@georgekarrv
Copy link
Member

@georgekarrv georgekarrv added :release Ready to write code. Scheduled in a release. See "Making changes" in handbook. ~sub-task A technical sub-task that is part of a story. (Not QA'd. Not estimated.) ~backend Backend-related issue. and removed :product Product Design department (shows up on 🦢 Drafting board) labels Mar 11, 2024
@lukeheath lukeheath added this to the 4.48.0-tentative milestone Mar 11, 2024
@georgekarrv georgekarrv added the P2 Prioritize as urgent label Mar 14, 2024
roperzh added a commit that referenced this issue Mar 21, 2024
roperzh added a commit that referenced this issue Mar 21, 2024
roperzh added a commit that referenced this issue Mar 21, 2024
roperzh added a commit that referenced this issue Mar 21, 2024
roperzh added a commit that referenced this issue Mar 22, 2024
roperzh pushed a commit that referenced this issue Mar 25, 2024
@fleet-release
Copy link
Contributor

Hashing each change,
Like leaves falling in autumn.
Secure, swift, and smooth.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
~backend Backend-related issue. #g-mdm MDM product group P2 Prioritize as urgent :release Ready to write code. Scheduled in a release. See "Making changes" in handbook. ~sub-task A technical sub-task that is part of a story. (Not QA'd. Not estimated.)
Development

No branches or pull requests

4 participants