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

+1 -1
View File
@@ -41,7 +41,7 @@ func init() {
rootCmd.PersistentFlags().Int("exit-code", 1, "exit code when leaks have been encountered")
rootCmd.PersistentFlags().StringP("source", "s", ".", "path to source")
rootCmd.PersistentFlags().StringP("report-path", "r", "", "report file")
rootCmd.PersistentFlags().StringP("report-format", "f", "json", "output format (json, csv, sarif)")
rootCmd.PersistentFlags().StringP("report-format", "f", "json", "output format (json, csv, junit, sarif)")
rootCmd.PersistentFlags().StringP("baseline-path", "b", "", "path to baseline with issues that can be ignored")
rootCmd.PersistentFlags().StringP("log-level", "l", "info", "log level (trace, debug, info, warn, error, fatal)")
rootCmd.PersistentFlags().BoolP("verbose", "v", false, "show verbose output from scan")