{
"description": "source with randomized response sends debug reports and fake report",
"input": {
"registrations": [
{
"timestamp": "0",
"registration_request": {
"context_origin": "https://source.test",
"Attribution-Reporting-Eligible": "navigation-source"
},
"responses": [
{
"url": "https://reporter.test/register-source",
"debug_permission": true,
"randomized_response": [
{
"trigger_data": 1,
"report_window_index": 0
}
],
"response": {
"Attribution-Reporting-Register-Source": {
"destination": "https://destination.test",
"source_event_id": "123",
"debug_reporting": true
}
}
}
]
},
{
"timestamp": "172800001",
"registration_request": {
"context_origin": "https://destination.test"
},
"responses": [
{
"url": "https://reporter.test/register-trigger",
"debug_permission": true,
"response": {
"Attribution-Reporting-Register-Trigger": {
"debug_reporting": true,
"event_trigger_data": [
{
"trigger_data": "7"
}
]
}
}
}
]
}
]
},
"output": {
"reports": [
{
"payload": [
{
"body": {
"attribution_destination": "https://destination.test",
"source_event_id": "123",
"source_site": "https://source.test"
},
"type": "source-noised"
}
],
"report_time": "0",
"report_url": "https://reporter.test/.well-known/attribution-reporting/debug/verbose"
},
{
"payload": {
"attribution_destination": "https://destination.test",
"randomized_trigger_rate": 0.0024263,
"scheduled_report_time": "172800",
"source_event_id": "123",
"source_type": "navigation",
"trigger_data": "1"
},
"report_time": "172800000",
"report_url": "https://reporter.test/.well-known/attribution-reporting/report-event-attribution"
},
{
"payload": [
{
"body": {
"attribution_destination": "https://destination.test",
"source_event_id": "123",
"source_site": "https://source.test"
},
"type": "trigger-event-noise"
}
],
"report_time": "172800001",
"report_url": "https://reporter.test/.well-known/attribution-reporting/debug/verbose"
}
]
}
}