mirror of
https://github.com/ovh/the-bastion.git
synced 2025-01-10 17:30:51 +08:00
16 lines
1 KiB
JSON
16 lines
1 KiB
JSON
{
|
|
"interactive": [
|
|
"groupCreate" , {"ac" : ["--group"]},
|
|
"groupCreate --group" , {"pr" : ["<GROUP>"]},
|
|
"groupCreate --group \\S+" , {"ac" : ["--owner"]},
|
|
"groupCreate --group \\S+ --owner" , {"ac" : ["<ACCOUNT>"]},
|
|
"groupCreate --group \\S+ --owner \\S+" , {"ac" : ["--algo"]},
|
|
"groupCreate --group \\S+ --owner \\S+ --algo" , {"ac" : ["rsa", "ecdsa", "ed25519"]},
|
|
"groupCreate --group \\S+ --owner \\S+ --algo \\S+" , {"ac" : ["--size"]},
|
|
"groupCreate --group \\S+ --owner \\S+ --algo \\S+ --size" , {"pr" : ["<SIZE>"]},
|
|
"groupCreate --group \\S+ --owner \\S+ --algo \\S+ --size \\d+" , {"ac" : ["<enter>", "--encrypted"]},
|
|
"groupCreate --group \\S+ --owner \\S+ --algo \\S+ --size \\d+ --encrypted" , {"pr" : ["<enter>"]}
|
|
],
|
|
"master_only": true,
|
|
"terminal_mode": "raw"
|
|
}
|