Bug 1558856 - Collect values of MitM-related preferences. r=keeler, a=jcristau
authorTim D. Smith <tdsmith@mozilla.com>
Fri, 14 Jun 2019 18:01:22 +0000
changeset 537026 3d0f2d47703954d9c19b8044e0ebc6e74c8bcfec
parent 537025 07204fabaf183f107167fa931e828827dc389458
child 537027 4c21940d5185815ccac9f39a7299ac7bec18f9fe
push id2082
push userffxbld-merge
push dateMon, 01 Jul 2019 08:34:18 +0000
treeherdermozilla-release@2fb19d0466d2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskeeler, jcristau
bugs1558856
milestone68.0
Bug 1558856 - Collect values of MitM-related preferences. r=keeler, a=jcristau Having these values in telemetry will let us understand the prevalence of MitM in the wild, count instances of broken AV MitM, and understand how often these values have been manually configured. Differential Revision: https://phabricator.services.mozilla.com/D34741
toolkit/components/telemetry/app/TelemetryEnvironment.jsm
--- a/toolkit/components/telemetry/app/TelemetryEnvironment.jsm
+++ b/toolkit/components/telemetry/app/TelemetryEnvironment.jsm
@@ -263,16 +263,19 @@ const DEFAULT_ENVIRONMENT_PREFS = new Ma
   ["network.proxy.http", {what: RECORD_PREF_STATE}],
   ["network.proxy.ssl", {what: RECORD_PREF_STATE}],
   ["pdfjs.disabled", {what: RECORD_PREF_VALUE}],
   ["places.history.enabled", {what: RECORD_PREF_VALUE}],
   ["plugins.show_infobar", {what: RECORD_PREF_VALUE}],
   ["privacy.fuzzyfox.enabled", {what: RECORD_PREF_VALUE}],
   ["privacy.trackingprotection.enabled", {what: RECORD_PREF_VALUE}],
   ["privacy.donottrackheader.enabled", {what: RECORD_PREF_VALUE}],
+  ["security.enterprise_roots.auto-enabled", {what: RECORD_PREF_VALUE}],
+  ["security.enterprise_roots.enabled", {what: RECORD_PREF_VALUE}],
+  ["security.pki.mitm_detected", {what: RECORD_PREF_VALUE}],
   ["security.mixed_content.block_active_content", {what: RECORD_PREF_VALUE}],
   ["security.mixed_content.block_display_content", {what: RECORD_PREF_VALUE}],
   ["xpinstall.signatures.required", {what: RECORD_PREF_VALUE}],
 ]);
 
 const LOGGER_NAME = "Toolkit.Telemetry";
 
 const PREF_BLOCKLIST_ENABLED = "extensions.blocklist.enabled";