Merge pull request #5265 from faustogut/patch-3

Update meshcentral-config-schema.json
This commit is contained in:
Ylian Saint-Hilaire 2023-08-06 14:23:24 -07:00 committed by GitHub
commit 44071e93e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -451,46 +451,49 @@
} }
}, },
"deviceMeshRouterLinks": { "deviceMeshRouterLinks": {
"rdp": { "type": "boolean", "default": true, "description": "Display a RDP link in the device tab when supported." }, "type": "object",
"ssh": { "type": "boolean", "default": true, "description": "Display a SSH link in the device tab when supported." }, "properties": {
"scp": { "type": "boolean", "default": true, "description": "Display a SCP link in the device tab when supported." }, "rdp": { "type": "boolean", "default": true, "description": "Display a RDP link in the device tab when supported." },
"extralinks": { "ssh": { "type": "boolean", "default": true, "description": "Display a SSH link in the device tab when supported." },
"type": "array", "scp": { "type": "boolean", "default": true, "description": "Display a SCP link in the device tab when supported." },
"items": { "extralinks": {
"type": "object", "type": "array",
"additionalProperties": false, "items": {
"required": [ "name", "protocol", "port" ], "type": "object",
"properties": { "additionalProperties": false,
"name": { "required": [ "name", "protocol", "port" ],
"description": "Name of the link to be displayed on the web site.", "properties": {
"type": "string" "name": {
}, "description": "Name of the link to be displayed on the web site.",
"protocol": { "type": "string"
"description": "Protocol. Valid values are: custom,http,https,rdp,ssh,scp,mcrdesktop,mcrfiles.", },
"type": "string" "protocol": {
}, "description": "Protocol. Valid values are: custom,http,https,rdp,ssh,scp,mcrdesktop,mcrfiles.",
"port": { "type": "string"
"description": "The port on the remote device.", },
"default": 0, "port": {
"minimum": 0, "description": "The port on the remote device.",
"maximum": 65535, "default": 0,
"type": "integer" "minimum": 0,
}, "maximum": 65535,
"ip": { "type": "integer"
"description": "Target IP address. If not specified, the target of the connection is the remote device running the MeshAgent.", },
"type": "string" "ip": {
}, "description": "Target IP address. If not specified, the target of the connection is the remote device running the MeshAgent.",
"localport": { "type": "string"
"description": "The local port MeshCentral Router would bind to. By default, a random available port is used.", },
"default": 0, "localport": {
"minimum": 0, "description": "The local port MeshCentral Router would bind to. By default, a random available port is used.",
"maximum": 65535, "default": 0,
"type": "integer" "minimum": 0,
}, "maximum": 65535,
"filter": { "type": "integer"
"description": "Array of node/<domain>/<id> or mesh/<domain>/<id> or tag:<tag> strings. When set, the link will only show up for the specified devices, device groups or device tag.", },
"type": "array", "filter": {
"items": { "type": "string" } "description": "Array of node/<domain>/<id> or mesh/<domain>/<id> or tag:<tag> strings. When set, the link will only show up for the specified devices, device groups or device tag.",
"type": "array",
"items": { "type": "string" }
}
} }
} }
} }