@@ -15,52 +15,49 @@ interactions:
15
15
Content-Type :
16
16
- application/json
17
17
User-Agent :
18
- - pygitguardian/1.3.4 (Linux;py3.8.10 )
18
+ - pygitguardian/1.20.0 (Linux;py3.10.13 )
19
19
method : POST
20
20
uri : https://api.gitguardian.com/v1/scan
21
21
response :
22
22
body :
23
23
string :
24
- ' {"policy_break_count":1,"policies":["File extensions","Filenames","Secrets
25
- detection"],"policy_breaks":[{"type":"Basic Auth String ","policy":"Secrets
26
- 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"}] }'
24
+ ' {"policy_break_count":1,"policies":["Secrets detection"],"policy_breaks":[{"type":"Basic
25
+ Auth String","detector_name":"basic_auth_string","detector_group_name":"basic_auth_string","documentation_url":"https://docs.gitguardian.com/secrets-detection/secrets-detection-engine/detectors/generics/basic_auth_string ","policy":"Secrets
26
+ 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":"","known_secret":false," validity":"no_checker","diff_kind":null}],"is_diff":false }'
27
27
headers :
28
- Access-Control-Expose-Headers :
28
+ access-control-expose-headers :
29
29
- X-App-Version
30
- Allow :
30
+ allow :
31
31
- POST, OPTIONS
32
- Connection :
33
- - keep-alive
34
- Content-Length :
35
- - ' 523'
36
- Content-Type :
32
+ content-length :
33
+ - ' 817'
34
+ content-type :
37
35
- application/json
38
- Date :
39
- - Thu, 30 Jun 2022 10:29:37 GMT
40
- Referrer-Policy :
36
+ cross-origin-opener-policy :
37
+ - same-origin
38
+ date :
39
+ - Wed, 16 Apr 2025 09:38:48 GMT
40
+ referrer-policy :
41
41
- strict-origin-when-cross-origin
42
- Server :
43
- - nginx
44
- Set-Cookie :
45
- - AWSALB=1NmYXJP22kKYZ+2ZLAbbWA3Blwfokr7BL9/Vocl6/No3eAYPjl3Yy7M2i99hnGKmsPCbzJ8uuQ+oENgQOmrgBVZ5v3nzY7HvQvo76ABup3ibFUvhc8o9cLFsBgYE;
46
- Expires=Thu, 07 Jul 2022 10:29:37 GMT; Path=/
47
- - AWSALBCORS=1NmYXJP22kKYZ+2ZLAbbWA3Blwfokr7BL9/Vocl6/No3eAYPjl3Yy7M2i99hnGKmsPCbzJ8uuQ+oENgQOmrgBVZ5v3nzY7HvQvo76ABup3ibFUvhc8o9cLFsBgYE;
48
- Expires=Thu, 07 Jul 2022 10:29:37 GMT; Path=/; SameSite=None; Secure
49
- Strict-Transport-Security :
42
+ server :
43
+ - istio-envoy
44
+ strict-transport-security :
50
45
- max-age=31536000; includeSubDomains
51
- Vary :
46
+ vary :
52
47
- Cookie
53
- X-App-Version :
54
- - v2.8.1
55
- X-Content-Type-Options :
48
+ x-app-version :
49
+ - v2.189.0
50
+ x-content-type-options :
56
51
- nosniff
57
52
- nosniff
58
- X-Frame-Options :
53
+ x-envoy-upstream-service-time :
54
+ - ' 99'
55
+ x-frame-options :
59
56
- DENY
60
57
- SAMEORIGIN
61
- X-Secrets-Engine-Version :
62
- - 2.70.0
63
- X-XSS-Protection :
58
+ x-secrets-engine-version :
59
+ - 2.135.3
60
+ x-xss-protection :
64
61
- 1; mode=block
65
62
status :
66
63
code : 200
0 commit comments