Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
180 changes: 180 additions & 0 deletions PixelDefinitions/pixels/definitions/event_hub.json5
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,185 @@
"description": "Unix timestamp (UTC) denoting the start of the measurement period"
}
]
},
"webTelemetry_captcha_recaptcha_day": {
"description": "Daily bucketed count of reCAPTCHA detections across all pages. Fired by the eventHub feature at the end of each 1-day period.",
"owners": ["GuiltyDolphin"],
"triggers": ["other"],
"parameters": [
{
"key": "count",
"type": "string",
"description": "Bucketed reCAPTCHA detection count for the period",
"pattern": "^\\d+(-\\d+|\\+)?$"
},
{
"key": "attributionPeriod",
"type": "integer",
"description": "Unix timestamp (UTC) denoting the start of the measurement period"
}
]
},
"webTelemetry_captcha_recaptcha_week": {
"description": "Weekly bucketed count of reCAPTCHA detections across all pages. Fired by the eventHub feature at the end of each 7-day period.",
"owners": ["GuiltyDolphin"],
"triggers": ["other"],
"parameters": [
{
"key": "count",
"type": "string",
"description": "Bucketed reCAPTCHA detection count for the period",
"pattern": "^\\d+(-\\d+|\\+)?$"
},
{
"key": "attributionPeriod",
"type": "integer",
"description": "Unix timestamp (UTC) denoting the start of the measurement period"
}
]
},
"webTelemetry_captcha_hcaptcha_day": {
"description": "Daily bucketed count of hCaptcha detections across all pages. Fired by the eventHub feature at the end of each 1-day period.",
"owners": ["GuiltyDolphin"],
"triggers": ["other"],
"parameters": [
{
"key": "count",
"type": "string",
"description": "Bucketed hCaptcha detection count for the period",
"pattern": "^\\d+(-\\d+|\\+)?$"
},
{
"key": "attributionPeriod",
"type": "integer",
"description": "Unix timestamp (UTC) denoting the start of the measurement period"
}
]
},
"webTelemetry_captcha_hcaptcha_week": {
"description": "Weekly bucketed count of hCaptcha detections across all pages. Fired by the eventHub feature at the end of each 7-day period.",
"owners": ["GuiltyDolphin"],
"triggers": ["other"],
"parameters": [
{
"key": "count",
"type": "string",
"description": "Bucketed hCaptcha detection count for the period",
"pattern": "^\\d+(-\\d+|\\+)?$"
},
{
"key": "attributionPeriod",
"type": "integer",
"description": "Unix timestamp (UTC) denoting the start of the measurement period"
}
]
},
"webTelemetry_captcha_turnstile_day": {
"description": "Daily bucketed count of Cloudflare Turnstile CAPTCHA detections across all pages. Fired by the eventHub feature at the end of each 1-day period.",
"owners": ["GuiltyDolphin"],
"triggers": ["other"],
"parameters": [
{
"key": "count",
"type": "string",
"description": "Bucketed Cloudflare Turnstile detection count for the period",
"pattern": "^\\d+(-\\d+|\\+)?$"
},
{
"key": "attributionPeriod",
"type": "integer",
"description": "Unix timestamp (UTC) denoting the start of the measurement period"
}
]
},
"webTelemetry_captcha_turnstile_week": {
"description": "Weekly bucketed count of Cloudflare Turnstile CAPTCHA detections across all pages. Fired by the eventHub feature at the end of each 7-day period.",
"owners": ["GuiltyDolphin"],
"triggers": ["other"],
"parameters": [
{
"key": "count",
"type": "string",
"description": "Bucketed Cloudflare Turnstile detection count for the period",
"pattern": "^\\d+(-\\d+|\\+)?$"
},
{
"key": "attributionPeriod",
"type": "integer",
"description": "Unix timestamp (UTC) denoting the start of the measurement period"
}
]
},
"webTelemetry_captcha_cloudflare_day": {
"description": "Daily bucketed count of Cloudflare challenge-page detections across all pages. Fired by the eventHub feature at the end of each 1-day period.",
"owners": ["GuiltyDolphin"],
"triggers": ["other"],
"parameters": [
{
"key": "count",
"type": "string",
"description": "Bucketed Cloudflare challenge-page detection count for the period",
"pattern": "^\\d+(-\\d+|\\+)?$"
},
{
"key": "attributionPeriod",
"type": "integer",
"description": "Unix timestamp (UTC) denoting the start of the measurement period"
}
]
},
"webTelemetry_captcha_cloudflare_week": {
"description": "Weekly bucketed count of Cloudflare challenge-page detections across all pages. Fired by the eventHub feature at the end of each 7-day period.",
"owners": ["GuiltyDolphin"],
"triggers": ["other"],
"parameters": [
{
"key": "count",
"type": "string",
"description": "Bucketed Cloudflare challenge-page detection count for the period",
"pattern": "^\\d+(-\\d+|\\+)?$"
},
{
"key": "attributionPeriod",
"type": "integer",
"description": "Unix timestamp (UTC) denoting the start of the measurement period"
}
]
},
"webTelemetry_captcha_other_day": {
"description": "Daily bucketed count of other/generic CAPTCHA detections across all pages. Fired by the eventHub feature at the end of each 1-day period.",
"owners": ["GuiltyDolphin"],
"triggers": ["other"],
"parameters": [
{
"key": "count",
"type": "string",
"description": "Bucketed other/generic CAPTCHA detection count for the period",
"pattern": "^\\d+(-\\d+|\\+)?$"
},
{
"key": "attributionPeriod",
"type": "integer",
"description": "Unix timestamp (UTC) denoting the start of the measurement period"
}
]
},
"webTelemetry_captcha_other_week": {
"description": "Weekly bucketed count of other/generic CAPTCHA detections across all pages. Fired by the eventHub feature at the end of each 7-day period.",
"owners": ["GuiltyDolphin"],
"triggers": ["other"],
"parameters": [
{
"key": "count",
"type": "string",
"description": "Bucketed other/generic CAPTCHA detection count for the period",
"pattern": "^\\d+(-\\d+|\\+)?$"
},
{
"key": "attributionPeriod",
"type": "integer",
"description": "Unix timestamp (UTC) denoting the start of the measurement period"
}
]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing atb stripping for captcha pixels

Medium Severity

The ten new webTelemetry_captcha_* pixel definitions are not registered in PixelParamRemovalInterceptor (or an EventHub PixelParamRemovalPlugin). EventHub fires these names via pixel.enqueueFire, which still attaches implicit atb, so triage will reject undeclared atb once the companion privacy-config telemetry goes live.

Fix in Cursor Fix in Web

Triggered by learned rule: New pixel definitions must handle implicit atb parameter via PixelParamRemovalInterceptor

Reviewed by Cursor Bugbot for commit 89811c0. Configure here.

}
}
Loading