Skip to content

Commit

Permalink
fix: remove potential active secrets (#2387)
Browse files Browse the repository at this point in the history
* fix: remove potential active secrets

Signed-off-by: Sai Sankeerth <[email protected]>

* fix: batch test-cases for mailchimp

Signed-off-by: Sai Sankeerth <[email protected]>

---------

Signed-off-by: Sai Sankeerth <[email protected]>
Co-authored-by: Sai Sankeerth <[email protected]>
Co-authored-by: Krishna Chaitanya <[email protected]>
  • Loading branch information
3 people authored Jul 21, 2023
1 parent b6df9b0 commit 38d6803
Show file tree
Hide file tree
Showing 9 changed files with 45 additions and 45 deletions.
2 changes: 1 addition & 1 deletion test/__tests__/data/facebook_pixel_input.json
Original file line number Diff line number Diff line change
Expand Up @@ -3010,7 +3010,7 @@
"blacklistPiiHash": false
}
],
"accessToken": "EAAUMWU0Ql8kBALehZBtEcAyKx6kbM4shVl1sjZCE3rYFUDLn5bdk1QSmClQrq1Oamg2dN9ZAH5Sn4QJA1i9hRSRyvmQ74wWmyoQZBLLiFTDvGZCtecf77ZAAjegyXZAxXbFTD8VlzfXqXZBWR9kkP4n0UIH3w2Lt9Uv2Kws2pcOLdZBXgIvRtc9QOyqPFie8TiVYZD",
"accessToken": "validToken",
"pixelId": "658311142062817",
"eventsToEvents": [
{
Expand Down
28 changes: 14 additions & 14 deletions test/__tests__/data/intercom_input.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
},
"destination": {
"Config": {
"apiKey": "dG9rOjFkNTY4NDk1X2E3OGFfNDBiM19hYjJkXzAyMDExY2Y3YzJjZjoxOjA=",
"apiKey": "intercomApiKey",
"appId": "9e9cdea1-78fa-4829-a9b2-5d7f7e96d1a0",
"collectContext": false
}
Expand Down Expand Up @@ -135,7 +135,7 @@
},
"destination": {
"Config": {
"apiKey": "dG9rOjFkNTY4NDk1X2E3OGFfNDBiM19hYjJkXzAyMDExY2Y3YzJjZjoxOjA=",
"apiKey": "intercomApiKey",
"appId": "9e9cdea1-78fa-4829-a9b2-5d7f7e96d1a0",
"collectContext": false
}
Expand Down Expand Up @@ -204,7 +204,7 @@
},
"destination": {
"Config": {
"apiKey": "dG9rOjFkNTY4NDk1X2E3OGFfNDBiM19hYjJkXzAyMDExY2Y3YzJjZjoxOjA=",
"apiKey": "intercomApiKey",
"appId": "9e9cdea1-78fa-4829-a9b2-5d7f7e96d1a0",
"collectContext": false
}
Expand Down Expand Up @@ -273,7 +273,7 @@
},
"destination": {
"Config": {
"apiKey": "dG9rOjFkNTY4NDk1X2E3OGFfNDBiM19hYjJkXzAyMDExY2Y3YzJjZjoxOjA=",
"apiKey": "intercomApiKey",
"appId": "9e9cdea1-78fa-4829-a9b2-5d7f7e96d1a0",
"collectContext": false
}
Expand Down Expand Up @@ -341,7 +341,7 @@
},
"destination": {
"Config": {
"apiKey": "dG9rOjFkNTY4NDk1X2E3OGFfNDBiM19hYjJkXzAyMDExY2Y3YzJjZjoxOjA=",
"apiKey": "intercomApiKey",
"appId": "9e9cdea1-78fa-4829-a9b2-5d7f7e96d1a0",
"collectContext": false
}
Expand Down Expand Up @@ -416,7 +416,7 @@
},
"destination": {
"Config": {
"apiKey": "dG9rOjFkNTY4NDk1X2E3OGFfNDBiM19hYjJkXzAyMDExY2Y3YzJjZjoxOjA=",
"apiKey": "intercomApiKey",
"appId": "9e9cdea1-78fa-4829-a9b2-5d7f7e96d1a0",
"collectContext": false
}
Expand Down Expand Up @@ -493,7 +493,7 @@
},
"destination": {
"Config": {
"apiKey": "dG9rOjFkNTY4NDk1X2E3OGFfNDBiM19hYjJkXzAyMDExY2Y3YzJjZjoxOjA=",
"apiKey": "intercomApiKey",
"appId": "9e9cdea1-78fa-4829-a9b2-5d7f7e96d1a0",
"collectContext": false,
"updateLastRequestAt": false
Expand Down Expand Up @@ -568,7 +568,7 @@
},
"destination": {
"Config": {
"apiKey": "dG9rOjFkNTY4NDk1X2E3OGFfNDBiM19hYjJkXzAyMDExY2Y3YzJjZjoxOjA=",
"apiKey": "intercomApiKey",
"appId": "9e9cdea1-78fa-4829-a9b2-5d7f7e96d1a0",
"collectContext": false
}
Expand Down Expand Up @@ -655,7 +655,7 @@
},
"destination": {
"Config": {
"apiKey": "dG9rOjFkNTY4NDk1X2E3OGFfNDBiM19hYjJkXzAyMDExY2Y3YzJjZjoxOjA=",
"apiKey": "intercomApiKey",
"appId": "9e9cdea1-78fa-4829-a9b2-5d7f7e96d1a0",
"collectContext": false
}
Expand Down Expand Up @@ -726,7 +726,7 @@
},
"destination": {
"Config": {
"apiKey": "dG9rOjFkNTY4NDk1X2E3OGFfNDBiM19hYjJkXzAyMDExY2Y3YzJjZjoxOjA=",
"apiKey": "intercomApiKey",
"appId": "9e9cdea1-78fa-4829-a9b2-5d7f7e96d1a0",
"collectContext": false
}
Expand Down Expand Up @@ -796,7 +796,7 @@
},
"destination": {
"Config": {
"apiKey": "dG9rOjFkNTY4NDk1X2E3OGFfNDBiM19hYjJkXzAyMDExY2Y3YzJjZjoxOjA=",
"apiKey": "intercomApiKey",
"appId": "9e9cdea1-78fa-4829-a9b2-5d7f7e96d1a0",
"collectContext": false
}
Expand Down Expand Up @@ -873,7 +873,7 @@
},
"destination": {
"Config": {
"apiKey": "dG9rOjFkNTY4NDk1X2E3OGFfNDBiM19hYjJkXzAyMDExY2Y3YzJjZjoxOjA=",
"apiKey": "intercomApiKey",
"appId": "9e9cdea1-78fa-4829-a9b2-5d7f7e96d1a0",
"collectContext": false
}
Expand Down Expand Up @@ -943,7 +943,7 @@
},
"destination": {
"Config": {
"apiKey": "dG9rOjFkNTY4NDk1X2E3OGFfNDBiM19hYjJkXzAyMDExY2Y3YzJjZjoxOjA=",
"apiKey": "intercomApiKey",
"appId": "9e9cdea1-78fa-4829-a9b2-5d7f7e96d1a0",
"collectContext": false,
"sendAnonymousId": true
Expand Down Expand Up @@ -1014,7 +1014,7 @@
},
"destination": {
"Config": {
"apiKey": "dG9rOjFkNTY4NDk1X2E3OGFfNDBiM19hYjJkXzAyMDExY2Y3YzJjZjoxOjA=",
"apiKey": "intercomApiKey",
"appId": "9e9cdea1-78fa-4829-a9b2-5d7f7e96d1a0",
"collectContext": false,
"sendAnonymousId": false
Expand Down
22 changes: 11 additions & 11 deletions test/__tests__/data/intercom_output.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"endpoint": "https://api.intercom.io/users",
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer dG9rOjFkNTY4NDk1X2E3OGFfNDBiM19hYjJkXzAyMDExY2Y3YzJjZjoxOjA=",
"Authorization": "Bearer intercomApiKey",
"Accept": "application/json",
"Intercom-Version": "1.4"
},
Expand Down Expand Up @@ -39,7 +39,7 @@
"endpoint": "https://api.intercom.io/users",
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer dG9rOjFkNTY4NDk1X2E3OGFfNDBiM19hYjJkXzAyMDExY2Y3YzJjZjoxOjA=",
"Authorization": "Bearer intercomApiKey",
"Accept": "application/json",
"Intercom-Version": "1.4"
},
Expand Down Expand Up @@ -71,7 +71,7 @@
"endpoint": "https://api.intercom.io/users",
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer dG9rOjFkNTY4NDk1X2E3OGFfNDBiM19hYjJkXzAyMDExY2Y3YzJjZjoxOjA=",
"Authorization": "Bearer intercomApiKey",
"Accept": "application/json",
"Intercom-Version": "1.4"
},
Expand Down Expand Up @@ -103,7 +103,7 @@
"endpoint": "https://api.intercom.io/users",
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer dG9rOjFkNTY4NDk1X2E3OGFfNDBiM19hYjJkXzAyMDExY2Y3YzJjZjoxOjA=",
"Authorization": "Bearer intercomApiKey",
"Accept": "application/json",
"Intercom-Version": "1.4"
},
Expand Down Expand Up @@ -139,7 +139,7 @@
"endpoint": "https://api.intercom.io/users",
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer dG9rOjFkNTY4NDk1X2E3OGFfNDBiM19hYjJkXzAyMDExY2Y3YzJjZjoxOjA=",
"Authorization": "Bearer intercomApiKey",
"Accept": "application/json",
"Intercom-Version": "1.4"
},
Expand Down Expand Up @@ -181,7 +181,7 @@
"endpoint": "https://api.intercom.io/users",
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer dG9rOjFkNTY4NDk1X2E3OGFfNDBiM19hYjJkXzAyMDExY2Y3YzJjZjoxOjA=",
"Authorization": "Bearer intercomApiKey",
"Accept": "application/json",
"Intercom-Version": "1.4"
},
Expand Down Expand Up @@ -225,7 +225,7 @@
"endpoint": "https://api.intercom.io/users",
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer dG9rOjFkNTY4NDk1X2E3OGFfNDBiM19hYjJkXzAyMDExY2Y3YzJjZjoxOjA=",
"Authorization": "Bearer intercomApiKey",
"Accept": "application/json",
"Intercom-Version": "1.4"
},
Expand Down Expand Up @@ -258,7 +258,7 @@
"endpoint": "https://api.intercom.io/events",
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer dG9rOjFkNTY4NDk1X2E3OGFfNDBiM19hYjJkXzAyMDExY2Y3YzJjZjoxOjA=",
"Authorization": "Bearer intercomApiKey",
"Accept": "application/json",
"Intercom-Version": "1.4"
},
Expand Down Expand Up @@ -290,7 +290,7 @@
"endpoint": "https://api.intercom.io/events",
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer dG9rOjFkNTY4NDk1X2E3OGFfNDBiM19hYjJkXzAyMDExY2Y3YzJjZjoxOjA=",
"Authorization": "Bearer intercomApiKey",
"Accept": "application/json",
"Intercom-Version": "1.4"
},
Expand Down Expand Up @@ -320,7 +320,7 @@
"endpoint": "https://api.intercom.io/users",
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer dG9rOjFkNTY4NDk1X2E3OGFfNDBiM19hYjJkXzAyMDExY2Y3YzJjZjoxOjA=",
"Authorization": "Bearer intercomApiKey",
"Accept": "application/json",
"Intercom-Version": "1.4"
},
Expand Down Expand Up @@ -351,7 +351,7 @@
"endpoint": "https://api.intercom.io/users",
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer dG9rOjFkNTY4NDk1X2E3OGFfNDBiM19hYjJkXzAyMDExY2Y3YzJjZjoxOjA=",
"Authorization": "Bearer intercomApiKey",
"Accept": "application/json",
"Intercom-Version": "1.4"
},
Expand Down
4 changes: 2 additions & 2 deletions test/__tests__/data/intercom_router_input.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
},
"destination": {
"Config": {
"apiKey": "dG9rOjFkNTY4NDk1X2E3OGFfNDBiM19hYjJkXzAyMDExY2Y3YzJjZjoxOjA=",
"apiKey": "intercomApiKey",
"appId": "9e9cdea1-78fa-4829-a9b2-5d7f7e96d1a0",
"collectContext": false
}
Expand Down Expand Up @@ -141,7 +141,7 @@
},
"destination": {
"Config": {
"apiKey": "dG9rOjFkNTY4NDk1X2E3OGFfNDBiM19hYjJkXzAyMDExY2Y3YzJjZjoxOjA=",
"apiKey": "intercomApiKey",
"appId": "9e9cdea1-78fa-4829-a9b2-5d7f7e96d1a0",
"collectContext": false
}
Expand Down
8 changes: 4 additions & 4 deletions test/__tests__/data/intercom_router_output.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"endpoint": "https://api.intercom.io/users",
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer dG9rOjFkNTY4NDk1X2E3OGFfNDBiM19hYjJkXzAyMDExY2Y3YzJjZjoxOjA=",
"Authorization": "Bearer intercomApiKey",
"Accept": "application/json",
"Intercom-Version": "1.4"
},
Expand Down Expand Up @@ -42,7 +42,7 @@
"statusCode": 200,
"destination": {
"Config": {
"apiKey": "dG9rOjFkNTY4NDk1X2E3OGFfNDBiM19hYjJkXzAyMDExY2Y3YzJjZjoxOjA=",
"apiKey": "intercomApiKey",
"appId": "9e9cdea1-78fa-4829-a9b2-5d7f7e96d1a0",
"collectContext": false
}
Expand All @@ -56,7 +56,7 @@
"endpoint": "https://api.intercom.io/users",
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer dG9rOjFkNTY4NDk1X2E3OGFfNDBiM19hYjJkXzAyMDExY2Y3YzJjZjoxOjA=",
"Authorization": "Bearer intercomApiKey",
"Accept": "application/json",
"Intercom-Version": "1.4"
},
Expand Down Expand Up @@ -90,7 +90,7 @@
"statusCode": 200,
"destination": {
"Config": {
"apiKey": "dG9rOjFkNTY4NDk1X2E3OGFfNDBiM19hYjJkXzAyMDExY2Y3YzJjZjoxOjA=",
"apiKey": "intercomApiKey",
"appId": "9e9cdea1-78fa-4829-a9b2-5d7f7e96d1a0",
"collectContext": false
}
Expand Down
8 changes: 4 additions & 4 deletions test/__tests__/data/mailchimp_batch_input.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"DisplayName": "MailChimp"
},
"Config": {
"apiKey": "94f71917d8522770c97449b0c90caa4c-us20",
"apiKey": "apiKey-usPQ",
"audienceId": "1232yyqw22",
"datacenterId": "us20"
},
Expand Down Expand Up @@ -82,7 +82,7 @@
"DisplayName": "MailChimp"
},
"Config": {
"apiKey": "94f71917d8522770c97449b0c90caa4c-us20",
"apiKey": "apiKey-usPQ",
"audienceId": "1232yyqw22",
"datacenterId": "us20"
},
Expand Down Expand Up @@ -132,7 +132,7 @@
"DisplayName": "MailChimp"
},
"Config": {
"apiKey": "94f71917d8522770c97449b0c90caa4c-us20",
"apiKey": "apiKey-usPQ",
"audienceId": "1232yyqw22",
"datacenterId": "us20"
},
Expand Down Expand Up @@ -182,7 +182,7 @@
"DisplayName": "MailChimp"
},
"Config": {
"apiKey": "94f71917d8522770c97449b0c90caa4c-us20",
"apiKey": "apiKey-usPQ",
"audienceId": "1232yyqw22",
"datacenterId": "us20"
},
Expand Down
6 changes: 3 additions & 3 deletions test/__tests__/data/mailchimp_batch_output.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"endpoint": "https://us20.api.mailchimp.com/3.0/lists/1232yyqw22?skip_merge_validation=false&skip_duplicate_check=false",
"headers": {
"Content-Type": "application/json",
"Authorization": "Basic YXBpS2V5Ojk0ZjcxOTE3ZDg1MjI3NzBjOTc0NDliMGM5MGNhYTRjLXVzMjA="
"Authorization": "Basic YXBpS2V5OmFwaUtleS11c1BR"
},
"params": {},
"body": {
Expand Down Expand Up @@ -59,7 +59,7 @@
"DisplayName": "MailChimp"
},
"Config": {
"apiKey": "94f71917d8522770c97449b0c90caa4c-us20",
"apiKey": "apiKey-usPQ",
"audienceId": "1232yyqw22",
"datacenterId": "us20"
},
Expand All @@ -77,7 +77,7 @@
"DisplayName": "MailChimp"
},
"Config": {
"apiKey": "94f71917d8522770c97449b0c90caa4c-us20",
"apiKey": "apiKey-usPQ",
"audienceId": "1232yyqw22",
"datacenterId": "us20"
},
Expand Down
10 changes: 5 additions & 5 deletions test/__tests__/data/mailchimp_output.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"DisplayName": "MailChimp"
},
"Config": {
"apiKey": "25adacdcd8c4ef4672fbdc626fbcf331-us6",
"apiKey": "apikey-usYY",
"audienceId": "aud111",
"datacenterId": "usXX"
},
Expand All @@ -87,7 +87,7 @@
"DisplayName": "MailChimp"
},
"Config": {
"apiKey": "25adacdcd8c4ef4442fbdc626fbcf331-us6",
"apiKey": "apiKey",
"audienceId": "aud111",
"datacenterId": "usXX"
},
Expand Down Expand Up @@ -150,7 +150,7 @@
"DisplayName": "MailChimp"
},
"Config": {
"apiKey": "d966df2e59d105c00f13de330d94000b-us14",
"apiKey": "apikey",
"audienceId": "ff21810ddc",
"datacenterId": "us14"
},
Expand Down Expand Up @@ -455,7 +455,7 @@
"DisplayName": "MailChimp"
},
"Config": {
"apiKey": "d966df2e59d105c00f13de330d94000b-us14",
"apiKey": "apikey",
"audienceId": "ff21810ddc",
"datacenterId": "us14"
},
Expand All @@ -480,7 +480,7 @@
"DisplayName": "MailChimp"
},
"Config": {
"apiKey": "d966df2e59d105c00f13de330d94000b-us14",
"apiKey": "apikey",
"audienceId": "ff21810ddc",
"datacenterId": "us14"
},
Expand Down
Loading

0 comments on commit 38d6803

Please sign in to comment.