IF Commons GitHub

Machine Probe: quality

passing

Results 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.

ConditionHoldsWhy not
its tests were in the runyes
no test failedyes
no open issue of severity high or criticalyes

Line coverage

97.8% of 414 lines of 14 source files are reached by the library's tests. The least covered files:

FileLinesHitCovered
commons/machine-probe/src/logical/policies.ts11610994%
commons/machine-probe/src/physical/run.ts373594.6%
commons/machine-probe/src/physical/enroll.ts6868100%
commons/machine-probe/src/logical/observed.ts6161100%
commons/machine-probe/src/logical/state.ts3131100%
commons/machine-probe/src/logical/grc.ts2727100%
commons/machine-probe/src/governance/requests.ts2525100%
commons/machine-probe/library.ts2323100%
commons/machine-probe/src/physical/scripts.ts77100%
commons/machine-probe/src/logical/judge.ts55100%

Tests

25 tests: 25 passed, 0 failed, 0 skipped, 0 planned or other.

Slowest

TestFileResultTime
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 keysuite/enroll.test.tspassed17607 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 3suite/contract.test.tspassed7812 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 unreachablesuite/over-ssh.test.tspassed3906 ms
only facts, version and one osquery SELECT are accepted, every other request is refused with its reason, and an encoded request is read backsuite/contract.test.tspassed5 ms
the shared checker finds nothing in the real treesuite/layers.test.tspassed4 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 sentsuite/observation.test.tspassed2 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 sentsuite/contract.test.tspassed1 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 nonesuite/grc.test.tspassed1 ms
verify runs every check of the librarysuite/layers.test.tspassed1 ms

History

The last 6 runs in which the library's tests ran, oldest first.

Tests: 25, latest 25
Pass rate: 100 %, latest 100
Time: 26 to 38 s, latest 29

Requirements

26 requirements: 26 proved, 0 partly (a test skipped or planned), 0 failing, 0 with no test recorded.

Titles, headings, exports, tables, columns and requirements. Esc closes.