Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

About

Compares the installed software versions against a known vulnerabilities database (e.g., retrieved f

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

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

Depth marker treatment noted first: a marker tied on a sounding line, Baloo Bhaina 2 in dark blue on pale ice.

cha-missingpatchauditor

A plain unmarked aluminium bird ring beside a pair of ringing pliers with wooden handles on a khaki canvas ringing case, the heading plate

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

Water in three depths: the flank still with a slow lure point, a particle current through the grotto mouth, and a glass sponge giving off a faint filtered cloud at long intervals

Compares installed software versions against a vulnerabilities database and reports on missing security patches.

Install

git clone https://github.com/ShadowGuard-AI/cha-missingpatchauditor
cd cha-missingpatchauditor
pip install -r requirements.txt

A major divider: a tube worm crown of small fans across the full page width

Usage

Dive log entry: Both Paths Are Required. The baseline path and the database path are both required; only the output path is optional.

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

A minor divider: a centred cluster of five tube worm fans

Parameters

  • -h: show help message and exit.
  • -b, --baseline: path to the baseline YAML or JSON file, required.
  • -d, --database: path to the vulnerabilities database JSON file, required.
  • -o, --output: path to the output file (optional). If not specified, output prints to stdout.

A major divider: a tube worm crown of small fans across the full page width

Input formats

  • Baseline: a JSON or YAML object with a description string and a rules list. Each rule has name, software, installed_version, required_version, and severity (high, medium, or low).
  • Database: a JSON list of objects, each with software, version, cve, and description.

A minor divider: a centred cluster of five tube worm fans

Verified behavior

Dive log entry: Exact Match or Silence. A below required install is reported only when a database row matches its installed version as an exact string, as the limit line below states in full.

  • A baseline with openssl installed at 1.0.0 and required at 1.1.1, plus a database row for openssl version 1.0.0, reported that missing patch with its CVE, description, and severity.
  • A rule already at its required version was not reported.
  • With -o, the same JSON report was written to the named file.
  • A missing input file exits 1, and a baseline or database that fails its schema exits 1.
  • Limit, verified by run: a below-required install is reported only when a database row matches its installed version as an exact string. With the database row at version 1.0.1 instead of the installed 1.0.0, the tool printed "No missing patches found." and exited 0.

A major divider: a tube worm crown of small fans across the full page width

License

MIT License, see LICENSE.

About

Compares the installed software versions against a known vulnerabilities database (e.g., retrieved f

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages