{{- if . -}}
#### Container: {{ escapeXML ( index . 0 ).Target }}
    {{ range . }}

**{{ escapeXML .Type }}**

      {{ if (eq (len .Vulnerabilities) 0) }}
| No Vulnerabilities found         |
|:---------------------------------|

      {{ else }}
| Package         |    Vulnerability   |   Severity  |  Installed Version | Fixed Version |                   Links                   |
|:----------------|:------------------:|:-----------:|:------------------:|:-------------:|-----------------------------------------|
        {{- range .Vulnerabilities }}
| {{ 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>  |
        {{- end }}
      {{- end }}
    {{- end }}
{{- else }}

| No Vulnerabilities found         |
|:---------------------------------|
{{- end }}
