Add junit report format (#920)

* add junit report format

* add fingerprint to expected test result to fix tests

* fix expected junit test report
This commit is contained in:
Malte Morgenstern authored and GitHub committed 2023-06-13 13:37:32 -05:00
1 parent bc599446dc
commit 0dbdde837f
9 files changed
+247 -2

No files matched your search

+2
View File
@@ -24,6 +24,8 @@ func Write(findings []Finding, cfg config.Config, ext string, reportPath string)
err = writeJson(findings, file)
case ".csv", "csv":
err = writeCsv(findings, file)
case ".xml", "junit":
err = writeJunit(findings, file)
case ".sarif", "sarif":
err = writeSarif(cfg, findings, file)
}