From 72d5c970323222a244d47983916889a42c8f3b24 Mon Sep 17 00:00:00 2001 From: Stefan Reimer Date: Wed, 19 Jan 2022 00:37:43 +0100 Subject: [PATCH] fix: minor tweaks to Trivy report HTML template --- html.tpl | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/html.tpl b/html.tpl index 0fe885f..77591ec 100644 --- a/html.tpl +++ b/html.tpl @@ -19,7 +19,6 @@ table, th, td { border: 1px solid black; border-collapse: collapse; - white-space: nowrap; padding: .3em; } table { @@ -88,7 +87,7 @@ {{- range . }} {{ escapeXML .Type }} {{- if (eq (len .Vulnerabilities) 0) }} - No Vulnerabilities found + No Vulnerabilities found {{- else }} Package @@ -116,7 +115,7 @@ {{- end }} {{- end }} {{- if (eq (len .Misconfigurations ) 0) }} - No Misconfigurations found + No Misconfigurations found {{- else }} Type @@ -131,7 +130,7 @@ {{ escapeXML .ID }} {{ escapeXML .Title }} {{ escapeXML .Severity }} - + {{ escapeXML .Message }}
{{ escapeXML .PrimaryURL }}