From df606674db5524c26575f3345d36e1fd110827a5 Mon Sep 17 00:00:00 2001 From: Jeremy Long Date: Sun, 22 Feb 2015 10:22:44 -0500 Subject: [PATCH] added referenced projects to the report to resolve issue #185 Former-commit-id: 61eb8b70dccedf12b745d4c9a73e8f6bc2a0f9c8 --- .../main/resources/templates/HtmlReport.vsl | 31 +++++++++---------- 1 file changed, 14 insertions(+), 17 deletions(-) diff --git a/dependency-check-core/src/main/resources/templates/HtmlReport.vsl b/dependency-check-core/src/main/resources/templates/HtmlReport.vsl index 54d88da56..bf948426c 100644 --- a/dependency-check-core/src/main/resources/templates/HtmlReport.vsl +++ b/dependency-check-core/src/main/resources/templates/HtmlReport.vsl @@ -534,7 +534,7 @@ arising out of or in connection with the use of this tool, the analysis performe #end
- Display: Showing Vulnerable Dependencies

+ Display: Showing Vulnerable Dependencies (click to show all)

#set($lnkcnt=0) @@ -606,22 +606,6 @@ arising out of or in connection with the use of this tool, the analysis performe #end
-##

Dependencies

#set($lnkcnt=0) #set($cnt=0) @@ -644,6 +628,19 @@ arising out of or in connection with the use of this tool, the analysis performe File Path: $enc.html($dependency.FilePath)
MD5: $enc.html($dependency.Md5sum)
SHA1: $enc.html($dependency.Sha1sum) + #if ($dependency.projectReferences.size()==1) +
Referenced In Project: + #foreach($ref in $dependency.projectReferences) + $enc.html($ref) + #end + #end + #if ($dependency.projectReferences.size()>1) +
Referenced In Projects: + #end

#set($cnt=$cnt+1)