-
Notifications
You must be signed in to change notification settings - Fork 60
Expand file tree
/
Copy pathcomprehensive.yaml
More file actions
52 lines (47 loc) · 1.04 KB
/
comprehensive.yaml
File metadata and controls
52 lines (47 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
version: "1.0"
description: "Comprehensive policy with all permission types"
permissions:
storage:
allow:
- uri: "fs://workspace/**"
access: ["read", "write"]
- uri: "fs://config/app.yaml"
access: ["read"]
deny:
- uri: "fs://system/**"
access: ["read", "write"]
network:
allow:
- host: "api.openai.com"
- host: "*.internal.company.com"
- cidr: "10.0.0.0/8"
- cidr: "172.16.0.0/12"
deny:
- host: "*.malicious.com"
- cidr: "0.0.0.0/0"
environment:
allow:
- key: "PATH"
- key: "HOME"
- key: "USER"
- key: "API_KEY"
- key: "DATABASE_URL"
runtime:
docker:
security:
privileged: false
no_new_privileges: true
capabilities:
drop: ["ALL"]
add: ["NET_BIND_SERVICE", "SYS_TIME"]
hyperlight:
resources:
cpu: 50.0
memory: 1024
io: 1000
ipc:
allow:
- uri: "pipe://app-service"
- uri: "socket://unix:/tmp/app.sock"
deny:
- uri: "pipe://system-service"