mirror of
https://github.com/anchore/grype
synced 2024-11-10 06:34:13 +00:00
docs(templates): escape description in junit.tmpl (#2088)
Signed-off-by: Felix Bünemann <Felix.Buenemann@gmail.com>
This commit is contained in:
parent
95430bbbff
commit
aacf153a17
1 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@
|
|||
</properties>
|
||||
{{- range .Matches }}
|
||||
<testcase classname="{{ .Artifact.Name }}-{{ .Artifact.Version }} ({{ .Artifact.Type }})" name="[{{ .Vulnerability.Severity }}] {{ .Vulnerability.ID }}">
|
||||
<failure message="{{ .Artifact.Name }}: {{ .Vulnerability.ID }}" type="description">{{ .Vulnerability.Description }} {{ .Artifact.CPEs }} {{ .Vulnerability.DataSource }}</failure>
|
||||
<failure message="{{ .Artifact.Name }}: {{ .Vulnerability.ID }}" type="description">{{html .Vulnerability.Description }} {{ .Artifact.CPEs }} {{ .Vulnerability.DataSource }}</failure>
|
||||
</testcase>
|
||||
{{- end }}
|
||||
</testsuite>
|
||||
|
|
Loading…
Reference in a new issue