Skip to content

Commit 0a4bf15

Browse files
feat: mask sensitive information in recorded cassette
1 parent 82779f7 commit 0a4bf15

File tree

1 file changed

+86
-85
lines changed

1 file changed

+86
-85
lines changed
Lines changed: 86 additions & 85 deletions
Original file line numberDiff line numberDiff line change
@@ -1,87 +1,88 @@
11
interactions:
2-
- request:
3-
body: '{"user_id": "USPR4JxMuwSG60u2h4gBpB6Q", "type": "session.onboarding_verification",
4-
"resource_id": "68b887f60c33abad1ea841d3"}'
5-
headers:
6-
Authorization:
7-
- DUMMY
8-
Content-Length:
9-
- '125'
10-
Content-Type:
11-
- application/json
12-
User-Agent:
13-
- cuenca-python/2.1.11
14-
X-Cuenca-Api-Version:
15-
- '2020-03-19'
16-
method: POST
17-
uri: https://sandbox.cuenca.com/sessions
18-
response:
19-
body:
20-
string: '{"id":"SSOXga_D_VQXCPsWQT7Z0ddQ","created_at":"2025-09-10T20:33:32.875517","user_id":"USPR4JxMuwSG60u2h4gBpB6Q","platform_id":"PTZbBlk__kQt-wfwzP5nwA9A","expires_at":"2025-09-10T20:43:32.875529","success_url":null,"failure_url":null,"type":"session.onboarding_verification","resource_id":"68b887f60c33abad1ea841d3"}'
21-
headers:
22-
Connection:
23-
- keep-alive
24-
Content-Length:
25-
- '315'
26-
Content-Type:
27-
- application/json
28-
Date:
29-
- Wed, 10 Sep 2025 20:33:32 GMT
30-
X-Request-Time:
31-
- 'value: 0.151'
32-
x-amz-apigw-id:
33-
- QtAIjGCGiYcEuZw=
34-
x-amzn-Remapped-Connection:
35-
- keep-alive
36-
x-amzn-Remapped-Content-Length:
37-
- '315'
38-
x-amzn-Remapped-Date:
39-
- Wed, 10 Sep 2025 20:33:32 GMT
40-
x-amzn-Remapped-Server:
41-
- nginx/1.28.0
42-
x-amzn-RequestId:
43-
- 0d6c920d-4608-4d1c-9858-fe81fccba4b1
44-
status:
45-
code: 201
46-
message: Created
47-
- request:
48-
body: null
49-
headers:
50-
User-Agent:
51-
- cuenca-python/2.1.11
52-
X-Cuenca-Api-Version:
53-
- '2020-03-19'
54-
X-Cuenca-SessionId:
55-
- SSOXga_D_VQXCPsWQT7Z0ddQ
56-
method: GET
57-
uri: https://sandbox.cuenca.com/onboarding_verifications/68b887f60c33abad1ea841d3
58-
response:
59-
body:
60-
string: '{"gov_id_document_number":"267202610","gov_id_front":"https://media-cdn.prod.metamap.com/documents/production/9b1bccd3-1cc2-4f94-b9bc-e416f23a685c.jpeg?Expires=1757795613&Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9tZWRpYS1jZG4ucHJvZC5tZXRhbWFwLmNvbS9kb2N1bWVudHMvcHJvZHVjdGlvbi85YjFiY2NkMy0xY2MyLTRmOTQtYjliYy1lNDE2ZjIzYTY4NWMuanBlZyIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTc1Nzc5NTYxM319fV19&Signature=kqeDz-ik5UJTUAC3JRN4y15BMyT-ruaExqM9vCuJQ1gVr8BYjFfwZENW4qDBU0-6c4J0zxkr853-IKeEwqus~Xxn7ui0jv5MGxt4HEZOGnv-CkKx2EENt-3-GelJ9EmiSUaUkIouHr-V1MNm8-Cuea1m1TMFjnOAXpoiEbudT0-RnILGKJui90DGWSEzQsLjwz0Y7wCS2KNaIOb~ors8V~WiwULVYSJh6L0IPPKUlbAch-HocVU3uQOlBTb3e-xSKsxcLVTLHTmnXefcZvPIHIiPWtOMwBQP7~AqesIszrHQVPAaS9VLkN~2md4zVwDb6VmBHCTqtg7sxJJMjGKiRQ__&Key-Pair-Id=K3UFJ5LH7J6562","proof_of_address":"https://media-cdn.prod.metamap.com/documents/production/52ac2e59-8416-49b0-bd56-9fe1f245a8d8.jpeg?Expires=1757795613&Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9tZWRpYS1jZG4ucHJvZC5tZXRhbWFwLmNvbS9kb2N1bWVudHMvcHJvZHVjdGlvbi81MmFjMmU1OS04NDE2LTQ5YjAtYmQ1Ni05ZmUxZjI0NWE4ZDguanBlZyIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTc1Nzc5NTYxM319fV19&Signature=pET21fJJDoDHjd3agnQ1Aa-Ux9zuxGP9mAbrR7K4DLSeRq9tKzplchaWl3VZRBk2jeSSkcSLO0KhCmgFqGDj92SsPmIbJrB6Ay5XIjh6jQjrnGUIR3w8NFgSaxFeogoLBL5mzamyXf5KzRQ32I7xnWnIlLhhEzPGE3x74lZwIvZ04Gc1Vh5pLeBT-xFxlAtdlEW7HW3O8Y~GFo7TupQiH52YSx1c8us2URUCdXJxiRHId0-BHSTa~qk8uJghRNH~Q~4TQVlMS6LUDztvC0xaubmU7i0ArO8o3TMG~JYQcmil0kFq5XHcEwX734XyijRLRFkhWUrVLzojiSCXZwPPfA__&Key-Pair-Id=K3UFJ5LH7J6562","liveness_selfie":"https://media-cdn.prod.metamap.com/selfies/production/018fbc9f-085e-4a72-a2a4-8fe2e3d40473.jpeg?Expires=1757795613&Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9tZWRpYS1jZG4ucHJvZC5tZXRhbWFwLmNvbS9zZWxmaWVzL3Byb2R1Y3Rpb24vMDE4ZmJjOWYtMDg1ZS00YTcyLWEyYTQtOGZlMmUzZDQwNDczLmpwZWciLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE3NTc3OTU2MTN9fX1dfQ__&Signature=nkckXL3~GOgWMPVc9RZCTTFIoSRcaCynFSSJGwYp5FIrepxH5us8Gx-lSzyYLmse2aQZqHOudiX2MDdIJXQCXYbxuNbVPY0EtQ3AhAzDU-a4k6lh4qH0GAkuUINRjfSmpAcj6JtDqsx4icLImZlZ0CTsP8cEguJlUUW994zKqHyT0UyQRy7wB39zVKIx9arqzULKQe-RRimu1mMmRIkfo5k0ARrDQYbWNiGpxZTNaYmXayPkH2T1sSa~sIkLxjpJbWCNGZ0kMqMPuSFdWYg4RjIrHb2UHDubegi7rj5SmefeqSUCVgb7YVD1YWutXfogRIJraDm~Ph9qpLQfEvV4~Q__&Key-Pair-Id=K3UFJ5LH7J6562"}'
61-
headers:
62-
Connection:
63-
- keep-alive
64-
Content-Length:
65-
- '2359'
66-
Content-Type:
67-
- application/json
68-
Date:
69-
- Wed, 10 Sep 2025 20:33:33 GMT
70-
X-Request-Time:
71-
- 'value: 0.388'
72-
x-amz-apigw-id:
73-
- QtAImGe5iYcEi4g=
74-
x-amzn-Remapped-Connection:
75-
- keep-alive
76-
x-amzn-Remapped-Content-Length:
77-
- '2359'
78-
x-amzn-Remapped-Date:
79-
- Wed, 10 Sep 2025 20:33:33 GMT
80-
x-amzn-Remapped-Server:
81-
- nginx/1.28.0
82-
x-amzn-RequestId:
83-
- 848ed62c-6ec3-4150-a3fb-5a082cb313b4
84-
status:
85-
code: 200
86-
message: OK
2+
- request:
3+
body:
4+
'{"user_id": "USPR4JxMuwSG60u2h4gBpB6Q", "type": "session.onboarding_verification",
5+
"resource_id": "68b887f60c33abad1ea841d3"}'
6+
headers:
7+
Authorization:
8+
- DUMMY
9+
Content-Length:
10+
- "125"
11+
Content-Type:
12+
- application/json
13+
User-Agent:
14+
- cuenca-python/2.1.11
15+
X-Cuenca-Api-Version:
16+
- "2020-03-19"
17+
method: POST
18+
uri: https://sandbox.cuenca.com/sessions
19+
response:
20+
body:
21+
string: '{"id":"SSOXga_D_VQXCPsWQT7Z0ddQ","created_at":"2025-09-10T20:33:32.875517","user_id":"USPR4JxMuwSG60u2h4gBpB6Q","platform_id":"PTZbBlk__kQt-wfwzP5nwA9A","expires_at":"2025-09-10T20:43:32.875529","success_url":null,"failure_url":null,"type":"session.onboarding_verification","resource_id":"68b887f60c33abad1ea841d3"}'
22+
headers:
23+
Connection:
24+
- keep-alive
25+
Content-Length:
26+
- "315"
27+
Content-Type:
28+
- application/json
29+
Date:
30+
- Wed, 10 Sep 2025 20:33:32 GMT
31+
X-Request-Time:
32+
- "value: 0.151"
33+
x-amz-apigw-id:
34+
- QtAIjGCGiYcEuZw=
35+
x-amzn-Remapped-Connection:
36+
- keep-alive
37+
x-amzn-Remapped-Content-Length:
38+
- "315"
39+
x-amzn-Remapped-Date:
40+
- Wed, 10 Sep 2025 20:33:32 GMT
41+
x-amzn-Remapped-Server:
42+
- nginx/1.28.0
43+
x-amzn-RequestId:
44+
- 0d6c920d-4608-4d1c-9858-fe81fccba4b1
45+
status:
46+
code: 201
47+
message: Created
48+
- request:
49+
body: null
50+
headers:
51+
User-Agent:
52+
- cuenca-python/2.1.11
53+
X-Cuenca-Api-Version:
54+
- "2020-03-19"
55+
X-Cuenca-SessionId:
56+
- SSOXga_D_VQXCPsWQT7Z0ddQ
57+
method: GET
58+
uri: https://sandbox.cuenca.com/onboarding_verifications/68b887f60c33abad1ea841d3
59+
response:
60+
body:
61+
string: '{"gov_id_document_number":"267202610","gov_id_front":"https://media-cdn.prod.metamap.com","proof_of_address":"https://media-cdn.prod.metamap.com","liveness_selfie":"https://media-cdn.prod.metamap.com"}'
62+
headers:
63+
Connection:
64+
- keep-alive
65+
Content-Length:
66+
- "2359"
67+
Content-Type:
68+
- application/json
69+
Date:
70+
- Wed, 10 Sep 2025 20:33:33 GMT
71+
X-Request-Time:
72+
- "value: 0.388"
73+
x-amz-apigw-id:
74+
- QtAImGe5iYcEi4g=
75+
x-amzn-Remapped-Connection:
76+
- keep-alive
77+
x-amzn-Remapped-Content-Length:
78+
- "2359"
79+
x-amzn-Remapped-Date:
80+
- Wed, 10 Sep 2025 20:33:33 GMT
81+
x-amzn-Remapped-Server:
82+
- nginx/1.28.0
83+
x-amzn-RequestId:
84+
- 848ed62c-6ec3-4150-a3fb-5a082cb313b4
85+
status:
86+
code: 200
87+
message: OK
8788
version: 1

0 commit comments

Comments
 (0)