mirror of https://github.com/ovh/the-bastion
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
1.6 KiB
14 lines
1.6 KiB
{
|
|
"master_only": true,
|
|
"interactive": [
|
|
"accountModify" , {"ac": ["--account"]},
|
|
"accountModify +--account" , {"ac": ["<ACCOUNT>"]},
|
|
"accountModify +--account +\\S+ +.*(--mfa-password-required|--mfa-totp-required)" , {"ac": ["yes","no","bypass"]},
|
|
"accountModify +--account +\\S+ +.*(--pam-auth-bypass|--mfa-auth-bypass|--always-active|idle-ignore|--pubkey-auth-optional)", {"ac": ["yes","no"]},
|
|
"accountModify +--account +\\S+ +.*(--egress-strict-host-key-checking)" , {"ac": ["yes","accept-new","no","ask","default","bypass"]},
|
|
"accountModify +--account +\\S+ +.*(--personal-egress-mfa-required)" , {"ac": ["password","totp","any","none"]},
|
|
"accountModify +--account +\\S+ +.*(--max-inactive-days)" , {"pr": ["<NUMBER_OF_DAYS>"]},
|
|
"accountModify +--account +\\S+ +.*" , {"ac": ["<ENTER>","--mfa-password-required","--mfa-totp-required","--pam-auth-bypass","--always-active","--egress-strict-host-key-checking","--personal-egress-mfa-required","--idle-ignore","--pubkey-auth-optional","--max-inactive-days","--osh-only"]}
|
|
]
|
|
}
|