cis-benchmark-pdf-parser
cis-benchmark-pdf-parser copied to clipboard
Unable to extract the rules with the absence of CIS control
Hi, I have try out the parsers on the latest benchmark for windows 10 and seems like there are some issue with the condition if CIS controls are missing.
You could try to comment the cis_count in the if :
if rule_count: row_count = [ rule_count, level_count, description_count, rat_count, acnt, rem_count, #defval_count, #cis_count, ]
Something like this, maybe check is default value is there