From 8e5cb6d5eeecccb629f125cc7a20fb2e0316597a Mon Sep 17 00:00:00 2001 From: Ylian Saint-Hilaire Date: Mon, 15 Jun 2020 06:54:33 -0700 Subject: [PATCH] Schema update. --- meshcentral-config-schema.json | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/meshcentral-config-schema.json b/meshcentral-config-schema.json index d07c611f..849fedd2 100644 --- a/meshcentral-config-schema.json +++ b/meshcentral-config-schema.json @@ -34,17 +34,17 @@ "RedirPort": { "type": "integer", "minimum": 1, "maximum": 65535 }, "RedirPortBind": { "type": "string" }, "RedirAliasPort": { "type": "integer", "minimum": 1, "maximum": 65535 }, - "AgentPort": { "type": "integer", "minimum": 1, "maximum": 65535 }, - "AgentPortBind": { "type": "string" }, - "AgentAliasPort": { "type": "integer", "minimum": 1, "maximum": 65535 }, - "AgentAliasDNS": { "type": "string", "format": "hostname" }, - "AgentPortTls": { "type": "boolean", "default": true }, + "AgentPort": { "type": "integer", "minimum": 1, "maximum": 65535, "description": "When set, enabled a new HTTPS server port that only accepts agent connections" }, + "AgentPortBind": { "type": "string", "description": "When set, binds the agent port to a specific network interface" }, + "AgentAliasPort": { "type": "integer", "minimum": 1, "maximum": 65535, "description": "When set, indicates the actual publically visible agent-only port. If not set, the AgentPort value is used" }, + "AgentAliasDNS": { "type": "string", "format": "hostname", "description": "When set, specified the DNS name used by agents to connect to the agent-only port" }, + "AgentPortTls": { "type": "boolean", "default": true, "description": "Indicates if the agent-only port must perform TLS, this should be set to false if TLS is performed in front of this server" }, "ExactPorts": { "type": "boolean", "default": false }, "AllowLoginToken": { "type": "boolean", "default": false }, "AllowFraming": { "type": "boolean", "default": false }, "CookieIpCheck": { "type": "boolean" }, "CookieEncoding": { "type": "string", "enum": [ "hex", "base64" ], "default": "base64" }, - "WebRTC": { "type": "boolean", "default": false }, + "WebRTC": { "type": "boolean", "default": false, "description": "When enabled, allows use of WebRTC to allow direct network traffic between the agent and browser" }, "Nice404": { "type": "boolean" }, "ClickOnce": { "type": "boolean" }, "SelfUpdate": { "type": "boolean", "default": false, "description": "When true, this server will attempt to self-update everyday after midnight." }, @@ -55,13 +55,13 @@ "AgentIdleTimeout": { "type": "integer", "minimum": 1 }, "MeshErrorLogPath": { "type": "string" }, "NpmPath": { "type": "string" }, - "NpmProxy": { "type": "string" }, - "AllowHighQualityDesktop": { "type": "boolean" }, - "DesktopMultiplex": { "type": "boolean" }, - "UserAllowedIP": { "type": "string" }, - "UserBlockedIP": { "type": "string" }, - "AgentAllowedIP": { "type": "string" }, - "AgentBlockedIP": { "type": "string" }, + "NpmProxy": { "type": "string", "format": "uri" }, + "AllowHighQualityDesktop": { "type": "boolean", "default": true }, + "DesktopMultiplex": { "type": "boolean", "default": false }, + "UserAllowedIP": { "type": [ "string", "array" ] }, + "UserBlockedIP": { "type": [ "string", "array" ] }, + "AgentAllowedIP": { "type": [ "string", "array" ] }, + "AgentBlockedIP": { "type": [ "string", "array" ] }, "AuthLog": { "type": "string" }, "ManageAllDeviceGroups": { "type": "array", "items": [ { "type": "string" } ] }, "ManageCrossDomain": { "type": "array", "items": [ { "type": "string" } ] }, @@ -74,13 +74,13 @@ }, "required": [ "name", "info" ] }, - "TlsOffload": { "type": "string" }, + "TlsOffload": { "type": [ "string", "boolean" ], "default": false }, "TrustedProxy": { "type": "string" }, "MpsPort": { "type": "integer", "minimum": 1, "maximum": 65535 }, "MpsPortBind": { "type": "string" }, "MpsAliasPort": { "type": "integer", "minimum": 1, "maximum": 65535 }, "MpsAliasHost": { "type": "string" }, - "MpsTlsOffload": { "type": "boolean" }, + "MpsTlsOffload": { "type": "boolean", "default": false }, "No2FactorAuth": { "type": "boolean" }, "Log": { "type": "string" }, "syslog": { "type": "string" }, @@ -355,9 +355,9 @@ "properties": { "email": { "type": "string", "format": "email" }, "names": { "type": "string" }, - "production": { "type": "boolean" } + "production": { "type": "boolean", "default": false } }, - "required": [ "email", "names", "production" ] + "required": [ "email", "names" ] }, "peers": { "title" : "Server peering",