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 }}
|
|
|
|
| Package | Vulnerability | Severity | Installed Version | Fixed Version | Links |
|
|
|
|
|:----------------|:------------------:|:-----------:|:------------------:|:-------------:|-----------------------------------------|
|
|
|
|
{{- range .Vulnerabilities }}
|
2021-12-04 23:20:51 +00:00
|
|
|
| {{ escapeXML .PkgName }} | {{ escapeXML .VulnerabilityID }} | {{ escapeXML .Vulnerability.Severity }} | {{ escapeXML .InstalledVersion }} | {{ escapeXML .FixedVersion }} | <details><summary>Expand...</summary>{{ range .Vulnerability.References }}<a href={{ escapeXML . | printf "%q" }}>{{ escapeXML . }}</a><br>{{ end }}</details> |
|
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 }}
|