From 71d7acca4943fd3944c6663012380963f6c97371 Mon Sep 17 00:00:00 2001 From: Stefan Reimer Date: Tue, 25 Jan 2022 14:58:38 +0100 Subject: [PATCH] feat: improve readability of report --- html.tpl | 7 +- report.html | 276 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 280 insertions(+), 3 deletions(-) create mode 100644 report.html diff --git a/html.tpl b/html.tpl index 0c2699e..ecde0e1 100644 --- a/html.tpl +++ b/html.tpl @@ -12,6 +12,7 @@ } .group-header th { font-size: 200%; + background-color: #E4E4E4; } .sub-header th { font-size: 150%; @@ -38,7 +39,7 @@ .severity-MEDIUM { background-color: #e9c60060; } .severity-HIGH { background-color: #ff880060; } .severity-CRITICAL { background-color: #e4000060; } - .severity-UNKNOWN { background-color: #74747460; } + .severity-UNKNOWN { background-color: #74747430; } table tr td:first-of-type { font-weight: bold; } @@ -81,8 +82,8 @@ -

- {{- escapeXML ( index . 0 ).Target }} - Trivy Report - {{ getCurrentTime }}

+

+ Trivy Report - {{ getCurrentTime }}

{{- range . }} diff --git a/report.html b/report.html new file mode 100644 index 0000000..cc63bb7 --- /dev/null +++ b/report.html @@ -0,0 +1,276 @@ + + + + + + localhost/jenkins-podman:v0.2.4-3 (alpine 3.15.0) - Trivy Report - 2022-01-25T13:58:07.832142733Z + + + +

+ Trivy Report - 2022-01-25T13:58:07.832152637Z

+
{{ escapeXML .Target }}({{ escapeXML .Type }})
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
localhost/jenkins-podman:v0.2.4-3 (alpine 3.15.0)(alpine)
No Vulnerabilities found
No Misconfigurations found
Java(jar)
No Vulnerabilities found
No Misconfigurations found
usr/bin/buildah(gobinary)
PackageVulnerability IDSeverityInstalled VersionFixed VersionTitleLinks
github.com/containerd/containerdCVE-2021-41103HIGHv1.5.5v1.4.11, v1.5.7containerd: insufficiently restricted permissions on container root and plugin directories
github.com/opencontainers/image-specGMS-2021-101UNKNOWNv1.0.2-0.20210819154149-5ad6f50d62831.0.2Clarify `mediaType` handling
golang.org/x/textCVE-2021-38561UNKNOWNv0.3.60.3.7
No Misconfigurations found
usr/bin/git-lfs(gobinary)
PackageVulnerability IDSeverityInstalled VersionFixed VersionTitleLinks
golang.org/x/cryptoCVE-2020-29652HIGHv0.0.0-20201112155050-0c6587e931a9v0.0.0-20201216223049-8b5274cf687fgolang: crypto/ssh: crafted authentication request can lead to nil pointer dereference
golang.org/x/textCVE-2021-38561UNKNOWNv0.3.50.3.7
No Misconfigurations found
usr/bin/podman(gobinary)
PackageVulnerability IDSeverityInstalled VersionFixed VersionTitleLinks
github.com/opencontainers/image-specGMS-2021-101UNKNOWNv1.0.2-0.20210819154149-5ad6f50d62831.0.2Clarify `mediaType` handling
No Misconfigurations found
usr/bin/trivy(gobinary)
PackageVulnerability IDSeverityInstalled VersionFixed VersionTitleLinks
github.com/opencontainers/image-specGMS-2021-101UNKNOWNv1.0.2-0.20190823105129-775207bd45b61.0.2Clarify `mediaType` handling
No Misconfigurations found
usr/libexec/cni/bandwidth(gobinary)
No Vulnerabilities found
No Misconfigurations found
usr/libexec/cni/bridge(gobinary)
No Vulnerabilities found
No Misconfigurations found
usr/libexec/cni/dhcp(gobinary)
No Vulnerabilities found
No Misconfigurations found
usr/libexec/cni/firewall(gobinary)
No Vulnerabilities found
No Misconfigurations found
usr/libexec/cni/host-device(gobinary)
No Vulnerabilities found
No Misconfigurations found
usr/libexec/cni/host-local(gobinary)
No Vulnerabilities found
No Misconfigurations found
usr/libexec/cni/ipvlan(gobinary)
No Vulnerabilities found
No Misconfigurations found
usr/libexec/cni/loopback(gobinary)
No Vulnerabilities found
No Misconfigurations found
usr/libexec/cni/macvlan(gobinary)
No Vulnerabilities found
No Misconfigurations found
usr/libexec/cni/portmap(gobinary)
No Vulnerabilities found
No Misconfigurations found
usr/libexec/cni/ptp(gobinary)
No Vulnerabilities found
No Misconfigurations found
usr/libexec/cni/sbr(gobinary)
No Vulnerabilities found
No Misconfigurations found
usr/libexec/cni/static(gobinary)
No Vulnerabilities found
No Misconfigurations found
usr/libexec/cni/tuning(gobinary)
No Vulnerabilities found
No Misconfigurations found
usr/libexec/cni/vlan(gobinary)
No Vulnerabilities found
No Misconfigurations found
usr/libexec/cni/vrf(gobinary)
No Vulnerabilities found
No Misconfigurations found
+ +