Closed Bug 1889444 Opened 8 months ago Closed 5 months ago

Record a Glean event for sites purged by Bounce Tracking Protection

Categories

(Core :: Privacy: Anti-Tracking, task, P2)

task

Tracking

()

RESOLVED FIXED
129 Branch
Tracking Status
firefox129 --- fixed

People

(Reporter: pbz, Assigned: pbz)

References

Details

Attachments

(6 files, 2 obsolete files)

These events should be Nightly only since they include the site host that has been purged. This data will be essential for determining the false positive detection rate of the feature.

Here is a draft:

bounce.tracking.protection:
  action_purge:
    type: event
    description: >
      Dispatched whenever a bounce tracker site is purged.
    bugs:
      - https://bugzilla.mozilla.org/xxxxxx
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=xxxxxxx
    data_sensitivity:
      - stored_content
    notification_emails:
      - pbz@mozilla.com
      - bvandersloot@mozilla.com
    expires: never
    extra_keys:
      site_host:
        description: The site host of which the data has been purged.
        type: string
      bounce_time:
        description: Timestamp (seconds since epoch) of the last detected bounce.
        type: quantity
      success:
        description: Whether the purge data call was successful. false indicates an error in ClearDataService.
        type: boolean

The event is only collected in pre-release channels, since it contains siteHost which is considered
category 3 data.

Assignee: nobody → pbz
Status: NEW → ASSIGNED

Based on the context outlined in this document, as well as the Fabricator patch and the fact this is for Nightly users and not collecting the specific domain a user navigated to but instead the purged URI of the bounce tracker host, I believe this collection qualifies as Cat 2 and passes review.

Attachment #9395886 - Flags: data-review+

Thanks Cameron! For clarification: we don't report the full URI, but only the site host (eTLD+1). Also strictly speaking this new event isn't only collected in Nightly, but Nightly and early Beta, as is usually for pre-release telemetry or experiments. I Just want to make sure that this doesn't change your verdict here. Thanks!

Flags: needinfo?(cboozarjomehri)

Cameron confirmed via DM.

Flags: needinfo?(cboozarjomehri)
Pushed by pzuhlcke@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7cd441010547 Record a Glean event for sites purged by Bounce Tracking Protection. r=bvandersloot,anti-tracking-reviewers https://hg.mozilla.org/integration/autoland/rev/45c9c902f35f Test for Bounce Tracking Protection purge Glean event. r=bvandersloot,anti-tracking-reviewers
Pushed by pzuhlcke@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/dcee8826f797 Record a Glean event for sites purged by Bounce Tracking Protection. r=bvandersloot,anti-tracking-reviewers https://hg.mozilla.org/integration/autoland/rev/3f3c9202fe55 Test for Bounce Tracking Protection purge Glean event. r=bvandersloot,anti-tracking-reviewers
Status: ASSIGNED → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → 127 Branch
Regressions: 1892443
Blocks: 1893151
Blocks: 1893152

This reverts commit d13642ffba96ff2b73f1b442387fbea6f986fdab.

This reverts commit 48bde0422353201d2c978de5311a8706ac95d72b.

Pushed by pzuhlcke@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8695bd678933 Revert "Bug 1889444 - Record a Glean event for sites purged by Bounce Tracking Protection." r=bvandersloot,anti-tracking-reviewers https://hg.mozilla.org/integration/autoland/rev/00cff0524b7b Revert "Bug 1889444 - Test for Bounce Tracking Protection purge Glean event." r=bvandersloot,anti-tracking-reviewers
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attachment #9405156 - Attachment description: WIP: Bug 1889444 - Add BTP purge Glean event. r=#anti-tracking! → Bug 1889444 - Add BTP purge Glean event. r=#anti-tracking!
Attachment #9405157 - Attachment description: WIP: Bug 1889444 - Submit BTP custom ping on idle-daily. r=#anti-tracking! → Bug 1889444 - Submit BTP custom ping on idle-daily. r=#anti-tracking!

Comment on attachment 9405286 [details]
Bug 1889444 - Tests, r=#anti-tracking!

Changes made to address data steward recommendations

Attachment #9405286 - Flags: data-review+
Duplicate of this bug: 1893152
Duplicate of this bug: 1893151

Confirming that team agreed to data steward recommendations of 1) treating pre-release and release the same, 2) using OHTTP in both, and 3) removing client ID for both. Patch drafts created and no further issues on our side, thanks!

Depends on: 1902024
Pushed by pzuhlcke@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6101f2573e20 Add BTP purge Glean event. r=anti-tracking-reviewers,manuel,data-stewards https://hg.mozilla.org/integration/autoland/rev/18701634fe7e Submit BTP custom ping on idle-daily. r=anti-tracking-reviewers,manuel https://hg.mozilla.org/integration/autoland/rev/8a7a6ad6efe0 Tests, r=anti-tracking-reviewers,manuel

Backed out for causing build bustages in ClearDataCallback.h.

  • Backout link
  • Push with failures
  • Failure Log
  • Failure line: /builds/worker/checkouts/gecko/toolkit/components/antitracking/bouncetrackingprotection/ClearDataCallback.h(37,10): error: private field 'mBounceTime' is not used [-Werror,-Wunused-private-field]
Flags: needinfo?(pbz)
Pushed by pzuhlcke@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/794e7b951f29 Add BTP purge Glean event. r=anti-tracking-reviewers,manuel,data-stewards https://hg.mozilla.org/integration/autoland/rev/3b1dc8369d98 Submit BTP custom ping on idle-daily. r=anti-tracking-reviewers,manuel https://hg.mozilla.org/integration/autoland/rev/40bffb571031 Tests, r=anti-tracking-reviewers,manuel

Backed out for causing xpcshell failures on test_JOG.js

Attachment #9394852 - Attachment is obsolete: true
Flags: needinfo?(pbz)
Attachment #9395047 - Attachment is obsolete: true
Depends on: 1903578
Pushed by pzuhlcke@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/11dfe3f3bad6 Add BTP purge Glean event. r=anti-tracking-reviewers,manuel,data-stewards https://hg.mozilla.org/integration/autoland/rev/4e5b69dba375 Submit BTP custom ping on idle-daily. r=anti-tracking-reviewers,manuel https://hg.mozilla.org/integration/autoland/rev/ac73c5d0e3ee Tests, r=anti-tracking-reviewers,manuel
Target Milestone: 127 Branch → 129 Branch
Blocks: 1902024
No longer blocks: 1893151, 1893152
No longer depends on: 1902024
Duplicate of this bug: 1890581
See Also: → 1922602
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: