How e-allora/patchowner works
PatchOwner replays recent CISA KEV advisories against an uploaded or local asset inventory, decides which notices warrant action and who should receive them, then produces an HTML report. The CLI and web upload flow share the replay engine. The report surfaces notices, policy reasoning, health checks, follow-through, and sharing controls. Source excerpts establish the central calls; unsampled report and web details are represented only where documented by the README or visible template lookup.
Main entry points: engine.py Replay engine · web.py Upload web app · cli.py CLI commands · decide.py Decision and routing
Components 16
Entry points
- CLI commands
patchowner/cli.py - Upload web app
patchowner/web.py
Replay pipeline
- Replay engine
patchowner/engine.py - Inventory parser
patchowner/inventory.py - KEV feed and window
patchowner/kev.py - Advisory matching
patchowner/matching.py
Policy and routing
- Decision and routing
patchowner/decide.py - SSVC assessment
patchowner/ssvc.py - Default policy
patchowner/policies/deployer_default.csv - Inventory health
patchowner/health.py
Report and follow-through
- Notice state
patchowner/state.py - Report renderer
patchowner/report.py - HTML report view
patchowner/templates/report.html
Other components
- Operator
- CISA KEV catalog
- Report reader
Connections 20
- Operator → CLI commands: runs command
README.md - Operator → Upload web app: uploads inventory
README.md - CLI commands → Replay engine: runs replay
patchowner/cli.py - Upload web app → Replay engine: runs replay
patchowner/web.py - Upload web app → Inventory parser: checks CSV fields
patchowner/web.py - Upload web app → Notice state: records actions
patchowner/web.py - Replay engine → Inventory parser: parses CSV
patchowner/engine.py - Replay engine → KEV feed and window: loads and filters
patchowner/engine.py - KEV feed and window → CISA KEV catalog: downloads feed
patchowner/kev.py - Replay engine → Advisory matching: matches advisories
patchowner/engine.py - Replay engine → Decision and routing: decides matches
patchowner/engine.py - Decision and routing → SSVC assessment: assesses policy
patchowner/decide.py - SSVC assessment → Default policy: loads default
patchowner/ssvc.py - Decision and routing → Notice state: reads notice history
patchowner/decide.py - Replay engine → Inventory health: assesses health
patchowner/engine.py - Replay engine → Report renderer: renders replay
patchowner/engine.py - Report renderer → HTML report view: renders template
patchowner/report.py - CLI commands → Report renderer: writes HTML
patchowner/cli.py - Report reader → Upload web app: submits actions
patchowner/web.py - Report reader → HTML report view: views report
README.md