Open Bug 2085925 (tb-enterprise-event-logging) Opened 1 month ago Updated 6 days ago

TB client supports enterprise event logging

Categories

(Enterprise Products :: Thunderbird, enhancement)

enhancement

Tracking

(Not tracked)

ASSIGNED

People

(Reporter: tobyp, Assigned: tobyp)

References

(Depends on 2 open bugs, Blocks 2 open bugs)

Details

(Keywords: meta)

User Story

As an enterprise developer, I want to have Thunderbird clients communicate with on-premises event log capture mechanisms, so that there is no dependency on Mozilla infrastructure for self-hosted deployments.

Acceptance criteria:

- Glean events assigned to the enterprise ping are supported in Thunderbird Enterprise builds.
- Enterprise event pings are delivered to the organization’s configured reporting service without relying on Mozilla-hosted telemetry services.
- Add-on installation provides the first supported event, configurable through the SecurityLogging policy.
- A completed add-on installation appears in the admin console when logging is enabled, and produces no enterprise event when disabled.
- Automated tests cover event recording and policy controls.
- The implementation provides a documented pattern for adding further enterprise events.
No description provided.

My investigation so far proves that Thunderbird inherits the shared Glean event recording and authenticated upload infrastructure. No additional ping registration or transport implementation was needed to get it working.

I verified add-on installation reporting end to end by setting extensions.enterprise.telemetry.addonInstall.enabled and that produced an addons_manager.install_complete event locally and a browser.install_complete event in the admin console. The console also received a separate browser.posture.changed event identifying a change to the extensions inventory.

As an interim solution, the existing Preferences enterprise policy can enable and lock the recording preferences. Porting SecurityLogging would provide a dedicated configuration interface, but is not required for recording or delivery. We can perhaps revisit that integration once the shared helper moves into toolkit?

The following preferences will be set to true and locked to investigate shared feature coverage:

  • extensions.enterprise.telemetry.addonInstall.enabled
  • print.enterprise.telemetry.printPage.enabled
  • browser.download.enterprise.telemetry.enabled
  • browser.safebrowsing.enterprise.telemetry.unsafeDownload.enabled
  • browser.safebrowsing.enterprise.telemetry.unsafeSiteVisit.enabled
  • browser.policies.enterprise.telemetry.blocklistDomainBrowsed.enabled

Potential Thunderbird-specific events to investigate include:

  • Attachment saves, including Save All Attachments.
  • Potentially message redirect as outlined in bug 2051599
  • Message saves and exports, including bulk operations.
  • Message send failures, with structured failure categories.
  • Account authentication failures.
  • Security-related actions or warnings.

For each new event, the expected implementation work is to:

  1. Define the trigger, fields and collection controls.
  2. Add a Glean event definition assigned to the enterprise ping.
  3. Add an enable preference and any necessary detail/redaction preferences.
  4. Record the event at the appropriate operation boundary when enabled, and request enterprise ping submission.
  5. Verify that the console accepts, attributes and displays the event.
  6. Add tests for enabled/disabled behaviour, event fields and appropriate handling of retries or repeated failures.
Alias: tb-enterprise-event-logging
Keywords: meta
Depends on: 2088722
Depends on: 2088725
Depends on: 2088726
No longer blocks: 2051860
Assignee: nobody → toby
Status: NEW → ASSIGNED
You need to log in before you can comment on or make changes to this bug.