mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-09 23:34:51 +01:00
68 lines
1.3 KiB
JSON
68 lines
1.3 KiB
JSON
{
|
|
"json_plugin_version": 2,
|
|
"Device.SSH.Server.{i}.": {
|
|
"type": "object",
|
|
"protocols": [
|
|
"cwmp",
|
|
"usp"
|
|
],
|
|
"access": false,
|
|
"array": false,
|
|
"{BBF_VENDOR_PREFIX}UseMFA": {
|
|
"type": "boolean",
|
|
"read": true,
|
|
"write": true,
|
|
"protocols": [
|
|
"cwmp",
|
|
"usp"
|
|
],
|
|
"mapping": [
|
|
{
|
|
"data": "@Parent",
|
|
"type": "uci_sec",
|
|
"key": "UseMFA"
|
|
}
|
|
]
|
|
},
|
|
"{BBF_VENDOR_PREFIX}MFA_Key": {
|
|
"type": "string",
|
|
"read": true,
|
|
"write": false,
|
|
"protocols": [
|
|
"cwmp",
|
|
"usp"
|
|
],
|
|
"mapping": [
|
|
{
|
|
"type": "ubus",
|
|
"ubus": {
|
|
"object": "sshmngr",
|
|
"method": "get_mfa_key",
|
|
"args": {},
|
|
"key": "mfa_key"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"{BBF_VENDOR_PREFIX}MFA_Recovery_Codes": {
|
|
"type": "string",
|
|
"read": true,
|
|
"write": false,
|
|
"protocols": [
|
|
"cwmp",
|
|
"usp"
|
|
],
|
|
"mapping": [
|
|
{
|
|
"type": "ubus",
|
|
"ubus": {
|
|
"object": "sshmngr",
|
|
"method": "get_mfa_recovery",
|
|
"args": {},
|
|
"key": "recovery_codes"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|