From d02b63a4a2f5652e218801fffff455532d5e6eb1 Mon Sep 17 00:00:00 2001 From: si458 Date: Mon, 15 Jan 2024 19:45:46 +0000 Subject: [PATCH] remove additionalProperties: false in schema to allow comments #5697 Signed-off-by: si458 --- meshcentral-config-schema.json | 33 --------------------------------- 1 file changed, 33 deletions(-) diff --git a/meshcentral-config-schema.json b/meshcentral-config-schema.json index 71ae04a7..6d7969dc 100644 --- a/meshcentral-config-schema.json +++ b/meshcentral-config-schema.json @@ -559,7 +559,6 @@ "webPush": { "type": "object", "description": "When set with a valid email address, enables the MeshCentral web push notification feature. Allows administrators to send browser notifications to users even if they are not looking at the MeshCentral web site.", - "additionalProperties": false, "properties": { "email": { "type": "string", @@ -664,7 +663,6 @@ "localDiscovery": { "type": "object", "description": "When this server is in LAN mode, you may discover this server using a multicast discovery tool. When discovery happens, the name and info fields are sent back to the discovery tool.", - "additionalProperties": false, "properties": { "name": { "type": "string" @@ -753,7 +751,6 @@ }, "webrtcConfig": { "type": "object", - "additionalProperties": false, "description": "The STUN servers used for WebRTC, if not specified the Google and Mozilla servers and used when the server is not in LAN mode.", "properties": { "iceServers": { @@ -761,7 +758,6 @@ "uniqueItems": true, "items": { "type": "object", - "additionalProperties": false, "properties": { "urls": { "type": "string" @@ -779,7 +775,6 @@ }, "crowdsec": { "type": "object", - "additionalProperties": true, "description": "Enabled the MeshCentral built-in Crowdsec bouncer. This section is passed directly to the bouncer, all of the settings are documented at https://www.npmjs.com/package/@crowdsec/express-bouncer", "properties": { "url": { @@ -883,7 +878,6 @@ }, "maxInvalidLogin": { "type": "object", - "additionalProperties": false, "description": "This section described a policy for how many times an IP address is allowed to attempt to login incorrectly. By default it's 10 times in 10 minutes, but this can be changed here.", "properties": { "exclude": { @@ -910,7 +904,6 @@ }, "maxInvalid2fa": { "type": "object", - "additionalProperties": false, "description": "This section described a policy for how many times an IP address is allowed to attempt to perform two-factor authentication (2FA) incorrectly. By default it's 10 times in 10 minutes, but this can be changed here.", "properties": { "exclude": { @@ -937,7 +930,6 @@ }, "amtProvisioningServer": { "type": "object", - "additionalProperties": false, "required": [ "deviceGroup", "newMebxPassword", @@ -1344,7 +1336,6 @@ "type": "array", "items": { "type": "object", - "additionalProperties": false, "required": [ "name", "protocol", @@ -1404,7 +1395,6 @@ "object", "boolean" ], - "additionalProperties": false, "properties": { "Backup": { "type": "boolean", @@ -1629,7 +1619,6 @@ ], "default": false, "description": "When set to true or set to an object, MeshCentral will synchronize LDAP user memberships to MeshCentral user groups.", - "additionalProperties": false, "properties": { "filter": { "type": [ @@ -1684,7 +1673,6 @@ "agentTag": { "type": "object", "description": "This section is used to indicate if parts of the meshagent.tag file should be used to set server-side device properties.", - "additionalProperties": false, "properties": { "ServerName": { "type": "integer", @@ -1738,7 +1726,6 @@ "consentMessages": { "type": "object", "description": "This section is used to customize user consent prompts, these show up when asking if a remote session is allowed or not.", - "additionalProperties": false, "properties": { "Title": { "type": "string" @@ -1766,7 +1753,6 @@ }, "notificationMessages": { "type": "object", - "additionalProperties": false, "description": "This section is user to customize user notifications when a remote desktop, terminal or file session is connected to a remote system.", "properties": { "Title": { @@ -1785,7 +1771,6 @@ }, "agentCustomization": { "type": "object", - "additionalProperties": false, "description": "Use this section to customize the agent branding.", "properties": { "displayName": { @@ -1837,7 +1822,6 @@ }, "agentFileInfo": { "type": "object", - "additionalProperties": false, "description": "Use this section to set resource metadata of the Windows agents prior to signing. In Windows, you can right-click and select properties to view these values.", "properties": { "icon": { @@ -1876,7 +1860,6 @@ }, "assistantCustomization": { "type": "object", - "additionalProperties": false, "description": "Use this section to customize the MeshCentral Assistant.", "properties": { "title": { @@ -1898,7 +1881,6 @@ }, "androidCustomization": { "type": "object", - "additionalProperties": false, "description": "Use this section to customize the MeshCentral Agent for Android.", "properties": { "title": { @@ -1967,7 +1949,6 @@ }, "userConsentFlags": { "type": "object", - "additionalProperties": false, "description": "Use this section to require user consent for this domain.", "properties": { "desktopnotify": { @@ -2018,7 +1999,6 @@ }, "limits": { "type": "object", - "additionalProperties": false, "properties": { "MaxDevices": { "type": "integer", @@ -2120,7 +2100,6 @@ }, "amtManager": { "type": "object", - "additionalProperties": false, "description": "Information passed to the AMT manager module that impacts all Intel AMT device managed within this domain.", "properties": { "TlsConnections": { @@ -2138,7 +2117,6 @@ "type": "array", "items": { "type": "object", - "additionalProperties": false, "required": [ "pass" ], @@ -2192,7 +2170,6 @@ "type": "array", "items": { "type": "object", - "additionalProperties": false, "required": [ "ssid" ], @@ -2237,7 +2214,6 @@ "description": "802.1x settings for this WIFI profile. Only required if the WIFI authentication type has 802.1x", "default": null, "type": "object", - "additionalProperties": false, "required": [ "authenticationProtocol" ], @@ -2351,7 +2327,6 @@ "object", "boolean" ], - "additionalProperties": false, "required": [ "authenticationProtocol" ], @@ -2458,7 +2433,6 @@ }, "amtAcmActivation": { "type": "object", - "additionalProperties": false, "properties": { "log": { "type": "string" @@ -2472,7 +2446,6 @@ "type": "object", "additionalProperties": { "type": "object", - "additionalProperties": false, "properties": { "certfiles": { "type": "array", @@ -2505,7 +2478,6 @@ }, "yubikey": { "type": "object", - "additionalProperties": false, "properties": { "id": { "type": "string" @@ -2564,7 +2536,6 @@ }, "sessionRecording": { "type": "object", - "additionalProperties": false, "properties": { "onlySelectedUsers": { "type": "boolean", @@ -2754,11 +2725,9 @@ }, "authStrategies": { "type": "object", - "additionalProperties": false, "properties": { "twitter": { "type": "object", - "additionalProperties": false, "properties": { "callbackurl": { "type": "string", @@ -3135,7 +3104,6 @@ "title": "Built-in Let's Encrypt support", "description": "If your server has a proper DNS name and it public facing on the Internet with a public facing HTTP server on port 80, you can get a free TLS certificate.", "type": "object", - "additionalProperties": false, "properties": { "email": { "type": "string", @@ -3169,7 +3137,6 @@ "propertyNames": { "pattern": "^[A-Za-z_][A-Za-z0-9_]*$" }, - "additionalProperties": false, "properties": { "serverId": { "type": "string"