examples/settings/README.md
Example Claude Code settings files, primarily intended for organization-wide deployments. Use these as starting points — adjust them to fit your needs.
These may be applied at any level of the settings hierarchy, though certain properties only take effect if specified in enterprise settings (e.g. strictKnownMarketplaces, allowManagedHooksOnly, allowManagedPermissionRulesOnly).
[!WARNING] These examples are community-maintained snippets which may be unsupported or incorrect. You are responsible for the correctness of your own settings configuration.
| Setting | settings-lax.json | settings-strict.json | settings-bash-sandbox.json |
|---|---|---|---|
Disable --dangerously-skip-permissions | ✅ | ✅ | |
| Block plugin marketplaces | ✅ | ✅ | |
Block user and project-defined permission allow / ask / deny | ✅ | ✅ | |
| Block user and project-defined hooks | ✅ | ||
| Deny web fetch and search tools | ✅ | ||
| Bash tool requires approval | ✅ | ||
| Bash tool must run inside of sandbox | ✅ |
managed-settings.json, settings.json or settings.local.jsonsandbox property only applies to the Bash tool; it does not apply to other tools (like Read, Write, WebSearch, WebFetch, MCPs), hooks, or internal commandsTo distribute these settings as enterprise-managed policy through Jamf, Iru (Kandji), Intune, or Group Policy, see the deployment templates in ../mdm.
See https://code.claude.com/docs/en/settings for complete documentation on all available managed settings.