blob: 0fca42e054f6dd02d75a32360e236dd84dc2d50d (
plain)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
|
[%# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
#%]
[% PROCESS global/variables.none.tmpl %]
<!doctype html>
<html>
<head>
<title>Security [% terms.Bugs %] Report for the week of [% report_week FILTER html %]</title>
<base href="[% urlbase FILTER txt %]">
</head>
<body>
<p>Security [% terms.Bugs %] Report for the week of [% report_week FILTER html %]</p>
<p>To narrow down open [% terms.bugs %] click on the link and at the bottom of the search results use the 'Edit Search' functionality to filter by component and so on.
This will filter only the open [% terms.bugs %] counted in the report (as long as you do not modify the '[% terms.Bugs %] numbered' section of the search).
</p>
<h3>[% terms.Bugs %] By Severity</h3>
<table style="border: 1px solid grey">
<tr>
<th style="border: 1px solid grey"></th>
[% FOREACH keyword IN sec_keywords %]
<th style="border: 1px solid grey; text-align: center" colspan="2"><b>[% keyword FILTER html %]</b></th>
[% END %]
</tr>
<tr>
<td style="border: 1px solid grey"></td>
[% FOREACH keyword IN sec_keywords %]
<td style="border: 1px solid grey; text-align: right">Open Count</td>
<td style="border: 1px solid grey; text-align: right">Median Days Open</td>
[% END %]
</tr>
[% FOREACH result IN results.reverse %]
<tr>
<td style="border: 1px solid grey">[% result.date.ymd('-') FILTER html %]</td>
[% FOREACH keyword IN sec_keywords %]
<td style="border: 1px solid grey; text-align: right">
[% IF result.bugs_by_sec_keyword.$keyword.open.size %]
<a href="[% build_bugs_link(result.bugs_by_sec_keyword.$keyword.open) FILTER html %]">
[% result.bugs_by_sec_keyword.$keyword.open.size FILTER html %]
</a>
[% ELSE %]
[% result.bugs_by_sec_keyword.$keyword.open.size FILTER html %]
[% END %]
</td>
<td style="border: 1px solid grey; text-align: right">
[% result.bugs_by_sec_keyword.$keyword.median_age_open FILTER format("%.2f") FILTER html %]
</td>
[% END %]
</tr>
[% END %]
</table>
<h3>Sec-Critical + Sec-High [% terms.Bugs %] by Product</h3>
<table style="border: 1px solid grey">
<tr>
<th style="border: 1px solid grey"></th>
[% FOREACH product IN products %]
<th style="border: 1px solid grey; text-align: center" colspan="2"><b>[% product FILTER html %]</b></th>
[% END %]
</tr>
<tr>
<td style="border: 1px solid grey"></td>
[% FOREACH product IN products %]
<td style="border: 1px solid grey; text-align: right">Open Count</td>
<td style="border: 1px solid grey; text-align: right">Median Days Open</td>
[% END %]
</tr>
[% FOREACH result IN results.reverse %]
<tr>
<td style="border: 1px solid grey">[% result.date.ymd('-') FILTER html %]</td>
[% FOREACH product IN products %]
<td style="border: 1px solid grey; text-align: right">
[% IF result.bugs_by_product.$product.open.size %]
<a href="[% build_bugs_link(result.bugs_by_product.$product.open, product) FILTER html %]">
[% result.bugs_by_product.$product.open.size FILTER html %]
</a>
[% ELSE %]
[% result.bugs_by_product.$product.open.size FILTER html %]
[% END %]
</td>
<td style="border: 1px solid grey; text-align: right">
[% result.bugs_by_product.$product.median_age_open FILTER format("%.2f") FILTER html %]
</td>
[% END %]
</tr>
[% END %]
</table>
</body>
</html>
|