cha-missingpatchauditor

The Ringing Station. A command line auditor that compares the installed software versions declared in a baseline file against a vulnerabilities database file and reports the missing security patches. Every bird is measured and entered only when the table holds its exact figure: both sides of the comparison are documents the user supplies, and nothing is fetched and no live system is inspected.

A ringer holding a small robin gently in both hands while a second pair of hands closes the aluminium ring on its leg with ringing pliers, over the wooden measuring board
The ring is closed only on the bird that is actually in the hand.
BaselineA description plus rules: name, software, installed_version, required_version, and a severity of high, medium, or low
DatabaseA JSON list of rows, each with software, version, cve, and description
Match ruleA below required install is reported only when a database row matches its installed version as an exact string
ExitsA missing file or a schema failure exits 1; a completed comparison exits 0

Usage

python3 main.py -b BASELINE -d DATABASE [-o OUTPUT]

Both files are schema validated before anything is compared. The report prints to stdout, or to the file named by -o.

OptionWhat it does
-b, --baselinePath to the baseline YAML or JSON file. Required.
-d, --databasePath to the vulnerabilities database JSON file. Required.
-o, --outputPath to the output file. Optional; if not specified, the report prints to stdout.
-hShow help message and exit.
A ringing station at dawn under a canvas shelter: one ringer measuring a small bird's wing against a wooden ruler over the board while the second writes in the red record book, mist nets and grey dawn behind
Measurement on one side of the table, the kept record on the other.

Stated limits