diff --git a/core/src/main/resources/templates/htmlReport.vsl b/core/src/main/resources/templates/htmlReport.vsl index 4f2ced5f99b..e5018b07ca8 100644 --- a/core/src/main/resources/templates/htmlReport.vsl +++ b/core/src/main/resources/templates/htmlReport.vsl @@ -632,7 +632,7 @@ Copyright (c) 2012 Jeremy Long. All Rights Reserved.
$enc.html($dependency.license)#else License:
$enc.html($dependency.license)@@ -956,7 +956,7 @@ Getting Help: $enc.html($vuln.name) + #elseif($vuln.getSource().name().equals("NPM")) #else @@ -1056,7 +1056,7 @@ Getting Help: #if ($dependency.license) - #if ($dependency.license.startsWith("http://")) + #if ($dependency.license.matches("https?://.+")) License:
$enc.html($dependency.license)#else License:
$enc.html($dependency.license)@@ -1157,7 +1157,7 @@ Getting Help: $enc.html($vuln.name) suppressed +
$enc.html($vuln.name) suppressed
#elseif($vuln.getSource().name().equals("NPM"))$enc.html($vuln.name) (NPM) suppressed
#else diff --git a/core/src/main/resources/templates/jenkinsReport.vsl b/core/src/main/resources/templates/jenkinsReport.vsl index 86ea79ae438..83e30a6e1b2 100644 --- a/core/src/main/resources/templates/jenkinsReport.vsl +++ b/core/src/main/resources/templates/jenkinsReport.vsl @@ -439,8 +439,8 @@ the reporting provided constitutes acceptance for use in an AS IS condition, and implied or otherwise, with regard to the analysis or its use. Any use of the tool and the reporting provided is at the user’s risk. In no event shall the copyright holder or OWASP be held liable for any damages whatsoever arising out of or in connection with the use of this tool, the analysis performed, or the resulting report. -$enc.html($dependency.license)#else License:
$enc.html($dependency.license)@@ -711,7 +711,7 @@ Getting Help: $enc.html($vuln.name) + #elseif($vuln.getSource().name().equals("NPM")) #else diff --git a/core/src/main/resources/templates/jsonReport.vsl b/core/src/main/resources/templates/jsonReport.vsl index fe115be6215..849f016c731 100644 --- a/core/src/main/resources/templates/jsonReport.vsl +++ b/core/src/main/resources/templates/jsonReport.vsl @@ -45,7 +45,7 @@ #if($applicationVersion)"version":"$enc.json($applicationVersion)",#end "reportDate": "$enc.json($scanDateXML)", "credits": { - "NVD": "This report contains data retrieved from the National Vulnerability Database: http://nvd.nist.gov", + "NVD": "This report contains data retrieved from the National Vulnerability Database: https://nvd.nist.gov", "CISA": "This report may contain data retrieved from the CISA Known Exploited Vulnerability Catalog: https://www.cisa.gov/known-exploited-vulnerabilities-catalog", "NPM": "This report may contain data retrieved from the Github Advisory Database (via NPM Audit API): https://github.com/advisories/", "RETIREJS": "This report may contain data retrieved from the RetireJS community: https://retirejs.github.io/retire.js/", diff --git a/core/src/main/resources/templates/sarifReport.vsl b/core/src/main/resources/templates/sarifReport.vsl index c872d3c8a0c..ab33ffc95e3 100644 --- a/core/src/main/resources/templates/sarifReport.vsl +++ b/core/src/main/resources/templates/sarifReport.vsl @@ -19,7 +19,7 @@ }, "help": { "text": "", - "markdown": "#if($rule.getSource().equals("NVD"))For more information see [$enc.json($rule.name)](http://web.nvd.nist.gov/view/vuln/detail?vulnId=$enc.url($rule.name)).\n + "markdown": "#if($rule.getSource().equals("NVD"))For more information see [$enc.json($rule.name)](https://web.nvd.nist.gov/view/vuln/detail?vulnId=$enc.url($rule.name)).\n #elseif($rule.getSource().equals("NPM"))For more information see [$enc.json($rule.name)](https://github.com/advisories/$enc.url($rule.name))\n#end \n\n If this is a false positive - consider using the HTML report to generate a suppression file. @@ -61,7 +61,7 @@ For more information see [How dependency-check works](https://jeremylong.github. ], "properties": { "disclaimer": "Dependency-Check is an open source tool performing a best effort analysis of 3rd party dependencies; false positives and false negatives may exist in the analysis performed by the tool. Use of the tool and the reporting provided constitutes acceptance for use in an AS IS condition, and there are NO warranties, implied or otherwise, with regard to the analysis or its use. Any use of the tool and the reporting provided is at the user's risk. In no event shall the copyright holder or OWASP be held liable for any damages whatsoever arising out of or in connection with the use of this tool, the analysis performed, or the resulting report.", - "nvd": "This report contains data retrieved from the National Vulnerability Database: http://nvd.nist.gov", + "nvd": "This report contains data retrieved from the National Vulnerability Database: https://nvd.nist.gov", "cisa": "This report may contain data retrieved from the CISA Known Exploited Vulnerability Catalog: https://www.cisa.gov/known-exploited-vulnerabilities-catalog", "npm": "This report may contain data retrieved from the the Github Advisory Database (via NPM Audit API): https://github.com/advisories/", "retirejs": "This report may contain data retrieved from the RetireJS community: https://retirejs.github.io/retire.js/",