Adding more items to advanced json

silversword411 committed Jun 20, 2022 at 07:25 UTC bfacd5ed731693cb220b28b90a99588ba92ceab9
1 file changed +52 -32
sample-config-advanced.json
+52 -32
@@ -10,7 +10,7 @@
10 "_WANonly": true,
11 "_LANonly": true,
12 "_maintenanceMode": true,
13 - "_certificatePrivateKeyPassword": [ "password1", "password2" ],
13 + "_certificatePrivateKeyPassword": ["password1", "password2"],
14 "_sessionTime": 60,
15 "_sessionKey": "MyReallySecretPassword1",
16 "_sessionSameSite": "strict",
@@ -38,7 +38,6 @@
38 "_agentCoreDump": true,
39 "_agentCoreDumpUsers": "user1,user2",
40 "_agentSignLock": true,
41 - "_agentTimeStampServer": "http://timestamp.digicert.com",
41 "_ignoreAgentHashCheck": true,
42 "_exactPorts": true,
43 "_allowLoginToken": true,
@@ -73,14 +72,15 @@
72 "_webPush": { "email": "xxxxx@xxxxx.com" },
73 "_publicPushNotifications": true,
74 "_desktopMultiplex": true,
75 + "_ipBlockedUserRedirect": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
76 "_userAllowedIP": "127.0.0.1,192.168.1.0/24",
77 "_userBlockedIP": "127.0.0.1,::1,192.168.0.100",
78 "_agentAllowedIP": "192.168.0.100/24",
79 "_agentBlockedIP": "127.0.0.1,::1",
80 "_authLog": "c:\\temp\\auth.log",
81 - "_InterUserMessaging": [ "user//admin" ],
82 - "_manageAllDeviceGroups": [ "user//admin" ],
83 - "_manageCrossDomain": [ "user//admin" ],
81 + "_InterUserMessaging": ["user//admin"],
82 + "_manageAllDeviceGroups": ["user//admin"],
83 + "_manageCrossDomain": ["user//admin"],
84 "_localDiscovery": {
85 "name": "Local server name",
86 "info": "Information about this server"
@@ -92,6 +92,7 @@
92 "_mpsAliasPort": 4433,
93 "_mpsAliasHost": "mps.mydomain.com",
94 "_mpsTlsOffload": true,
95 + "_mpsHighSecurity": true,
96 "_no2FactorAuth": true,
97 "_runOnServerStarted": "c:\\tmp\\mcstart.bat",
98 "_runOnServerUpdated": "c:\\tmp\\mcupdate.bat",
@@ -163,19 +164,21 @@
164 "title2": "Servername",
165 "_titlePicture": "title-sample.png",
166 "_loginPicture": "title-sample.png",
167 + "_rootRedirect": "https://www.youtube.com/watch?v=Gs069dndIYk",
168 + "_mobileSite": false,
169 + "_unknownUserRootRedirect": "https://www.youtube.com/watch?v=2Q_ZzBGPdqE",
170 + "_nightMode": 1,
171 "_userQuota": 1048576,
172 "_meshQuota": 248576,
173 + "_loginKey": ["abc", "123"],
174 + "_agentKey": ["abc", "123"],
175 + "_ipkvm": false,
176 "minify": true,
169 - "_guestDeviceSharing" : false,
170 - "_AutoRemoveInactiveDevices": 37,
171 - "_DeviceSearchBarServerAndClientName": false,
172 - "_loginKey": [ "abc", "123" ],
173 - "_agentKey": [ "abc", "123" ],
177 "_newAccounts": true,
175 - "_newAccountsUserGroups": [ "ugrp//xxxxxxxxxxxxxxxxx" ],
178 + "_newAccountsUserGroups": ["ugrp//xxxxxxxxxxxxxxxxx"],
179 "_userNameIsEmail": true,
177 - "_newAccountEmailDomains": [ "sample.com" ],
178 - "_newAccountsRights": [ "nonewgroups", "notools" ],
180 + "_newAccountEmailDomains": ["sample.com"],
181 + "_newAccountsRights": ["nonewgroups", "notools"],
182 "_welcomeText": "Sample Text on Login Page.",
183 "_welcomePicture": "mainwelcome.jpg",
184 "_welcomePictureFullScreen": false,
@@ -185,6 +188,13 @@
188 "_hide": 4,
189 "_footer": "<a href='https://twitter.com/mytwitter'>Twitter</a>",
190 "_loginfooter": "This is a private server.",
191 + "_allowSavingDeviceCredentials": false,
192 + "_guestDeviceSharing": false,
193 + "_AutoRemoveInactiveDevices": 37,
194 + "_DeviceSearchBarServerAndClientName": false,
195 + "_agentSelfGuestSharing": {
196 + "expire": 120
197 + },
198 "_certUrl": "https://192.168.2.106:443/",
199 "_altMessenging": {
200 "name": "Jitsi",
@@ -200,7 +210,7 @@
210 "protocol": "http",
211 "port": 80,
212 "_ip": "192.168.1.100",
203 - "_filter": [ "mesh/(domainid)/(meshid)", "node/(domainid)/(nodeid)" ]
213 + "_filter": ["mesh/(domainid)/(meshid)", "node/(domainid)/(nodeid)"]
214 },
215 {
216 "name": "HTTPS",
@@ -211,7 +221,7 @@
221 },
222 "PreconfiguredRemoteInput": [
223 {
214 - "name": "CompagnyUrl",
224 + "name": "CompanyUrl",
225 "value": "https://help.mycompany.com/"
226 },
227 {
@@ -222,7 +232,7 @@
232 "name": "Welcome",
233 "value": "Default welcome text"
234 }
225 - ],
235 + ],
236 "myServer": {
237 "Backup": false,
238 "Restore": false,
@@ -325,14 +335,24 @@
335 "log": "amtactivation.log",
336 "certs": {
337 "mycertname": {
328 - "certfiles": [ "amtacm-leafcert.crt", "amtacm-intermediate1.crt", "amtacm-intermediate2.crt", "amtacm-rootcert.crt" ],
338 + "certfiles": [
339 + "amtacm-leafcert.crt",
340 + "amtacm-intermediate1.crt",
341 + "amtacm-intermediate2.crt",
342 + "amtacm-rootcert.crt"
343 + ],
344 "keyfile": "amtacm-leafcert.key"
345 }
346 }
347 },
348 "_amtManager": {
349 "adminAccounts": [{ "user": "admin", "pass": "MyP@ssw0rd" }],
335 - "environmentDetection": [ "domain1.com", "domain2.com", "domain3.com", "domain4.com" ],
350 + "environmentDetection": [
351 + "domain1.com",
352 + "domain2.com",
353 + "domain3.com",
354 + "domain4.com"
355 + ],
356 "wifiProfiles": [
357 {
358 "name": "Profile1",
@@ -355,8 +375,8 @@
375 "Strict-Transport-Security": "max-age=360000",
376 "x-frame-options": "SAMEORIGIN"
377 },
358 - "_agentConfig": [ "webSocketMaskOverride=1", "coreDumpEnabled=1" ],
359 - "_assistantConfig": [ "disableUpdate=1" ],
378 + "_agentConfig": ["webSocketMaskOverride=1", "coreDumpEnabled=1"],
379 + "_assistantConfig": ["disableUpdate=1"],
380 "_sessionRecording": {
381 "_onlySelectedUsers": true,
382 "_onlySelectedUserGroups": true,
@@ -367,42 +387,42 @@
387 "_maxRecordingDays": 15,
388 "_maxRecordingSizeMegabytes": 3,
389 "__protocols__": "Is an array: 1 = Terminal, 2 = Desktop, 5 = Files, 100 = Intel AMT WSMAN, 101 = Intel AMT Redirection, 200 = Messenger",
370 - "protocols": [ 1, 2, 101 ]
390 + "protocols": [1, 2, 101]
391 },
392 "_authStrategies": {
393 "__comment__": "This section is used to allow users to login using other accounts. You will need to get an API key from the services and register callback URL's",
394 "twitter": {
395 "_callbackurl": "https://server/auth-twitter-callback",
396 "newAccounts": true,
377 - "_newAccountsUserGroups": [ "ugrp//xxxxxxxxxxxxxxxxx" ],
397 + "_newAccountsUserGroups": ["ugrp//xxxxxxxxxxxxxxxxx"],
398 "clientid": "xxxxxxxxxxxxxxxxxxxxxxx",
399 "clientsecret": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
400 },
401 "google": {
402 "_callbackurl": "https://server/auth-google-callback",
403 "newAccounts": true,
384 - "_newAccountsUserGroups": [ "ugrp//xxxxxxxxxxxxxxxxx" ],
404 + "_newAccountsUserGroups": ["ugrp//xxxxxxxxxxxxxxxxx"],
405 "clientid": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.apps.googleusercontent.com",
406 "clientsecret": "xxxxxxxxxxxxxxxxxxxxxxx"
407 },
408 "github": {
409 "_callbackurl": "https://server/auth-github-callback",
410 "newAccounts": true,
391 - "_newAccountsUserGroups": [ "ugrp//xxxxxxxxxxxxxxxxx" ],
411 + "_newAccountsUserGroups": ["ugrp//xxxxxxxxxxxxxxxxx"],
412 "clientid": "xxxxxxxxxxxxxxxxxxxxxxx",
413 "clientsecret": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
414 },
415 "reddit": {
416 "_callbackurl": "https://server/auth-reddit-callback",
417 "newAccounts": true,
398 - "_newAccountsUserGroups": [ "ugrp//xxxxxxxxxxxxxxxxx" ],
418 + "_newAccountsUserGroups": ["ugrp//xxxxxxxxxxxxxxxxx"],
419 "clientid": "xxxxxxxxxxxxxxxxxxxxxxx",
420 "clientsecret": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
421 },
422 "azure": {
423 "_callbackurl": "https://server/auth-azure-callback",
424 "newAccounts": true,
405 - "_newAccountsUserGroups": [ "ugrp//xxxxxxxxxxxxxxxxx" ],
425 + "_newAccountsUserGroups": ["ugrp//xxxxxxxxxxxxxxxxx"],
426 "clientid": "00000000-0000-0000-0000-000000000000",
427 "clientsecret": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
428 "tenantid": "00000000-0000-0000-0000-000000000000"
@@ -410,7 +430,7 @@
430 "jumpcloud": {
431 "_callbackurl": "https://server/auth-jumpcloud-callback",
432 "newAccounts": true,
413 - "_newAccountsUserGroups": [ "ugrp//xxxxxxxxxxxxxxxxx" ],
433 + "_newAccountsUserGroups": ["ugrp//xxxxxxxxxxxxxxxxx"],
434 "entityid": "meshcentral",
435 "idpurl": "https://sso.jumpcloud.com/saml2/saml2",
436 "cert": "jumpcloud-saml.pem"
@@ -419,8 +439,8 @@
439 "_callbackurl": "https://server/auth-saml-callback",
440 "_disableRequestedAuthnContext": true,
441 "newAccounts": true,
422 - "_newAccountsUserGroups": [ "ugrp//xxxxxxxxxxxxxxxxx" ],
423 - "_newAccountsRights": [ "nonewgroups", "notools" ],
442 + "_newAccountsUserGroups": ["ugrp//xxxxxxxxxxxxxxxxx"],
443 + "_newAccountsRights": ["nonewgroups", "notools"],
444 "entityid": "meshcentral",
445 "idpurl": "https://server/saml2",
446 "cert": "saml.pem"
@@ -456,7 +476,7 @@
476 "uid": "anneonyme",
477 "mail": "anneonyme@example.com",
478 "email": "anneonyme@example.com",
459 - "otherMail": [ "other.anneonyme@example.com", "anneonyme@example.com" ]
479 + "otherMail": ["other.anneonyme@example.com", "anneonyme@example.com"]
480 },
481 "so": {
482 "displayName": "Sticker Sophie",
@@ -464,7 +484,7 @@
484 "uid": "ssticker",
485 "mail": "ssticker@example.com",
486 "email": "ssticker@example.com",
467 - "otherMail": [ "other.ssticker@example.com", "ssticker@example.com" ]
487 + "otherMail": ["other.ssticker@example.com", "ssticker@example.com"]
488 }
489 },
490 "__LDAPOptions": {
@@ -513,7 +533,7 @@
533 "_sendmail": {
534 "newline": "unix",
535 "path": "/usr/sbin/sendmail",
516 - "_args": [ "-f", "foo@example.com" ]
536 + "_args": ["-f", "foo@example.com"]
537 },
538 "_sms": {
539 "provider": "twilio",