From a91453b19c462929b3ab77927b0d0a6807558b92 Mon Sep 17 00:00:00 2001 From: Israel Madueme Date: Mon, 10 Sep 2018 12:34:56 -0400 Subject: Bug 1479466 - Add Security Bugs Report Adds the security bugs report with open count and median age open of sec-critical and sec-high bugs. --- .../default/reports/email/security-risk.html.tmpl | 95 ++++++++++++++++++++++ 1 file changed, 95 insertions(+) create mode 100644 template/en/default/reports/email/security-risk.html.tmpl (limited to 'template/en/default/reports/email/security-risk.html.tmpl') diff --git a/template/en/default/reports/email/security-risk.html.tmpl b/template/en/default/reports/email/security-risk.html.tmpl new file mode 100644 index 000000000..0fca42e05 --- /dev/null +++ b/template/en/default/reports/email/security-risk.html.tmpl @@ -0,0 +1,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 %] + + + + + Security [% terms.Bugs %] Report for the week of [% report_week FILTER html %] + + + +

Security [% terms.Bugs %] Report for the week of [% report_week FILTER html %]

+

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). +

+ +

[% terms.Bugs %] By Severity

+ + + + [% FOREACH keyword IN sec_keywords %] + + [% END %] + + + + [% FOREACH keyword IN sec_keywords %] + + + [% END %] + + [% FOREACH result IN results.reverse %] + + + [% FOREACH keyword IN sec_keywords %] + + + [% END %] + + [% END %] +
[% keyword FILTER html %]
Open CountMedian Days Open
[% result.date.ymd('-') FILTER html %] + [% IF result.bugs_by_sec_keyword.$keyword.open.size %] + + [% result.bugs_by_sec_keyword.$keyword.open.size FILTER html %] + + [% ELSE %] + [% result.bugs_by_sec_keyword.$keyword.open.size FILTER html %] + [% END %] + + [% result.bugs_by_sec_keyword.$keyword.median_age_open FILTER format("%.2f") FILTER html %] +
+ +

Sec-Critical + Sec-High [% terms.Bugs %] by Product

+ + + + [% FOREACH product IN products %] + + [% END %] + + + + [% FOREACH product IN products %] + + + [% END %] + + [% FOREACH result IN results.reverse %] + + + [% FOREACH product IN products %] + + + [% END %] + + [% END %] +
[% product FILTER html %]
Open CountMedian Days Open
[% result.date.ymd('-') FILTER html %] + [% IF result.bugs_by_product.$product.open.size %] + + [% result.bugs_by_product.$product.open.size FILTER html %] + + [% ELSE %] + [% result.bugs_by_product.$product.open.size FILTER html %] + [% END %] + + [% result.bugs_by_product.$product.median_age_open FILTER format("%.2f") FILTER html %] +
+ + -- cgit v1.2.3-24-g4f1b