From 90073f48c1414fb250048da340dd581d32a70ae8 Mon Sep 17 00:00:00 2001 From: Steve Springett Date: Mon, 15 Jan 2018 22:34:00 -0600 Subject: [PATCH] Fixed issue introduced in 5bbb386f8cb4ade1aa6d88a18a0f5373e525ec57 where the refactored evidence collection was not being written to the XML report. This affected 3.0.0 - 3.1.0. --- .../src/main/resources/templates/xmlReport.vsl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dependency-check-core/src/main/resources/templates/xmlReport.vsl b/dependency-check-core/src/main/resources/templates/xmlReport.vsl index 86581ff37..b1ab9075d 100644 --- a/dependency-check-core/src/main/resources/templates/xmlReport.vsl +++ b/dependency-check-core/src/main/resources/templates/xmlReport.vsl @@ -84,21 +84,21 @@ Copyright (c) 2012 Jeremy Long. All Rights Reserved. #end -#foreach($evidence in $dependency.getVendorEvidence()) +#foreach($evidence in $dependency.getEvidence($VENDOR)) $enc.xml($evidence.getSource()) $enc.xml($evidence.getName()) $enc.xml($evidence.getValue().trim()) #end -#foreach($evidence in $dependency.getProductEvidence()) +#foreach($evidence in $dependency.getEvidence($PRODUCT)) $enc.xml($evidence.getSource()) $enc.xml($evidence.getName()) $enc.xml($evidence.getValue().trim()) #end -#foreach($evidence in $dependency.getVersionEvidence()) +#foreach($evidence in $dependency.getEvidence($PRODUCT)) $enc.xml($evidence.getSource()) $enc.xml($evidence.getName())