2020-10-16 00:32:37 +08:00
|
|
|
{
|
2020-10-22 18:24:14 +08:00
|
|
|
"master_only": true,
|
2020-10-16 00:32:37 +08:00
|
|
|
"interactive": [
|
2021-05-14 17:21:15 +08:00
|
|
|
"accountModify" , {"ac": ["--account"]},
|
|
|
|
"accountModify --account" , {"ac": ["<ACCOUNT>"]},
|
|
|
|
"accountModify --account \\S+" , {"ac": ["--mfa-password-required","--mfa-totp-required","--pam-auth-bypass","--always-active","--egress-strict-host-key-checking","--personal-egress-mfa-required","--idle-ignore"]},
|
|
|
|
"accountModify --account \\S+ .*(--mfa-password-required|--mfa-totp-required)" , {"ac": ["yes","no","bypass"]},
|
2020-10-16 00:32:37 +08:00
|
|
|
"accountModify --account \\S+ .*(--pam-auth-bypass|--mfa-auth-bypass|--always-active|idle-ignore)", {"ac": ["yes","no"]},
|
2021-05-14 17:21:15 +08:00
|
|
|
"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+ .*(yes|accept-new|no|bypass|ask|default|totp|password|none)" , {"ac": ["--mfa-password-required","--mfa-totp-required","--pam-auth-bypass","--always-active","--egress-strict-host-key-checking","--personal-egress-mfa-required","--idle-ignore","<enter>"]}
|
2020-10-16 00:32:37 +08:00
|
|
|
]
|
|
|
|
}
|