chore(mdm): always-skip TCC by default + add PPPC config guide#114
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR changes Dev Machine Guard’s macOS TCC handling to skip TCC-protected directories by default in all runs (community CLI and enterprise/launchd) to avoid triggering permission prompts, and adds documentation for opting back into scanning via Full Disk Access (PPPC/MDM or manual) plus the include_tcc_protected config/flag.
Changes:
- Make the TCC “skipper” default to on unless
include_tcc_protectedis explicitly set totrue. - Update CLI/config help text and unit tests to reflect the new default semantics.
- Add a macOS PPPC/TCC configuration guide and link it from the README.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| README.md | Adds link to the new macOS TCC permissions guide. |
| internal/tcc/tcc.go | Changes default behavior to always skip TCC-protected paths unless explicitly included. |
| internal/tcc/tcc_darwin_test.go | Updates tests to match the new default skipper behavior. |
| internal/config/config.go | Updates the config field documentation for include_tcc_protected. |
| internal/cli/cli.go | Updates flag documentation/help text for --include-tcc-protected defaults and precedence. |
| docs/macos-tcc-permissions.md | Adds a new guide covering default skipping behavior and PPPC/FDA rollout guidance. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
ashishkurmi
approved these changes
May 27, 2026
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.
What does this PR do?
Type of change
Testing
./stepsecurity-dev-machine-guard --verbose./stepsecurity-dev-machine-guard --json | python3 -m json.toolmake lintmake testRelated Issues