Closed Bialogs closed 2 years ago
When converting CIS XLSX to Inspec, there are oftentimes when the spreadsheet is not 100% complete. We detect this with nil and empty checks, but should report via STDOUT a message to the user that these fields are empty due to input format.
We can do this in
https://github.com/mitre/inspec_tools/blob/586b0f6f25c9199d62bdc8d125a7b57ca9f4c889/lib/inspec_tools/inspec.rb#L300-L302
when the .nil? case is true.
.nil?
Given @camdenmoors latest work, this could be a good issue for him?
*2InSpec on the SAF CLI will now warn you if fields are missing but have a mapping
When converting CIS XLSX to Inspec, there are oftentimes when the spreadsheet is not 100% complete. We detect this with nil and empty checks, but should report via STDOUT a message to the user that these fields are empty due to input format.