@@ -15,52 +15,49 @@ interactions:
1515 Content-Type :
1616 - application/json
1717 User-Agent :
18- - pygitguardian/1.3.4 (Linux;py3.8.10 )
18+ - pygitguardian/1.20.0 (Linux;py3.10.13 )
1919 method : POST
2020 uri : https://api.gitguardian.com/v1/scan
2121 response :
2222 body :
2323 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 }'
2727 headers :
28- Access-Control-Expose-Headers :
28+ access-control-expose-headers :
2929 - X-App-Version
30- Allow :
30+ allow :
3131 - POST, OPTIONS
32- Connection :
33- - keep-alive
34- Content-Length :
35- - ' 523'
36- Content-Type :
32+ content-length :
33+ - ' 817'
34+ content-type :
3735 - 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 :
4141 - 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 :
5045 - max-age=31536000; includeSubDomains
51- Vary :
46+ vary :
5247 - 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 :
5651 - nosniff
5752 - nosniff
58- X-Frame-Options :
53+ x-envoy-upstream-service-time :
54+ - ' 99'
55+ x-frame-options :
5956 - DENY
6057 - 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 :
6461 - 1; mode=block
6562 status :
6663 code : 200
0 commit comments