stelligent / cfn_nag

Linting tool for CloudFormation templates
MIT License
1.25k stars 209 forks source link

[Request] JUnit XML output format #414

Open bryanburke opened 4 years ago

bryanburke commented 4 years ago

JUnit XML is a widely used format for encoding test results in DevOps workflows. Many tools, such as Jenkins for example, can ingest the format and display the results graphically, which can be extremely useful, especially when non-developer architects are reviewing test results. Would it be possible for cfn_nag to support JUnit XML output in the future?

For reference, Ant's JUnit XML schema is here: https://github.com/windyroad/JUnit-Schema/blob/master/JUnit.xsd

pproux commented 3 years ago

Yeah would be very cool ! :) But you can still take inspiration from https://github.com/aws-samples/cfn-security-scan-integration/blob/master/src/functions/junit_report.py