diff --git a/html.tpl b/html.tpl index 62164c7..6209333 100644 --- a/html.tpl +++ b/html.tpl @@ -20,6 +20,7 @@ table, th, td { border: 1px solid black; border-collapse: collapse; + white-space: nowrap; padding: .3em; } table { @@ -39,7 +40,7 @@ .severity-MEDIUM { background-color: #e9c60060; } .severity-HIGH { background-color: #ff880060; } .severity-CRITICAL { background-color: #e4000060; } - .severity-UNKNOWN { background-color: #74747430; } + .severity-UNKNOWN { background-color: #74747460; } table tr td:first-of-type { font-weight: bold; } diff --git a/junit.tpl b/junit.tpl index a12e942..0a2d7ee 100644 --- a/junit.tpl +++ b/junit.tpl @@ -1,5 +1,5 @@ - + {{- range . -}} {{- $failures := len .Vulnerabilities }} @@ -14,5 +14,18 @@ {{- end }} +{{- $failures := len .Misconfigurations }} + + {{- if not (eq .Type "") }} + + + + {{- end -}} + {{ range .Misconfigurations }} + + {{ escapeXML .Description }} + + {{- end }} + {{- end }} - \ No newline at end of file +