1
1
interactions :
2
2
- request :
3
- body : ' [{"filename": ".env", "document": "\n import urllib.request\n url
4
- = '' http://jen_barber:[email protected] /isreal.json'' \n response
5
- = urllib.request.urlopen(url)\n consume(response.read())\"\n"}, {"document":
6
- "\n import urllib.request\n url = '' http://jen_barber:[email protected] /isreal.json'' \n response
3
+ body :
4
+ ' [{"document": "\n import urllib.request\n url = '' http://jen_barber:[email protected] /isreal.json'' \n response
7
5
= urllib.request.urlopen(url)\n consume(response.read())\"\n"}, {"filename":
8
6
"normal", "document": "normal"}]'
9
7
headers :
@@ -14,63 +12,54 @@ interactions:
14
12
Connection :
15
13
- keep-alive
16
14
Content-Length :
17
- - ' 492 '
15
+ - ' 259 '
18
16
Content-Type :
19
17
- application/json
20
18
User-Agent :
21
- - pygitguardian/1.3.4 (Linux;py3.8.10 )
19
+ - pygitguardian/1.19.0 (Linux;py3.10.12 )
22
20
method : POST
23
21
uri : https://api.gitguardian.com/v1/multiscan
24
22
response :
25
23
body :
26
24
string :
27
- ' [{"policy_break_count":2,"policies":["File extensions","Filenames","Secrets
28
- detection"],"policy_breaks":[{"type":".env","policy":"Filenames","matches":[{"type":"filename","match":".env"}]},{"type":"Basic
29
- Auth String","policy":"Secrets detection","matches":[{"type":"username","match":"jen_barber","index_start":40,"index_end":49,"line_start":2,"line_end":2},{"type":"password","match":"correcthorsebatterystaple","index_start":51,"index_end":75,"line_start":2,"line_end":2},{"type":"host","match":"cake.gitguardian.com","index_start":77,"index_end":96,"line_start":2,"line_end":2}],"validity":"no_checker"}]},{"policy_break_count":1,"policies":["File
30
- extensions","Filenames","Secrets detection"],"policy_breaks":[{"type":"Basic
31
- Auth String","policy":"Secrets detection","matches":[{"type":"username","match":"jen_barber","index_start":40,"index_end":49,"line_start":2,"line_end":2},{"type":"password","match":"correcthorsebatterystaple","index_start":51,"index_end":75,"line_start":2,"line_end":2},{"type":"host","match":"cake.gitguardian.com","index_start":77,"index_end":96,"line_start":2,"line_end":2}],"validity":"no_checker"}]},{"policy_break_count":0,"policies":["File
32
- extensions","Filenames","Secrets detection"],"policy_breaks":[]}]'
25
+ ' [{"policy_break_count":1,"policies":["Secrets detection"],"policy_breaks":[{"type":"Basic
26
+ Auth String","policy":"Secrets detection","matches":[{"type":"username","match":"jen_barber","index_start":45,"index_end":54,"line_start":3,"line_end":3},{"type":"password","match":"correcthorsebatterystaple","index_start":56,"index_end":80,"line_start":3,"line_end":3},{"type":"host","match":"cake.gitguardian.com","index_start":82,"index_end":101,"line_start":3,"line_end":3}],"is_excluded":false,"exclude_reason":null,"incident_url":"https://dashboard.gitguardian.com/workspace/8/incidents/10114685","known_secret":true,"validity":"no_checker","diff_kind":null}],"is_diff":false},{"policy_break_count":0,"policies":["Secrets
27
+ detection"],"policy_breaks":[],"is_diff":false}]'
33
28
headers :
34
- Access-Control-Expose-Headers :
29
+ access-control-expose-headers :
35
30
- X-App-Version
36
- Allow :
31
+ allow :
37
32
- POST, OPTIONS
38
- Connection :
39
- - keep-alive
40
- Content-Type :
33
+ content-length :
34
+ - ' 766 '
35
+ content-type :
41
36
- application/json
42
- Date :
43
- - Thu, 30 Jun 2022 10:29:32 GMT
44
- Referrer-Policy :
37
+ cross-origin-opener-policy :
38
+ - same-origin
39
+ date :
40
+ - Mon, 24 Feb 2025 12:49:30 GMT
41
+ referrer-policy :
45
42
- strict-origin-when-cross-origin
46
- Server :
47
- - nginx
48
- Set-Cookie :
49
- - AWSALB=0NfNYw3UeyBFpnge2V9Eg/1mGjFw092I9Sz6A9XTSEcEwwY9QOaglYydWG0j9lP08vyA+Lbr2GKW5wEsC4ps3gWBR4xR/t2cWAZs9ce2iFiqaodevlC5KyXGb6kC;
50
- Expires=Thu, 07 Jul 2022 10:29:32 GMT; Path=/
51
- - AWSALBCORS=0NfNYw3UeyBFpnge2V9Eg/1mGjFw092I9Sz6A9XTSEcEwwY9QOaglYydWG0j9lP08vyA+Lbr2GKW5wEsC4ps3gWBR4xR/t2cWAZs9ce2iFiqaodevlC5KyXGb6kC;
52
- Expires=Thu, 07 Jul 2022 10:29:32 GMT; Path=/; SameSite=None; Secure
53
- Strict-Transport-Security :
43
+ server :
44
+ - istio-envoy
45
+ strict-transport-security :
54
46
- max-age=31536000; includeSubDomains
55
- Transfer-Encoding :
56
- - chunked
57
- Vary :
58
- - Accept-Encoding
47
+ vary :
59
48
- Cookie
60
- X-App-Version :
61
- - v2.8.1
62
- X-Content-Type-Options :
49
+ x-app-version :
50
+ - v2.155.0
51
+ x-content-type-options :
63
52
- nosniff
64
53
- nosniff
65
- X-Frame-Options :
54
+ x-envoy-upstream-service-time :
55
+ - ' 490'
56
+ x-frame-options :
66
57
- DENY
67
58
- SAMEORIGIN
68
- X-Secrets-Engine-Version :
69
- - 2.70.0
70
- X-XSS-Protection :
59
+ x-secrets-engine-version :
60
+ - 2.132.2
61
+ x-xss-protection :
71
62
- 1; mode=block
72
- content-length :
73
- - ' 1240'
74
63
status :
75
64
code : 200
76
65
message : OK
0 commit comments