diff --git a/html.tpl b/html.tpl index 46b6086..0c2699e 100644 --- a/html.tpl +++ b/html.tpl @@ -81,11 +81,11 @@ - -

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

+

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

{{- range . }} - + {{- if (eq (len .Vulnerabilities) 0) }} {{- else }} @@ -98,7 +98,7 @@ - {{- range .Vulnerabilities }} + {{- range .Vulnerabilities }} @@ -107,12 +107,16 @@ - {{- end }} + {{- end }} {{- end }} {{- if (eq (len .Misconfigurations ) 0) }} diff --git a/junit.tpl b/junit.tpl new file mode 100644 index 0000000..a12e942 --- /dev/null +++ b/junit.tpl @@ -0,0 +1,18 @@ + + +{{- range . -}} +{{- $failures := len .Vulnerabilities }} + + {{- if not (eq .Type "") }} + + + + {{- end -}} + {{ range .Vulnerabilities }} + + {{ escapeXML .Description }} + + {{- end }} + +{{- end }} + \ No newline at end of file diff --git a/report.html b/report.html new file mode 100644 index 0000000..8e0a12a --- /dev/null +++ b/report.html @@ -0,0 +1,274 @@ + + + + + + localhost/jenkins-podman:v0.2.4-3 (alpine 3.15.0) - Trivy Report - 2022-01-25T11:41:36.713570361Z + + + +

localhost/jenkins-podman:v0.2.4-3 (alpine 3.15.0) - Trivy Report - 2022-01-25T11:41:36.713619189Z

+
{{ escapeXML .Type }}
{{ escapeXML .Target }}({{ escapeXML .Type }})
No Vulnerabilities found
Title Links
{{ escapeXML .PkgName }} {{ escapeXML .VulnerabilityID }}{{ escapeXML .FixedVersion }} {{ escapeXML .Title }}
No Misconfigurations found
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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
+ +