1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-02-12 11:01:52 +00:00

Adding more items to advanced json

This commit is contained in:
silversword411 2022-06-20 07:25:03 -04:00
parent f150e3ac5f
commit bfacd5ed73
No known key found for this signature in database
GPG key ID: 6F4BD176F56B50CA

View file

@ -10,7 +10,7 @@
"_WANonly": true, "_WANonly": true,
"_LANonly": true, "_LANonly": true,
"_maintenanceMode": true, "_maintenanceMode": true,
"_certificatePrivateKeyPassword": [ "password1", "password2" ], "_certificatePrivateKeyPassword": ["password1", "password2"],
"_sessionTime": 60, "_sessionTime": 60,
"_sessionKey": "MyReallySecretPassword1", "_sessionKey": "MyReallySecretPassword1",
"_sessionSameSite": "strict", "_sessionSameSite": "strict",
@ -38,7 +38,6 @@
"_agentCoreDump": true, "_agentCoreDump": true,
"_agentCoreDumpUsers": "user1,user2", "_agentCoreDumpUsers": "user1,user2",
"_agentSignLock": true, "_agentSignLock": true,
"_agentTimeStampServer": "http://timestamp.digicert.com",
"_ignoreAgentHashCheck": true, "_ignoreAgentHashCheck": true,
"_exactPorts": true, "_exactPorts": true,
"_allowLoginToken": true, "_allowLoginToken": true,
@ -73,14 +72,15 @@
"_webPush": { "email": "xxxxx@xxxxx.com" }, "_webPush": { "email": "xxxxx@xxxxx.com" },
"_publicPushNotifications": true, "_publicPushNotifications": true,
"_desktopMultiplex": true, "_desktopMultiplex": true,
"_ipBlockedUserRedirect": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"_userAllowedIP": "127.0.0.1,192.168.1.0/24", "_userAllowedIP": "127.0.0.1,192.168.1.0/24",
"_userBlockedIP": "127.0.0.1,::1,192.168.0.100", "_userBlockedIP": "127.0.0.1,::1,192.168.0.100",
"_agentAllowedIP": "192.168.0.100/24", "_agentAllowedIP": "192.168.0.100/24",
"_agentBlockedIP": "127.0.0.1,::1", "_agentBlockedIP": "127.0.0.1,::1",
"_authLog": "c:\\temp\\auth.log", "_authLog": "c:\\temp\\auth.log",
"_InterUserMessaging": [ "user//admin" ], "_InterUserMessaging": ["user//admin"],
"_manageAllDeviceGroups": [ "user//admin" ], "_manageAllDeviceGroups": ["user//admin"],
"_manageCrossDomain": [ "user//admin" ], "_manageCrossDomain": ["user//admin"],
"_localDiscovery": { "_localDiscovery": {
"name": "Local server name", "name": "Local server name",
"info": "Information about this server" "info": "Information about this server"
@ -92,6 +92,7 @@
"_mpsAliasPort": 4433, "_mpsAliasPort": 4433,
"_mpsAliasHost": "mps.mydomain.com", "_mpsAliasHost": "mps.mydomain.com",
"_mpsTlsOffload": true, "_mpsTlsOffload": true,
"_mpsHighSecurity": true,
"_no2FactorAuth": true, "_no2FactorAuth": true,
"_runOnServerStarted": "c:\\tmp\\mcstart.bat", "_runOnServerStarted": "c:\\tmp\\mcstart.bat",
"_runOnServerUpdated": "c:\\tmp\\mcupdate.bat", "_runOnServerUpdated": "c:\\tmp\\mcupdate.bat",
@ -163,19 +164,21 @@
"title2": "Servername", "title2": "Servername",
"_titlePicture": "title-sample.png", "_titlePicture": "title-sample.png",
"_loginPicture": "title-sample.png", "_loginPicture": "title-sample.png",
"_rootRedirect": "https://www.youtube.com/watch?v=Gs069dndIYk",
"_mobileSite": false,
"_unknownUserRootRedirect": "https://www.youtube.com/watch?v=2Q_ZzBGPdqE",
"_nightMode": 1,
"_userQuota": 1048576, "_userQuota": 1048576,
"_meshQuota": 248576, "_meshQuota": 248576,
"_loginKey": ["abc", "123"],
"_agentKey": ["abc", "123"],
"_ipkvm": false,
"minify": true, "minify": true,
"_guestDeviceSharing" : false,
"_AutoRemoveInactiveDevices": 37,
"_DeviceSearchBarServerAndClientName": false,
"_loginKey": [ "abc", "123" ],
"_agentKey": [ "abc", "123" ],
"_newAccounts": true, "_newAccounts": true,
"_newAccountsUserGroups": [ "ugrp//xxxxxxxxxxxxxxxxx" ], "_newAccountsUserGroups": ["ugrp//xxxxxxxxxxxxxxxxx"],
"_userNameIsEmail": true, "_userNameIsEmail": true,
"_newAccountEmailDomains": [ "sample.com" ], "_newAccountEmailDomains": ["sample.com"],
"_newAccountsRights": [ "nonewgroups", "notools" ], "_newAccountsRights": ["nonewgroups", "notools"],
"_welcomeText": "Sample Text on Login Page.", "_welcomeText": "Sample Text on Login Page.",
"_welcomePicture": "mainwelcome.jpg", "_welcomePicture": "mainwelcome.jpg",
"_welcomePictureFullScreen": false, "_welcomePictureFullScreen": false,
@ -185,6 +188,13 @@
"_hide": 4, "_hide": 4,
"_footer": "<a href='https://twitter.com/mytwitter'>Twitter</a>", "_footer": "<a href='https://twitter.com/mytwitter'>Twitter</a>",
"_loginfooter": "This is a private server.", "_loginfooter": "This is a private server.",
"_allowSavingDeviceCredentials": false,
"_guestDeviceSharing": false,
"_AutoRemoveInactiveDevices": 37,
"_DeviceSearchBarServerAndClientName": false,
"_agentSelfGuestSharing": {
"expire": 120
},
"_certUrl": "https://192.168.2.106:443/", "_certUrl": "https://192.168.2.106:443/",
"_altMessenging": { "_altMessenging": {
"name": "Jitsi", "name": "Jitsi",
@ -200,7 +210,7 @@
"protocol": "http", "protocol": "http",
"port": 80, "port": 80,
"_ip": "192.168.1.100", "_ip": "192.168.1.100",
"_filter": [ "mesh/(domainid)/(meshid)", "node/(domainid)/(nodeid)" ] "_filter": ["mesh/(domainid)/(meshid)", "node/(domainid)/(nodeid)"]
}, },
{ {
"name": "HTTPS", "name": "HTTPS",
@ -211,7 +221,7 @@
}, },
"PreconfiguredRemoteInput": [ "PreconfiguredRemoteInput": [
{ {
"name": "CompagnyUrl", "name": "CompanyUrl",
"value": "https://help.mycompany.com/" "value": "https://help.mycompany.com/"
}, },
{ {
@ -222,7 +232,7 @@
"name": "Welcome", "name": "Welcome",
"value": "Default welcome text" "value": "Default welcome text"
} }
], ],
"myServer": { "myServer": {
"Backup": false, "Backup": false,
"Restore": false, "Restore": false,
@ -325,14 +335,24 @@
"log": "amtactivation.log", "log": "amtactivation.log",
"certs": { "certs": {
"mycertname": { "mycertname": {
"certfiles": [ "amtacm-leafcert.crt", "amtacm-intermediate1.crt", "amtacm-intermediate2.crt", "amtacm-rootcert.crt" ], "certfiles": [
"amtacm-leafcert.crt",
"amtacm-intermediate1.crt",
"amtacm-intermediate2.crt",
"amtacm-rootcert.crt"
],
"keyfile": "amtacm-leafcert.key" "keyfile": "amtacm-leafcert.key"
} }
} }
}, },
"_amtManager": { "_amtManager": {
"adminAccounts": [{ "user": "admin", "pass": "MyP@ssw0rd" }], "adminAccounts": [{ "user": "admin", "pass": "MyP@ssw0rd" }],
"environmentDetection": [ "domain1.com", "domain2.com", "domain3.com", "domain4.com" ], "environmentDetection": [
"domain1.com",
"domain2.com",
"domain3.com",
"domain4.com"
],
"wifiProfiles": [ "wifiProfiles": [
{ {
"name": "Profile1", "name": "Profile1",
@ -355,8 +375,8 @@
"Strict-Transport-Security": "max-age=360000", "Strict-Transport-Security": "max-age=360000",
"x-frame-options": "SAMEORIGIN" "x-frame-options": "SAMEORIGIN"
}, },
"_agentConfig": [ "webSocketMaskOverride=1", "coreDumpEnabled=1" ], "_agentConfig": ["webSocketMaskOverride=1", "coreDumpEnabled=1"],
"_assistantConfig": [ "disableUpdate=1" ], "_assistantConfig": ["disableUpdate=1"],
"_sessionRecording": { "_sessionRecording": {
"_onlySelectedUsers": true, "_onlySelectedUsers": true,
"_onlySelectedUserGroups": true, "_onlySelectedUserGroups": true,
@ -367,42 +387,42 @@
"_maxRecordingDays": 15, "_maxRecordingDays": 15,
"_maxRecordingSizeMegabytes": 3, "_maxRecordingSizeMegabytes": 3,
"__protocols__": "Is an array: 1 = Terminal, 2 = Desktop, 5 = Files, 100 = Intel AMT WSMAN, 101 = Intel AMT Redirection, 200 = Messenger", "__protocols__": "Is an array: 1 = Terminal, 2 = Desktop, 5 = Files, 100 = Intel AMT WSMAN, 101 = Intel AMT Redirection, 200 = Messenger",
"protocols": [ 1, 2, 101 ] "protocols": [1, 2, 101]
}, },
"_authStrategies": { "_authStrategies": {
"__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", "__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",
"twitter": { "twitter": {
"_callbackurl": "https://server/auth-twitter-callback", "_callbackurl": "https://server/auth-twitter-callback",
"newAccounts": true, "newAccounts": true,
"_newAccountsUserGroups": [ "ugrp//xxxxxxxxxxxxxxxxx" ], "_newAccountsUserGroups": ["ugrp//xxxxxxxxxxxxxxxxx"],
"clientid": "xxxxxxxxxxxxxxxxxxxxxxx", "clientid": "xxxxxxxxxxxxxxxxxxxxxxx",
"clientsecret": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" "clientsecret": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}, },
"google": { "google": {
"_callbackurl": "https://server/auth-google-callback", "_callbackurl": "https://server/auth-google-callback",
"newAccounts": true, "newAccounts": true,
"_newAccountsUserGroups": [ "ugrp//xxxxxxxxxxxxxxxxx" ], "_newAccountsUserGroups": ["ugrp//xxxxxxxxxxxxxxxxx"],
"clientid": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.apps.googleusercontent.com", "clientid": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.apps.googleusercontent.com",
"clientsecret": "xxxxxxxxxxxxxxxxxxxxxxx" "clientsecret": "xxxxxxxxxxxxxxxxxxxxxxx"
}, },
"github": { "github": {
"_callbackurl": "https://server/auth-github-callback", "_callbackurl": "https://server/auth-github-callback",
"newAccounts": true, "newAccounts": true,
"_newAccountsUserGroups": [ "ugrp//xxxxxxxxxxxxxxxxx" ], "_newAccountsUserGroups": ["ugrp//xxxxxxxxxxxxxxxxx"],
"clientid": "xxxxxxxxxxxxxxxxxxxxxxx", "clientid": "xxxxxxxxxxxxxxxxxxxxxxx",
"clientsecret": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" "clientsecret": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}, },
"reddit": { "reddit": {
"_callbackurl": "https://server/auth-reddit-callback", "_callbackurl": "https://server/auth-reddit-callback",
"newAccounts": true, "newAccounts": true,
"_newAccountsUserGroups": [ "ugrp//xxxxxxxxxxxxxxxxx" ], "_newAccountsUserGroups": ["ugrp//xxxxxxxxxxxxxxxxx"],
"clientid": "xxxxxxxxxxxxxxxxxxxxxxx", "clientid": "xxxxxxxxxxxxxxxxxxxxxxx",
"clientsecret": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" "clientsecret": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}, },
"azure": { "azure": {
"_callbackurl": "https://server/auth-azure-callback", "_callbackurl": "https://server/auth-azure-callback",
"newAccounts": true, "newAccounts": true,
"_newAccountsUserGroups": [ "ugrp//xxxxxxxxxxxxxxxxx" ], "_newAccountsUserGroups": ["ugrp//xxxxxxxxxxxxxxxxx"],
"clientid": "00000000-0000-0000-0000-000000000000", "clientid": "00000000-0000-0000-0000-000000000000",
"clientsecret": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", "clientsecret": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"tenantid": "00000000-0000-0000-0000-000000000000" "tenantid": "00000000-0000-0000-0000-000000000000"
@ -410,7 +430,7 @@
"jumpcloud": { "jumpcloud": {
"_callbackurl": "https://server/auth-jumpcloud-callback", "_callbackurl": "https://server/auth-jumpcloud-callback",
"newAccounts": true, "newAccounts": true,
"_newAccountsUserGroups": [ "ugrp//xxxxxxxxxxxxxxxxx" ], "_newAccountsUserGroups": ["ugrp//xxxxxxxxxxxxxxxxx"],
"entityid": "meshcentral", "entityid": "meshcentral",
"idpurl": "https://sso.jumpcloud.com/saml2/saml2", "idpurl": "https://sso.jumpcloud.com/saml2/saml2",
"cert": "jumpcloud-saml.pem" "cert": "jumpcloud-saml.pem"
@ -419,8 +439,8 @@
"_callbackurl": "https://server/auth-saml-callback", "_callbackurl": "https://server/auth-saml-callback",
"_disableRequestedAuthnContext": true, "_disableRequestedAuthnContext": true,
"newAccounts": true, "newAccounts": true,
"_newAccountsUserGroups": [ "ugrp//xxxxxxxxxxxxxxxxx" ], "_newAccountsUserGroups": ["ugrp//xxxxxxxxxxxxxxxxx"],
"_newAccountsRights": [ "nonewgroups", "notools" ], "_newAccountsRights": ["nonewgroups", "notools"],
"entityid": "meshcentral", "entityid": "meshcentral",
"idpurl": "https://server/saml2", "idpurl": "https://server/saml2",
"cert": "saml.pem" "cert": "saml.pem"
@ -456,7 +476,7 @@
"uid": "anneonyme", "uid": "anneonyme",
"mail": "anneonyme@example.com", "mail": "anneonyme@example.com",
"email": "anneonyme@example.com", "email": "anneonyme@example.com",
"otherMail": [ "other.anneonyme@example.com", "anneonyme@example.com" ] "otherMail": ["other.anneonyme@example.com", "anneonyme@example.com"]
}, },
"so": { "so": {
"displayName": "Sticker Sophie", "displayName": "Sticker Sophie",
@ -464,7 +484,7 @@
"uid": "ssticker", "uid": "ssticker",
"mail": "ssticker@example.com", "mail": "ssticker@example.com",
"email": "ssticker@example.com", "email": "ssticker@example.com",
"otherMail": [ "other.ssticker@example.com", "ssticker@example.com" ] "otherMail": ["other.ssticker@example.com", "ssticker@example.com"]
} }
}, },
"__LDAPOptions": { "__LDAPOptions": {
@ -513,7 +533,7 @@
"_sendmail": { "_sendmail": {
"newline": "unix", "newline": "unix",
"path": "/usr/sbin/sendmail", "path": "/usr/sbin/sendmail",
"_args": [ "-f", "foo@example.com" ] "_args": ["-f", "foo@example.com"]
}, },
"_sms": { "_sms": {
"provider": "twilio", "provider": "twilio",