-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathexample_rules.json
42 lines (41 loc) · 928 Bytes
/
example_rules.json
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
{
"default_rules": [
{
"ip_protocol": "tcp",
"from_port": "22",
"to_port": "22",
"cidr_ip": "0.0.0.0/0",
"src_group_name": "<AWSACCOUNTID>/<SGID>"
}
],
"application": [
{
"ip_protocol": "tcp",
"from_port": "8080",
"to_port": "8080",
"cidr_ip": "<HOMEIP>",
"src_group_name": null
},
{
"ip_protocol": "tcp",
"from_port": "8080",
"to_port": "8080",
"cidr_ip": "<OFFICEIP>",
"src_group_name": null
},
{
"ip_protocol": "tcp",
"from_port": "8080",
"to_port": "8080",
"cidr_ip": "<OTHERIP>",
"src_group_name": null
},
{
"ip_protocol": "tcp",
"from_port": "5671",
"to_port": "5671",
"cidr_ip": "0.0.0.0/0",
"src_group_name": "<SGID>
}
]
}