cdk-nag icon indicating copy to clipboard operation
cdk-nag copied to clipboard

feat: Add metadata to reports

Open agdimech opened this issue 3 years ago • 2 comments

Allow rules to specify arbitrary metadata to be included in generated reports.

This is an extension point to allow rule authors to be able to add additional metadata to rules that are triggered. Examples of this include custom categorisations i.e: Severity.

Overloading explanation or info doesn't seem like the right place for these types of dimensions and thought it would be better to include a new "catch-all" field for these purposes.

agdimech avatar Sep 28 '22 01:09 agdimech

Hey! Can you describe the use case more in depth? Why add a metadata field instead of using something like the explanation or info fields?

dontirun avatar Sep 28 '22 15:09 dontirun

Hey! Can you describe the use case more in depth? Why add a metadata field instead of using something like the explanation or info fields?

Updated the description.

agdimech avatar Sep 28 '22 23:09 agdimech

Closing due to inactivity

dontirun avatar Mar 14 '23 19:03 dontirun