{{- if . }} {{- range . }}

Target {{ escapeXML .Target }}

{{- if (eq (len .Vulnerabilities) 0) }}

No Vulnerabilities found

{{- else }}

Vulnerabilities ({{ len .Vulnerabilities }})

{{- range .Vulnerabilities }} {{- end }}
Package ID Severity Installed Version Fixed Version
{{ escapeXML .PkgName }} {{ escapeXML .VulnerabilityID }} {{ escapeXML .Severity }} {{ escapeXML .InstalledVersion }} {{ escapeXML .FixedVersion }}
{{- end }} {{- if (eq (len .Misconfigurations ) 0) }}

No Misconfigurations found

{{- else }}

Misconfigurations

{{- range .Misconfigurations }} {{- end }}
Type ID Check Severity Message
{{ escapeXML .Type }} {{ escapeXML .ID }} {{ escapeXML .Title }} {{ escapeXML .Severity }} {{ escapeXML .Message }}
{{ escapeXML .PrimaryURL }}
{{- end }} {{- end }} {{- else }}

Trivy Returned Empty Report

{{- end }}