-
Notifications
You must be signed in to change notification settings - Fork 43
/
summary.txt.ejs
30 lines (23 loc) · 1.01 KB
/
summary.txt.ejs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
SonarQube <%= vulnerabilityPhrase %> Report
Report Generated On <%= date %>
Project Name: <%= projectName %>
Application: <%= applicationName %>
Release: <%= releaseName %>
Branch: <%= branch %>
Delta analysis: <%= deltaAnalysis %>
<%_ if (inNewCodePeriod) { _%>
New Code Period: <%= inNewCodePeriod %>
<%_ } _%>
<%_ if (qualityGateStatus) { _%>
Quality gate status: <%= qualityGateStatus.projectStatus.status %> on <%= qualityGateStatus.projectStatus.period?.date %> (<%= qualityGateStatus.projectStatus.period?.parameter %>)
< <%_ for (const condition of qualityGateStatus.projectStatus.conditions) { _%> Metric: <%= condition.metricKey %></td>
Value: <%= condition.actualValue %> <%= condition.comparator == 'GT' ? '>' : '<' %> <%= condition.errorThreshold %></td>
<%_ } _%>
<%_ } _%>
Summary of the Detected <%= vulnerabilityPluralPhrase %>
Severity: HIGH
Number of Issues: <%= summary.high %>
Severity: MEDIUM
Number of Issues: <%= summary.medium %>
Severity: LOW
Number of Issues: <%= summary.low %>