added orphanAgentUser option to example and config.json schema.

Ylian Saint-Hilaire committed Aug 16, 2020 at 17:27 UTC d0216ad2b29e09bb0d68b2e7392dfff372bb49d4
2 files changed +2
meshcentral-config-schema.json
+1
@@ -54,6 +54,7 @@
54 "agentsInRam": { "type": "boolean", "default": false, "description": "Loads all agent binaries in RAM for faster agent updates." },
55 "agentPing": { "type": "integer", "minimum": 1, "description": "When specified, sends data to the agent at x seconds interval and expects a response from the agent." },
56 "agentPong": { "type": "integer", "minimum": 1, "description": "When specified, sends data to the agent at x seconds interval." },
57 + "orphanAgentUser": { "type": "string", "default": null, "description": "If an agent attempts to connect to a unknown device group, automatically create a new device group and grant access to the specified user. Example: admin" },
58 "agentIdleTimeout": { "type": "integer", "minimum": 1 },
59 "compression": { "type": "boolean", "default": true, "description": "Enables GZIP compression for web requests." },
60 "wscompression": { "type": "boolean", "default": false, "description": "Enables server-side, websocket per-message deflate compression." },
sample-config-advanced.json
+1
@@ -162,6 +162,7 @@
162 "_userBlockedIP": "127.0.0.1,::1,192.168.0.100",
163 "_agentAllowedIP": "192.168.0.100/24",
164 "_agentBlockedIP": "127.0.0.1,::1",
165 + "_orphanAgentUser": "admin",
166 "___userSessionIdleTimeout__": "Number of user idle minutes before auto-disconnect",
167 "_userSessionIdleTimeout": 30,
168 "__userConsentFlags__": "Set to: 1 for desktop, 2 for terminal, 3 for files, 7 for all",