Implement remote assistance

- It enables a VPN via n2n
- Remote assistance will be automatically disabled after 1 day
- Optionally it's possible to give admin access to the support
This commit is contained in:
emanuele-f 2018-11-23 13:03:11 +01:00
parent 578e1362da
commit eac278a28d
19 changed files with 857 additions and 59 deletions

View file

@ -1082,6 +1082,7 @@ local known_parameters = {
["toggle_quota_exceeded_alert"] = validateBool,
["toggle_external_alerts"] = validateBool,
["toggle_influx_auth"] = validateBool,
["toggle_remote_assistance"] = validateBool,
-- Input fields
["minute_top_talkers_retention"] = validateNumber,
@ -1312,6 +1313,9 @@ local known_parameters = {
["initial_point"] = validateBool,
["extract_now"] = validateBool,
["custom_hosts"] = validateListOfTypeInline(validateSingleWord),
["assistance_key"] = validateUnquoted,
["allow_admin_access"] = validateBool,
["accept_tos"] = validateBool,
-- json POST DATA
["payload"] = { jsonCleanup, validateJSON },