Skip to content

Bundle 7 issue fixes: hashable Finding, distinct ADM ids, unified PWD-002 guidance, SigAge warning, partial-write logging, tz-aware scan_time, IP filter#24

Open
TiltedLunar123 wants to merge 7 commits into
mainfrom
work/2026-04-25
Open

Bundle 7 issue fixes: hashable Finding, distinct ADM ids, unified PWD-002 guidance, SigAge warning, partial-write logging, tz-aware scan_time, IP filter#24
TiltedLunar123 wants to merge 7 commits into
mainfrom
work/2026-04-25

Conversation

@TiltedLunar123
Copy link
Copy Markdown
Owner

Summary

Closes seven open GitHub issues with small, isolated fixes. Each commit is its own logical unit so individual fixes can be reverted in isolation if needed.

Fixes

Test plan

  • python -m pytest -q passes (143 tests, up from 122)
  • python -m ruff check . clean
  • 21 new tests cover the new behavior:
    • TestFindingHash (3): hashability, hash-equality, set-deduplication
    • TestAdminCheckIds (2): success path uses ADM-002, failure path keeps ADM-001
    • TestPasswordPolicyMessaging (3): short/borderline/compliant length cases
    • TestAntivirusSigAge (3): unparseable, empty, current values
    • TestPartialReportFailureLogging (4): partial failure, full success, total failure, json-only
    • TestSystemInfoScanTime (1): RFC 3339 with UTC offset
    • TestUninterestingIpFilter (5): loopback v4/v6, APIPA, link-local v6, real addresses
  • Manual run on a Windows host to confirm reports still emit correctly (left for reviewer; protected repo)

Notes

  • No major dependency bumps.
  • No public API changes beyond ADM-001 -> ADM-002 for the success-case finding (consumers parsing JSON by check_id should update if they rely on the old behavior; this was a bug per Duplicate check_id ADM-001 used for both success and failure findings #4).
  • winrecon.cli.write_reports is now a public-ish helper. It is not exported through __init__.py.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant