fix: Remove violation mode

This commit is contained in:
Abhisek Datta
2026-01-08 20:27:05 +05:30
parent cb081348fa
commit 774d21fc32
7 changed files with 5 additions and 80 deletions
+2 -4
View File
@@ -39,8 +39,6 @@ See the [Policy Schema Documentation](../policy.go) for details on the YAML stru
- `${CWD}`: Current working directory
- `${TMPDIR}`: Temporary directory
### Violation Modes
## Policy Enforcement
- `block`: Block execution on policy violation (recommended)
- `warn`: Log warning but allow execution
- `allow`: Allow all operations (disables sandbox)
All policy violations will block execution. This provides defense-in-depth protection against malicious install scripts and supply chain attacks.
-2
View File
@@ -6,8 +6,6 @@ package_managers:
- yarn
- bun
violation_mode: block
filesystem:
allow_read:
- ${CWD}/**
-2
View File
@@ -6,8 +6,6 @@ package_managers:
- poetry
- uv
violation_mode: block
filesystem:
allow_read:
- ${CWD}/**