Improved config.json schema.

Ylian Saint-Hilaire committed Sep 4, 2020 at 00:34 UTC 4a852ac706bb153a30562e583178d8ef2564c5b3
1 file changed +8 -1
meshcentral-config-schema.json
+8 -1
@@ -68,7 +68,7 @@
68 "userBlockedIP": { "type": [ "string", "array" ] },
69 "agentAllowedIP": { "type": [ "string", "array" ] },
70 "agentBlockedIP": { "type": [ "string", "array" ] },
71 - "authLog": { "type": "string" },
71 + "authLog": { "type": "string", "default": null, "description": "File path and name of the authentication log to be created. This log can be parsed by Fail2ban." },
72 "manageAllDeviceGroups": { "type": "array", "uniqueItems": true, "items": { "type": "string" } },
73 "manageCrossDomain": { "type": "array", "uniqueItems": true, "items": { "type": "string" } },
74 "localDiscovery": {
@@ -175,6 +175,13 @@
175 "banCommonPasswords": { "type": "boolean", "description": "Uses WildLeek to block use of the 10000 most commonly used passwords." }
176 }
177 },
178 + "auth": { "type": "string", "default": null, "enum": [null, "sspi", "ldap"], "description": "Type of user authentication to use, this can be SSPI on Windows or LDAP. If not set, username/password is used." },
179 + "ldapUserKey": { "type": "string" },
180 + "ldapUserName": { "type": "string" },
181 + "ldapUserEmail": { "type": "string" },
182 + "ldapUserRealName": { "type": "string" },
183 + "ldapUserPhoneNumber": { "type": "string" },
184 + "ldapOptions": { "type": "object", "description": "LDAP options passed to ldapauth-fork" },
185 "agentInviteCodes": { "type": "boolean", "default": false, "description": "Enabled a feature where you can set one or more invitation codes in a device group. You can then give a invitation link to users who can use it to download the agent." },
186 "agentNoProxy": { "type": "boolean", "default": false, "description": "When enabled, all newly installed MeshAgents will be instructed to no use a HTTP/HTTPS proxy even if one is configured on the remote system" },
187 "geoLocation": { "type": "boolean", "default": false, "description": "Enables the geo-location feature and device location map in the user interface, this feature is not being worked on." },