Skip to content

Bug 2040381 - Register security event for Access Connector connection error#1121

Open
jporter-dev wants to merge 2 commits into
mozilla:enterprise-mainfrom
jporter-dev:enterprise-bug2040381-telemetry
Open

Bug 2040381 - Register security event for Access Connector connection error#1121
jporter-dev wants to merge 2 commits into
mozilla:enterprise-mainfrom
jporter-dev:enterprise-bug2040381-telemetry

Conversation

@jporter-dev

@jporter-dev jporter-dev commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Description

Bugzilla: Bug-2040381

Part 3 of 3. Adds a security event that records when the Access Connector enters an error state because a site failed to load due to a proxy connection error.

  • Registers a new access_connector.proxy_error event metric with the domain as additional metadata, sent in the enterprise ping.
  • Since Access Connector is an Enterprise-only feature, the new metric is added in enterprise/metrics.yaml using the Enterprise Products :: Firefox tag.
  • Metric is uses data_sensitivity: highly_sensitive since it sends the browsed domain as an extra key.
  • Records the event once per error transition. Adds a guard to prevent re-firing on subsequent update calls for the same domain while the page remains in the error state.

Note: this is stacked on top of #1048. Relevant commit is Bug 2040381 - Register telemetry metric for Access Connector proxy error.


Dependencies / Related Issues


Testing

  • Manual testing performed

Steps to verify changes:

Follow steps outlined in #1048

Expected result:

access_connector.proxy_error event is submitted to console. Verifiable in either the Browser Toolbox network tab or in the console itself.

@jporter-dev jporter-dev self-assigned this Jul 7, 2026
@jporter-dev jporter-dev added enhancement New feature or request branch:main PR that should be merged on enterprise-main branch labels Jul 7, 2026
@jporter-dev jporter-dev force-pushed the enterprise-bug2040381-telemetry branch 3 times, most recently from 6c4c9d7 to 30b4daf Compare July 7, 2026 17:30
@jporter-dev jporter-dev force-pushed the enterprise-bug2040381-telemetry branch from 30b4daf to 10d38db Compare July 7, 2026 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

branch:main PR that should be merged on enterprise-main branch enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant