How dan-snelson/mac-health-check works
Mac Health Check is an MDM-agnostic macOS compliance and support-triage tool. An administrator deploys the script through an MDM Self Service policy; a user runs it to collect health and policy findings, which are reported locally and optionally sent to Splunk. Self Service can also present an Inspect Mode summary and selectively recheck findings after remediation. The README documents these product-level relationships, but no source excerpts were provided, so internal call paths are not asserted.
Main entry points: Mac-Health-Check.zsh Health Check Runtime · MacHealthCheck-Inspect-Mode Inspect Mode Summary · external-checks External Checks · SKILL.md Customization Skill
Components 16
Health Checks
- Health Check Runtime
Mac-Health-Check.zsh - External Checks
external-checks - Compliance Findings
Mac-Health-Check.zsh
Results and State
- JSON Health Report
Mac-Health-Check.zsh - Runtime State and Caches
Mac-Health-Check.zsh - Splunk HEC
- Slack and Teams
User Experience
- Inspect Mode Summary
Resources/MacHealthCheck-Inspect-Mode - Inspect Config and Compliance
Resources/MacHealthCheck-Inspect-Mode - swiftDialog
Administration
- Customization Skill
Skills/mac-health-check-selector/SKILL.md - Deployment Configuration
Resources - Remediation Work
Other components
- Mac user
- Mac administrator
- MDM Self Service
Connections 17
- Mac administrator → Deployment Configuration: configures deployment
README.md - Mac administrator → Customization Skill: uses customization guide
README.md - MDM Self Service → Health Check Runtime: runs on demand
README.md - Mac user → MDM Self Service: starts Self Service run
README.md - Health Check Runtime → External Checks: runs checks
README.md - Health Check Runtime → Compliance Findings: collects findings
README.md - Health Check Runtime → JSON Health Report: writes report
README.md - Health Check Runtime → Runtime State and Caches: stores runtime state
README.md - Health Check Runtime → Splunk HEC: optionally forwards report
README.md - Health Check Runtime → Slack and Teams: delivers messages
README.md - Health Check Runtime → Inspect Config and Compliance: generates Inspect assets
README.md - Health Check Runtime → Inspect Mode Summary: launches Self Service summary
README.md - Inspect Mode Summary → Mac user: presents results
README.md - Inspect Mode Summary → swiftDialog: uses
README.md - Health Check Runtime → swiftDialog: installs or updates
README.md - Remediation Work → Health Check Runtime: triggers targeted recheck
README.md - Health Check Runtime → JSON Health Report: merges recheck results
README.md