Load missing CSV cells as empty strings !2

merged merged by cmc on 2026-10-29 16:18 UTC · audit-labs/audit-report:fix/missing-cell-values into main

Discussion

cmc

csv.DictReader fills missing cells of short rows with None, and _match_leaf calls .strip() on the value, so a package with a short row crashed evaluation (AttributeError: 'NoneType' object has no attribute 'strip'). Found through audit-workbench.

  • load_package passes restval="".
  • Test: a short row loads with empty cells and the AWS ruleset evaluates. 61 passed.