Machine Probe: quality
passingResults of the run of the commit 8df3cc3b89 at 2026-11-22 16:24 UTC (the run) that made this site; a library whose suite was not run in it has none.
The library: Machine Probe.
Quality gate
The library holds every condition of the gate.
| Condition | Holds | Why not |
|---|---|---|
| its tests were in the run | yes | |
| no test failed | yes | |
| no open issue of severity high or critical | yes |
Line coverage
97.8% of 414 lines of 14 source files are reached by the library's tests. The least covered files:
| File | Lines | Hit | Covered |
|---|---|---|---|
commons/machine-probe/src/logical/policies.ts | 116 | 109 | 94% |
commons/machine-probe/src/physical/run.ts | 37 | 35 | 94.6% |
commons/machine-probe/src/physical/enroll.ts | 68 | 68 | 100% |
commons/machine-probe/src/logical/observed.ts | 61 | 61 | 100% |
commons/machine-probe/src/logical/state.ts | 31 | 31 | 100% |
commons/machine-probe/src/logical/grc.ts | 27 | 27 | 100% |
commons/machine-probe/src/governance/requests.ts | 25 | 25 | 100% |
commons/machine-probe/library.ts | 23 | 23 | 100% |
commons/machine-probe/src/physical/scripts.ts | 7 | 7 | 100% |
commons/machine-probe/src/logical/judge.ts | 5 | 5 | 100% |
Tests
25 tests: 25 passed, 0 failed, 0 skipped, 0 planned or other.
Slowest
| Test | File | Result | Time |
|---|---|---|---|
| on a real sshd the host key is shown first, a wrong fingerprint pins and installs nothing, the right one pins that key alone and installs the probe and one restricted line, again safely, and the probe answers to the restricted key | suite/enroll.test.ts | passed | 17607 ms |
| the POSIX script answers facts and version, refuses every other request with status 2 and nothing printed, and says osquery is missing with status 3 | suite/contract.test.ts | passed | 7812 ms |
| on a real sshd the restricted key runs only the probe, opens no shell and forwards no port, a host key that is not pinned is refused, drift is told when an administrator is added, and a stopped machine is unreachable | suite/over-ssh.test.ts | passed | 3906 ms |
| only facts, version and one osquery SELECT are accepted, every other request is refused with its reason, and an encoded request is read back | suite/contract.test.ts | passed | 5 ms |
| the shared checker finds nothing in the real tree | suite/layers.test.ts | passed | 4 ms |
| an observation is given only where the probe answered; unreachable, refused and unreadable say so, and a query that is not one SELECT is refused before anything is sent | suite/observation.test.ts | passed | 2 ms |
| a request is sent as the last argument of the ssh target's batch call that checks the host key against the repository's file, and a request that is not one of the three is not sent | suite/contract.test.ts | passed | 1 ms |
| each finding becomes a result for the controls the framework has, with the status the probe gave and the time it was observed, and a finding that cites no control of the framework gives none | suite/grc.test.ts | passed | 1 ms |
| verify runs every check of the library | suite/layers.test.ts | passed | 1 ms |
History
The last 6 runs in which the library's tests ran, oldest first.
Requirements
26 requirements: 26 proved, 0 partly (a test skipped or planned), 0 failing, 0 with no test recorded.