mirror of
https://github.com/safedep/pmg.git
synced 2026-08-03 07:24:09 +02:00
fix: Remove violation mode
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -6,8 +6,6 @@ package_managers:
|
||||
- yarn
|
||||
- bun
|
||||
|
||||
violation_mode: block
|
||||
|
||||
filesystem:
|
||||
allow_read:
|
||||
- ${CWD}/**
|
||||
|
||||
@@ -6,8 +6,6 @@ package_managers:
|
||||
- poetry
|
||||
- uv
|
||||
|
||||
violation_mode: block
|
||||
|
||||
filesystem:
|
||||
allow_read:
|
||||
- ${CWD}/**
|
||||
|
||||
Reference in New Issue
Block a user