#** This file is part of DependencyCheck. DependencyCheck is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. DependencyCheck is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with DependencyCheck. If not, see http://www.gnu.org/licenses/. Copyright (c) 2012 Jeremy Long. All Rights Reserved. * @author Jeremy Long (jeremy.long@gmail.com) @version 1 *# $esc.html($applicationName) $date #foreach($dependency in $dependencies) $esc.html($dependency.FileName) $esc.html($dependency.FilePath) $esc.html($dependency.Md5sum) $esc.html($dependency.Sha1sum) #if ($dependency.description) $esc.html($dependency.description) #end #if ($dependency.license) $esc.html($dependency.license) #end #if ( $dependency.analysisExceptions.size() != 0 ) #foreach($ex in $dependency.analysisExceptions) $esc.html($ex.message) #if ( $ex.stackTrace ) #foreach ($st in $ex.stackTrace) $esc.html($st) #end #end #if ( $ex.cause ) $esc.html($ex.cause.message) #if ( $ex.cause.stackTrace ) #foreach ($st in $ex.cause.stackTrace) $esc.html($st) #end #end #end #end #end #foreach($evidence in $dependency.getEvidenceUsed()) $esc.html($evidence.getSource()) $esc.html($evidence.getName()) $esc.html($evidence.getValue()) #end #if($dependency.getIdentifiers().size()>0) #foreach($id in $dependency.getIdentifiers()) $esc.html($id.value) $esc.html($id.url) #if( $id.description ) $esc.html($id.description) #end #end #end #if($dependency.getVulnerabilities().size()>0) #foreach($vuln in $dependency.getVulnerabilities()) $esc.html($vuln.name) $vuln.cvssScore #if ($vuln.cvssScore<4.0) Low #elseif ($vuln.cvssScore>=7.0) High #else Medium #end #if ($vuln.cwe) $esc.html($vuln.cwe) #end $esc.html($vuln.description) #foreach($ref in $vuln.getReferences()) $esc.html($ref.source) $esc.html($ref.url) $ref.name #end #foreach($vs in $vuln.getVulnerableSoftware()) $esc.html($vs.name) #end #end #end #end