diff --git a/junit.tpl b/junit.tpl index 0a2d7ee..08e649b 100644 --- a/junit.tpl +++ b/junit.tpl @@ -14,8 +14,12 @@ {{- end }} -{{- $failures := len .Misconfigurations }} - + +{{- if .MisconfSummary }} + +{{- else }} + +{{- end }} {{- if not (eq .Type "") }} @@ -23,7 +27,9 @@ {{- end -}} {{ range .Misconfigurations }} + {{- if (eq .Status "FAIL") }} {{ escapeXML .Description }} + {{- end }} {{- end }}