51 lines
1.3 KiB
JSON
51 lines
1.3 KiB
JSON
{
|
|
"id": "meshcentral-readonly",
|
|
"name": "MeshCentral Read-only Inventory",
|
|
"description": "Read-only inventory and status for one approved MeshCentral group and device.",
|
|
"activation": {
|
|
"onStartup": true
|
|
},
|
|
"configSchema": {
|
|
"type": "object",
|
|
"required": [
|
|
"url",
|
|
"username",
|
|
"passwordEnv",
|
|
"groupName",
|
|
"deviceName"
|
|
],
|
|
"properties": {
|
|
"url": {
|
|
"type": "string",
|
|
"description": "MeshCentral base URL."
|
|
},
|
|
"username": {
|
|
"type": "string",
|
|
"description": "Dedicated least-privilege MeshCentral username."
|
|
},
|
|
"passwordEnv": {
|
|
"type": "string",
|
|
"description": "Environment variable containing the password; the password itself is never configured here."
|
|
},
|
|
"groupName": {
|
|
"type": "string",
|
|
"description": "Approved MeshCentral group name."
|
|
},
|
|
"deviceName": {
|
|
"type": "string",
|
|
"description": "Approved device name within the approved group."
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"version": "0.1.0",
|
|
"contracts": {
|
|
"tools": [
|
|
"meshcentral_health",
|
|
"meshcentral_list_groups",
|
|
"meshcentral_list_devices",
|
|
"meshcentral_device_status"
|
|
]
|
|
}
|
|
}
|