Source code
Revision control
Copy as Markdown
Other Tools
# 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
# Adding a new metric? We have docs for that!
---
$tags:
- 'WebExtensions :: General'
# NOTE: this should be kept in sync with the metric as registered
# using Services.fog.registerRuntimeMetric from api.js.
data_leak_blocker:
report_v1:
type: event
description: >
Recorded on requests originated from add-on that are targeting
one of the domains listed in the related RemoteSettings data.
bugs:
data_reviews:
notification_emails:
- addons-dev-internal@mozilla.com
data_sensitivity:
- interaction
send_in_pings:
- data-leak-blocker
expires: 146
extra_keys:
addon_id:
type: string
description: the add-on id that has originated the request
blocked:
type: string
description: set to "true" if the request was blocked
method:
type: string
description: set to the request method (e.g. "GET", "POST", etc.)
content_policy_type:
type: string
description: numeric nsContentPolicyType enum value associated to the request.
is_addon_triggering:
type: string
description: set to "true" if the addon was the triggeringPrincipal
is_addon_loading:
type: string
description: set to "true" if the addon was the loadingPrincipal
is_content_script:
type: string
description: set to "true" if the request is originated from a content script