2021-12-04 13:25:20 +00:00
|
|
|
{{- if . -}}
|
2021-12-04 20:29:28 +00:00
|
|
|
#### Container: {{ escapeXML ( index . 0 ).Target }}
|
2021-12-04 13:25:20 +00:00
|
|
|
{{ range . }}
|
2021-12-04 20:29:28 +00:00
|
|
|
|
2021-12-04 13:25:20 +00:00
|
|
|
**{{ escapeXML .Type }}**
|
|
|
|
|
|
|
|
{{ if (eq (len .Vulnerabilities) 0) }}
|
|
|
|
| No Vulnerabilities found |
|
|
|
|
|:---------------------------------|
|
|
|
|
|
|
|
|
{{ else }}
|
2022-12-23 19:45:18 +00:00
|
|
|
| Package | Vulnerability | Severity | Installed Version | Fixed Version |
|
|
|
|
|:----------------|:------------------:|:-----------:|:------------------:|:-------------:|
|
2021-12-04 13:25:20 +00:00
|
|
|
{{- range .Vulnerabilities }}
|
2022-12-23 19:45:18 +00:00
|
|
|
| {{ escapeXML .PkgName }} | {{ escapeXML .VulnerabilityID }} | {{ escapeXML .Vulnerability.Severity }} | {{ escapeXML .InstalledVersion }} | {{ escapeXML .FixedVersion }} |
|
2021-12-04 13:25:20 +00:00
|
|
|
{{- end }}
|
|
|
|
{{- end }}
|
|
|
|
{{- end }}
|
|
|
|
{{- else }}
|
2021-12-04 20:29:28 +00:00
|
|
|
|
2021-12-04 13:25:20 +00:00
|
|
|
| No Vulnerabilities found |
|
|
|
|
|:---------------------------------|
|
|
|
|
{{- end }}
|