{{- range . -}}
{{- $failures := len .Vulnerabilities }}
{{- if not (eq .Type "") }}
{{- end -}}
{{ range .Vulnerabilities }}
<{{ if .FixedVersion -}}error{{- else -}}skipped{{- end }} message="{{ escapeXML .Title }}" type="description">Upgrade {{ .PkgName }} to {{ .FixedVersion }} - {{ escapeXML .Description }}{{ if .FixedVersion -}}error{{- else -}}skipped{{- end }}>
{{- end }}
{{- $failures := len .Misconfigurations }}
{{- if not (eq .Type "") }}
{{- end -}}
{{ range .Misconfigurations }}
{{ escapeXML .Description }}
{{- end }}
{{- end }}