cis-benchmark-pdf-parser icon indicating copy to clipboard operation
cis-benchmark-pdf-parser copied to clipboard

Unable to extract the rules with the absence of CIS control

Open Keith-Chong opened this issue 2 years ago • 1 comments

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.

Keith-Chong avatar Jul 22 '22 15:07 Keith-Chong

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

gruffatremi avatar Mar 16 '23 09:03 gruffatremi