-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.example.json
More file actions
50 lines (50 loc) · 1.16 KB
/
config.example.json
File metadata and controls
50 lines (50 loc) · 1.16 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
{
"defaultAction": "deny",
"rules": [
{
"type": "hostname",
"value": "github.com",
"ports": [{"port": 443, "protocol": "tcp"}],
"action": "allow"
},
{
"type": "hostname",
"value": "registry.npmjs.org",
"ports": [{"port": 443, "protocol": "tcp"}],
"action": "allow"
},
{
"type": "cidr",
"value": "8.8.8.8/32",
"ports": [{"port": 53, "protocol": "udp"}],
"action": "allow"
},
{
"type": "cidr",
"value": "8.8.4.4/32",
"ports": [{"port": 53, "protocol": "udp"}],
"action": "allow"
},
{
"type": "cidr",
"value": "192.168.1.0/24",
"action": "allow"
},
{
"type": "hostname",
"value": "api.example.com",
"ports": [{"port": 80, "protocol": "tcp"}, {"port": 443, "protocol": "tcp"}],
"action": "allow"
},
{
"type": "hostname",
"value": "actions.githubusercontent.com.*.*.internal.cloudapp.net",
"ports": [{"port": 443, "protocol": "tcp"}],
"action": "allow"
}
],
"sudoLockdown": {
"enabled": false,
"allowCommands": ["/usr/bin/apt-get", "/usr/bin/docker"]
}
}