summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Config
diff options
context:
space:
mode:
authorIsrael Madueme <purelogiq@gmail.com>2018-09-10 18:34:56 +0200
committerGitHub <noreply@github.com>2018-09-10 18:34:56 +0200
commita91453b19c462929b3ab77927b0d0a6807558b92 (patch)
tree3eb41154780fbff36ec809eb42f382c2639c76ed /Bugzilla/Config
parent2e6e3e13587ee526ba94faabd5551e67508518f5 (diff)
downloadbugzilla-a91453b19c462929b3ab77927b0d0a6807558b92.tar.gz
bugzilla-a91453b19c462929b3ab77927b0d0a6807558b92.tar.xz
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.
Diffstat (limited to 'Bugzilla/Config')
-rw-r--r--Bugzilla/Config/Reports.pm37
1 files changed, 37 insertions, 0 deletions
diff --git a/Bugzilla/Config/Reports.pm b/Bugzilla/Config/Reports.pm
new file mode 100644
index 000000000..26c5aad57
--- /dev/null
+++ b/Bugzilla/Config/Reports.pm
@@ -0,0 +1,37 @@
+# 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.
+
+package Bugzilla::Config::Reports;
+
+use 5.10.1;
+use strict;
+use warnings;
+
+use Bugzilla::Config::Common;
+
+our $sortkey = 1100;
+
+sub get_param_list {
+ my $class = shift;
+ my @param_list = (
+ {
+ name => 'report_secbugs_active',
+ type => 'b',
+ default => 1,
+ },
+ {
+ name => 'report_secbugs_emails',
+ type => 't',
+ default => 'bugzilla-admin@mozilla.org'
+ },
+ {
+ name => 'report_secbugs_products',
+ type => 'l',
+ default => '[]'
+ },
+ );
+}