add lockAgentDownload to schema and config

Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
si458 2023-11-15 14:30:53 +00:00
parent dd92aa6628
commit fb8883a9d9
3 changed files with 22 additions and 0 deletions

View File

@ -385,6 +385,11 @@ See description for information about each item.
], ],
"description": "The HTTP proxy to use when contacting the time stamping server, if false, no proxy is used. By default, the npmproxy value is used." "description": "The HTTP proxy to use when contacting the time stamping server, if false, no proxy is used. By default, the npmproxy value is used."
}, },
"lockAgentDownload": {
"type": "boolean",
"default": false,
"description": "When enabled, MeshCentral will block all downloads of MeshAgent including install scripts, if the user is not logged in"
},
"ignoreAgentHashCheck": { "ignoreAgentHashCheck": {
"type": [ "type": [
"boolean", "boolean",
@ -1700,6 +1705,11 @@ See description for information about each item.
} }
} }
}, },
"lockAgentDownload": {
"type": "boolean",
"default": false,
"description": "When enabled, MeshCentral will block all downloads of MeshAgent including install scripts, if the user is not logged in"
},
"geoLocation": { "geoLocation": {
"type": "boolean", "type": "boolean",
"default": false, "default": false,

View File

@ -378,6 +378,11 @@
], ],
"description": "The HTTP proxy to use when contacting the time stamping server, if false, no proxy is used. By default, the npmproxy value is used." "description": "The HTTP proxy to use when contacting the time stamping server, if false, no proxy is used. By default, the npmproxy value is used."
}, },
"lockAgentDownload": {
"type": "boolean",
"default": false,
"description": "When enabled, MeshCentral will block all downloads of MeshAgent including install scripts, if the user is not logged in"
},
"ignoreAgentHashCheck": { "ignoreAgentHashCheck": {
"type": [ "type": [
"boolean", "boolean",
@ -1693,6 +1698,11 @@
} }
} }
}, },
"lockAgentDownload": {
"type": "boolean",
"default": false,
"description": "When enabled, MeshCentral will block all downloads of MeshAgent including install scripts, if the user is not logged in"
},
"geoLocation": { "geoLocation": {
"type": "boolean", "type": "boolean",
"default": false, "default": false,

View File

@ -101,6 +101,7 @@
"_mpsTlsOffload": true, "_mpsTlsOffload": true,
"_mpsHighSecurity": true, "_mpsHighSecurity": true,
"_no2FactorAuth": true, "_no2FactorAuth": true,
"_lockAgentDownload": true,
"_runOnServerStarted": "c:\\tmp\\mcstart.bat", "_runOnServerStarted": "c:\\tmp\\mcstart.bat",
"_runOnServerUpdated": "c:\\tmp\\mcupdate.bat", "_runOnServerUpdated": "c:\\tmp\\mcupdate.bat",
"_runOnServerError": "c:\\tmp\\mcerror.bat", "_runOnServerError": "c:\\tmp\\mcerror.bat",
@ -312,6 +313,7 @@
"_twoFactorCookieDurationDays": 30, "_twoFactorCookieDurationDays": 30,
"_agentInviteCodes": true, "_agentInviteCodes": true,
"_agentNoProxy": true, "_agentNoProxy": true,
"_lockAgentDownload": true,
"_geoLocation": true, "_geoLocation": true,
"_novnc": false, "_novnc": false,
"_mstsc": true, "_mstsc": true,