Commit fb21fa6
enhance(docker): explicit risk-class policy for optimal security
Remove implicit global action in favor of explicit per-class definitions:
- all 9 classes now clearly defined (safe→allow, unknown→deny, etc.)
- eliminates gotcha where safe commands would prompt with action:"prompt"
- fail-closed policy now explicit in config, not just implicit
- unattended mode (non_interactive:deny) is unambiguous and secure
Ordering by risk severity: allow → prompt → deny.
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>1 parent 1469af1 commit fb21fa6
1 file changed
Lines changed: 7 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
7 | | - | |
8 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
| |||
0 commit comments