31 lines
883 B
JSON
31 lines
883 B
JSON
|
|
{
|
||
|
|
"test_id": "SSH-B2",
|
||
|
|
"policy_file": "ssh_policies/ssh_b2.json",
|
||
|
|
"ssh_section": [{ "action": "accept", "src": ["group:developers"], "dst": ["tag:server"], "users": ["root"] }],
|
||
|
|
"nodes": {
|
||
|
|
"user1": { "rules": [] },
|
||
|
|
"user-kris": { "rules": [] },
|
||
|
|
"user-mon": { "rules": [] },
|
||
|
|
"tagged-server": {
|
||
|
|
"rules": [
|
||
|
|
{
|
||
|
|
"principals": [
|
||
|
|
{ "nodeIP": "100.110.121.96" },
|
||
|
|
{ "nodeIP": "100.90.199.68" },
|
||
|
|
{ "nodeIP": "fd7a:115c:a1e0::1737:7960" },
|
||
|
|
{ "nodeIP": "fd7a:115c:a1e0::2d01:c747" }
|
||
|
|
],
|
||
|
|
"sshUsers": { "root": "root" },
|
||
|
|
"action": {
|
||
|
|
"accept": true,
|
||
|
|
"allowAgentForwarding": true,
|
||
|
|
"allowLocalPortForwarding": true,
|
||
|
|
"allowRemotePortForwarding": true
|
||
|
|
}
|
||
|
|
}
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"tagged-prod": { "rules": [] }
|
||
|
|
}
|
||
|
|
}
|