Update meshcentral-config-schema.json

Add "deviceMeshRouterLinks" missing type & properties attributes before properties list.
This commit is contained in:
Fausto Gutierrez 2023-07-27 17:38:11 +02:00 committed by GitHub
parent 05aeb8a244
commit 3971b26797
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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