mirror of
https://github.com/ovh/the-bastion.git
synced 2025-01-08 00:12:10 +08:00
10 lines
665 B
JSON
10 lines
665 B
JSON
{
|
|
"interactive": [
|
|
"whoHasAccessTo" , {"ac" : ["--host"]},
|
|
"whoHasAccessTo --host" , {"pr" : ["<IP/HOST>"]},
|
|
"whoHasAccessTo --host \\S+ (.*--(user|port|ignore-group) \\S+| .*--(ignore-wildcard|ignore-private))?$" , {"ac" : ["--user","--port","--ignore-wildcard","--ignore-private","--ignore-group","<enter>"]},
|
|
"whoHasAccessTo --host \\S+ .*--user" , {"pr" : ["<USER>"]},
|
|
"whoHasAccessTo --host \\S+ .*--port" , {"pr" : ["<PORT>"]},
|
|
"whoHasAccessTo --host \\S+ .*--ignore-group" , {"ac" : ["<GROUP>"]}
|
|
]
|
|
}
|