Updating APNs certificate and related policy automations (#26696)

Created a new policy with the calendaring automation for when I update
the APNs certificate being used.

---------

Co-authored-by: Brock Walters <153771548+nonpunctual@users.noreply.github.com>
This commit is contained in:
Allen Houchins 2025-03-04 13:42:42 -06:00 committed by GitHub
parent 3840826c81
commit 9ee2d5e695
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 17 additions and 15 deletions

View file

@ -84,7 +84,6 @@ org_settings:
destination_url: $DOGFOOD_ACTIVITIES_WEBHOOK_URL
enable_activities_webhook: true
policies:
- path: ./lib/all/policies/mac-enrollment-profile-up-to-date.yml
queries:
- path: ./lib/all/queries/collect-fleetd-information.yml
- path: ./lib/all/queries/collect-operating-system-information.yml

View file

@ -1,14 +0,0 @@
- name: macOS - Enrollment profile up to date
query: SELECT 1 FROM mdm where topic = "com.apple.mgmt.External.ccfc8d43-e9f1-49ec-8ca4-10072077deec";
critical: true
description: This policy checks to see if you have the most recent enrollment profile installed. Not having this profile means this device is no longer communicating with Fleet via MDM.
resolution: |-
You must manually remove your enrollment profile to fix this issue by following these steps:
 > System Settings > General > Device Management > Click on the profile "Fleet enrollment" followed by the "-" button
After a few minutes, your device may initate automatic re-enrollment. If it does not, open Fleet Desktop and follow the steps for turning on MDM.
If you encounter any issues, please reach out via #help-dogfooding.
platform: darwin

View file

@ -0,0 +1,14 @@
- name: macOS - Enrollment profile up to date
query: SELECT 1 FROM mdm where topic = "com.apple.mgmt.External.8a3367bf-49d7-4dc3-ae41-c9de95f7b424";
critical: true
description: Recently we had to update files used for managing Apple devices. This policy checks to see if you have the most recent enrollment profile installed. Not having this profile means this device is no longer communicating with Fleet via MDM.
resolution: |-
You must manually remove your enrollment profile to fix this issue by following these steps:
 > System Settings > General > Device Management > Click on the profile "Fleet enrollment" followed by the "-" button
After a few minutes, your device may initiate automatic re-enrollment. If it does not, open Fleet Desktop and follow the steps for manually enabling MDM.
If you encounter any issues, please reach out via #help-dogfooding.
platform: darwin
calendar_event_enabled: true

View file

@ -30,6 +30,7 @@ agent_options:
controls:
enable_disk_encryption: true
policies:
- path: ../lib/macos/policies/enrollment-profile-up-to-date.yml
queries:
software:
packages:

View file

@ -143,6 +143,7 @@ policies:
- path: ../lib/macos/policies/latest-macos.yml
- path: ../lib/macos/policies/update-1password.yml
- path: ../lib/macos/policies/all-software-updates-installed.yml
- path: ../lib/macos/policies/enrollment-profile-up-to-date.yml
- path: ../lib/windows/policies/antivirus-signatures-up-to-date.yml
- path: ../lib/windows/policies/all-windows-updates-installed.yml
- path: ../lib/linux/policies/disk-encryption-check.yml

View file

@ -88,6 +88,7 @@ policies:
- path: ../lib/macos/policies/latest-macos.yml
- path: ../lib/macos/policies/all-software-updates-installed.yml
- path: ../lib/macos/policies/update-slack.yml
- path: ../lib/macos/policies/enrollment-profile-up-to-date.yml
- path: ../lib/windows/policies/antivirus-signatures-up-to-date.yml
- path: ../lib/windows/policies/all-windows-updates-installed.yml
- path: ../lib/linux/policies/disk-encryption-check.yml