mirror of
https://github.com/SAP/jenkins-library.git
synced 2025-01-18 05:18:24 +02:00
Ensure report severity limit is based on configuration
This commit is contained in:
parent
e37b714c99
commit
1a04394a00
@ -14,7 +14,7 @@
|
||||
</h2>
|
||||
<div>
|
||||
<h3> total number of vulnerabilities: ${totalVulnerabilities}<br />
|
||||
total number of high/critical vulnerabilities with CVSS score >= 7.0: ${totalSevereVulnerabilities}
|
||||
total number of high/critical vulnerabilities with CVSS score >= ${cvssSeverityLimit}: ${totalSevereVulnerabilities}
|
||||
</h3>
|
||||
</div>
|
||||
<p>Snapshot taken:${now} GMT</p>
|
||||
|
@ -530,6 +530,7 @@ def getReportHtml(config, vulnerabilityList, numSevereVulns) {
|
||||
now : now,
|
||||
reportTitle : config.whitesource.vulnerabilityReportTitle,
|
||||
style : config.style,
|
||||
cvssSeverityLimit : config.whitesource.cvssSeverityLimit,
|
||||
totalSevereVulnerabilities : numSevereVulns,
|
||||
totalVulnerabilities : vulnerabilityList.size(),
|
||||
vulnerabilityTable : vulnerabilityTable,
|
||||
|
Loading…
x
Reference in New Issue
Block a user