The agent account a machine names comes from placement; the engine's verdicts on it from its health report (mesh-host.health, NodeHealth.Root and Contract); whether that verdict is on now from the watchman's presence, since the report is written on a change only. The judgement is the controller's: no report, not heard, an engine older than the judging, no verdict, or any verdict not healthy is not confined; a verdict waiting for the setuid search is quiet for twelve hours from when this self-check first saw it waiting. machine.<node>.agent-root, urgent, the controller's words. Rows in TestTheBusProbes; pins mesh-sdk f3677eb.
72 lines
1.4 KiB
JSON
72 lines
1.4 KiB
JSON
{
|
|
"module": "mesh-self-check",
|
|
"version": "1",
|
|
"runs-as": "mesh-self-check",
|
|
"claims": [
|
|
{
|
|
"name": "mesh-self-check",
|
|
"scope": "mesh",
|
|
"serves": [
|
|
"doctor",
|
|
"probes"
|
|
]
|
|
}
|
|
],
|
|
"invokes": [
|
|
"nats.nats_streams",
|
|
"nats.nats_closed_connections",
|
|
"seat:mesh-watchdogs.signals",
|
|
"seat:node-intrusion-prevention.banned"
|
|
],
|
|
"reads": [
|
|
"mesh-delivery-assigner.placement",
|
|
"mesh-delivery-assigner.seat-holders",
|
|
"mesh-delivery-watchman.presence",
|
|
"mesh-host.health"
|
|
],
|
|
"state": [
|
|
"findings",
|
|
"verdict",
|
|
{
|
|
"name": "verdicts",
|
|
"ttl-seconds": 604800
|
|
}
|
|
],
|
|
"own-secrets": {
|
|
"broker": "${dir:state}/broker"
|
|
},
|
|
"secrets-owner": "mesh-self-check",
|
|
"resources": [
|
|
{
|
|
"id": "account",
|
|
"type": "user",
|
|
"name": "mesh-self-check",
|
|
"shell": "/usr/bin/nologin",
|
|
"home": "/var/lib/mesh-self-check"
|
|
},
|
|
{
|
|
"id": "state",
|
|
"type": "directory",
|
|
"mode": "0700",
|
|
"owner": "mesh-self-check",
|
|
"place": ".",
|
|
"unknown": "program"
|
|
}
|
|
],
|
|
"build": {
|
|
"artifacts": [
|
|
{
|
|
"name": "tools",
|
|
"kind": "bundle",
|
|
"language": "go",
|
|
"system": "arch",
|
|
"from": "cmd/mesh-self-check",
|
|
"binary": "mesh-self-check",
|
|
"loads": [
|
|
"mesh-self-check"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|