Closed Bug 1422671 Opened 2 years ago Closed 2 years ago

Add telemetry for login reputation service


(Toolkit :: Safe Browsing, enhancement, P2)




Tracking Status
firefox59 --- fixed


(Reporter: dimi, Assigned: dimi)



(Whiteboard: pwphish-content)


(2 files)

We can start with recording the time and result for local whitelist
Priority: -- → P2
Attached file
Attachment #8934097 - Flags: review?(francois)
Comment on attachment 8934096 [details]
Bug 1422671 - Add telemetry for login reputation service.  datareview?francois

::: toolkit/components/reputationservice/LoginReputation.cpp:587
(Diff revision 1)
> +
>    RefPtr<LoginReputationService> self = this;
>    mLoginWhitelist->QueryLoginWhitelist(aRequest->mParam)->Then(
>      GetCurrentThreadSerialEventTarget(), __func__,
> -    [self, aRequest](VerdictType aResolveValue) -> void {
> +    [self, aRequest, startTime](VerdictType aResolveValue) -> void {

Is that in milliseconds? If so, could you please rename it to `startTimeMs`?

We've had a few bugs in the past due to unit conversions :)
Attachment #8934096 - Flags: review?(francois) → review+
Comment on attachment 8934097 [details]

1) Is there or will there be **documentation** that describes the schema for the ultimate data set available publicly, complete and accurate?

Yes, Histograms.json

2) Is there a control mechanism that allows the user to turn the data collection on and off? (Note, for data collection not needed for security purposes, Mozilla provides such a control mechanism) Provide details as to the control mechanism available.

Telemetry setting.

3) If the request is for permanent data collection, is there someone who will monitor the data over time?**

Dimi Lee.

4) Using the **[category system of data types](** on the Mozilla wiki, what collection type of data do the requested measurements fall under?  **

Category 1.

5) Is the data collection request for default-on or default-off?

Default on.

6) Does the instrumentation include the addition of **any *new* identifiers** (whether anonymous or otherwise; e.g., username, random IDs, etc.  See the appendix for more details)?


7) Is the data collection covered by the existing Firefox privacy notice?


8) Does there need to be a check-in in the future to determine whether to renew the data?

No, permanent.
Attachment #8934097 - Flags: review?(francois) → review+
Pushed by
Add telemetry for login reputation service. r=francois datareview?francois
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
You need to log in before you can comment on or make changes to this bug.