cfn_nag icon indicating copy to clipboard operation
cfn_nag copied to clipboard

[Request] Print suppressions from blacklist file

Open bryanburke opened this issue 4 years ago • 1 comments

Currently, the flag to print rule suppressions does not print the rules suppressed via a blacklist file. Would it be possible for cfn_nag and cfn_nag_scan to include blacklisted rules in their suppressions output?

bryanburke avatar Mar 16 '20 02:03 bryanburke

for whoever picks this one up... mechanics are probably pretty easy. either record what's going on in filter_violations_by_blacklist or take the intersect of the blacklist and the results at the point of showing results maybe? thing to keep in mind is that while it's probably fine to add to the text results, we need to add a field to the json results like blacklisted_rules

ghost avatar Mar 16 '20 14:03 ghost