@@ -9,151 +9,75 @@ interactions:
9
9
Connection :
10
10
- keep-alive
11
11
User-Agent :
12
- - pygitguardian/1.15.2 (Linux;py3.10.12 )
12
+ - pygitguardian/1.20.0 (Linux;py3.11.10 )
13
13
method : GET
14
14
uri : https://api.gitguardian.com/v1/metadata
15
15
response :
16
16
body :
17
17
string :
18
- ' {"version":"v2.87.2 ","preferences":{"marketplaces__aws_product_url":"http://aws.amazon.com/marketplace/pp/prodview-mrmulzykamba6","on_premise__restrict_signup":true,"on_premise__is_email_server_configured":true,"on_premise__default_sso_config_api_id":null,"onboarding__segmentation_v1_enabled":true,"general__maximum_payload_size":26214400,"general__mutual_tls_mode":"disabled","general__signup_enabled":true},"secret_scan_preferences":{"maximum_documents_per_scan":20,"maximum_document_size":1048576},"remediation_messages":{"pre_commit":">
18
+ ' {"version":"v2.193.0 ","preferences":{"marketplaces__aws_product_url":"http://aws.amazon.com/marketplace/pp/prodview-mrmulzykamba6","on_premise__restrict_signup":true,"on_premise__is_email_server_configured":true,"on_premise__default_sso_config_api_id":null,"on_premise__default_sso_config_force_sso ":null,"onboarding__segmentation_v1_enabled":true,"general__maximum_payload_size":26214400,"general__mutual_tls_mode":"disabled","general__signup_enabled":true},"secret_scan_preferences":{"maximum_documents_per_scan":20,"maximum_document_size":1048576},"remediation_messages":{"pre_commit":">
19
19
How to remediate\n\n Since the secret was detected before the commit was
20
20
made:\n 1. replace the secret with its reference (e.g. environment variable).\n 2.
21
- commit again.\n\n> [To apply with caution] If you want to bypass ggshield
22
- (false positive or other reason), run:\n - if you use the pre-commit framework:\n\n SKIP=ggshield
23
- git commit -m \"<your message>","pre_push":"> How to remediate\n\n Since
21
+ commit again.\n\n> [Apply with caution] If you want to bypass ggshield (false
22
+ positive or other reason), run:\n - if you use the pre-commit framework:\n\n SKIP=ggshield
23
+ git commit -m \"<your message>\"\n ","pre_push":"> How to remediate\n\n Since
24
24
the secret was detected before the push BUT after the commit, you need to:\n 1.
25
25
rewrite the git history making sure to replace the secret with its reference
26
26
(e.g. environment variable).\n 2. push again.\n\n To prevent having to rewrite
27
27
git history in the future, setup ggshield as a pre-commit hook:\n https://docs.gitguardian.com/ggshield-docs/integrations/git-hooks/pre-commit\n\n>
28
- [To apply with caution] If you want to bypass ggshield (false positive or
29
- other reason), run:\n - if you use the pre-commit framework:\n\n SKIP=ggshield-push
28
+ [Apply with caution] If you want to bypass ggshield (false positive or other
29
+ reason), run:\n - if you use the pre-commit framework:\n\n SKIP=ggshield-push
30
30
git push","pre_receive":"> How to remediate\n\n A pre-receive hook set server
31
31
side prevented you from pushing secrets.\n\n Since the secret was detected
32
32
during the push BUT after the commit, you need to:\n 1. rewrite the git history
33
33
making sure to replace the secret with its reference (e.g. environment variable).\n 2.
34
34
push again.\n\n To prevent having to rewrite git history in the future, setup
35
35
ggshield as a pre-commit hook:\n https://docs.gitguardian.com/ggshield-docs/integrations/git-hooks/pre-commit\n\n>
36
- [To apply with caution] If you want to bypass ggshield (false positive or
37
- other reason), run:\n\n git push -o breakglass"}}'
36
+ [Apply with caution] If you want to bypass ggshield (false positive or other
37
+ reason), run:\n\n git push -o breakglass"}}'
38
38
headers :
39
39
access-control-expose-headers :
40
40
- X-App-Version
41
41
allow :
42
42
- GET, HEAD, OPTIONS
43
43
content-length :
44
- - ' 2150 '
44
+ - ' 2198 '
45
45
content-type :
46
46
- application/json
47
47
cross-origin-opener-policy :
48
48
- same-origin
49
49
date :
50
- - Mon, 12 Aug 2024 09:19:09 GMT
50
+ - Tue, 22 Apr 2025 13:27:58 GMT
51
51
referrer-policy :
52
52
- strict-origin-when-cross-origin
53
53
server :
54
54
- istio-envoy
55
55
strict-transport-security :
56
56
- max-age=31536000; includeSubDomains
57
+ transfer-encoding :
58
+ - chunked
57
59
vary :
58
60
- Accept-Encoding,Cookie
59
61
x-app-version :
60
- - v2.87.2
62
+ - v2.193.0
61
63
x-content-type-options :
62
64
- nosniff
63
65
- nosniff
64
66
x-envoy-upstream-service-time :
65
- - ' 25 '
67
+ - ' 64 '
66
68
x-frame-options :
67
69
- DENY
68
70
- SAMEORIGIN
69
71
x-secrets-engine-version :
70
- - 2.117.0
72
+ - 2.136.1
71
73
x-xss-protection :
72
74
- 1; mode=block
73
75
status :
74
76
code : 200
75
77
message : OK
76
78
- request :
77
79
body :
78
- ' [{"filename": "file", "document": "-----BEGIN RSA PRIVATE KEY-----\nMIIBOgIBAAJBAIIRkYjxjE3KIZiEc8k4sWWGNsPYRNE0u0bl5oFVApPLm+uXQ/4l\nbKO9LFtMiVPy700oMWLScwAN5OAiqVLMvHUCAwEAAQJANLr8nmEWuV6t2hAwhK5I\nNNmBkEo4M/xFxEtl9J7LKbE2gtNrlCQiJlPP1EMhwAjDOzQcJ3lgFB28dkqH5rMW\nTQIhANrCE7O+wlCKe0WJqQ3lYlHG91XWyGVgfExJwBDsAD9LAiEAmDY5OSsH0n2A\n22tthkAvcN1s66lG+0DztOVJ4QLI2z8CIBPeDGwGpx8pdIicN/5LFuLWbyAcoZaT\nbLaA/DCNPniBAiA0l//bzg+M3srIhm04xzLdR9Vb9IjPRlkvN074zdKDVwIhAKJb\nRF3C+CMFb0wXme/ovcDeM1+3W/UmSHYUW4b3WYq4\n-----END
79
- RSA PRIVATE KEY-----"}]'
80
- headers :
81
- Accept :
82
- - ' */*'
83
- Accept-Encoding :
84
- - gzip, deflate
85
- Connection :
86
- - keep-alive
87
- Content-Length :
88
- - ' 538'
89
- Content-Type :
90
- - application/json
91
- GGShield-Command-Id :
92
- - 7a6ae986-4f2d-45ff-9a71-91fdd049ef51
93
- GGShield-Command-Path :
94
- - external
95
- GGShield-OS-Name :
96
- - ubuntu
97
- GGShield-OS-Version :
98
- - ' 22.04'
99
- GGShield-Python-Version :
100
- - 3.10.12
101
- GGShield-Version :
102
- - 1.29.0
103
- User-Agent :
104
- - pygitguardian/1.15.2 (Linux;py3.10.12)
105
- mode :
106
- - path
107
- method : POST
108
- uri : https://api.gitguardian.com/v1/multiscan?ignore_known_secrets=True
109
- response :
110
- body :
111
- string :
112
- ' [{"policy_break_count":1,"policies":["File extensions","Filenames","Secrets
113
- detection"],"policy_breaks":[{"type":"RSA Private Key","policy":"Secrets detection","matches":[{"type":"apikey","match":"-----BEGIN
114
- RSA PRIVATE KEY-----\nMIIBOgIBAAJBAIIRkYjxjE3KIZiEc8k4sWWGNsPYRNE0u0bl5oFVApPLm+uXQ/4l\nbKO9LFtMiVPy700oMWLScwAN5OAiqVLMvHUCAwEAAQJANLr8nmEWuV6t2hAwhK5I\nNNmBkEo4M/xFxEtl9J7LKbE2gtNrlCQiJlPP1EMhwAjDOzQcJ3lgFB28dkqH5rMW\nTQIhANrCE7O+wlCKe0WJqQ3lYlHG91XWyGVgfExJwBDsAD9LAiEAmDY5OSsH0n2A\n22tthkAvcN1s66lG+0DztOVJ4QLI2z8CIBPeDGwGpx8pdIicN/5LFuLWbyAcoZaT\nbLaA/DCNPniBAiA0l//bzg+M3srIhm04xzLdR9Vb9IjPRlkvN074zdKDVwIhAKJb\nRF3C+CMFb0wXme/ovcDeM1+3W/UmSHYUW4b3WYq4\n-----END
115
- RSA PRIVATE KEY-----","index_start":0,"index_end":491,"line_start":1,"line_end":9}],"incident_url":"https://dashboard.gitguardian.com/workspace/8/incidents/8137383","known_secret":true,"validity":"no_checker"}]}]'
116
- headers :
117
- access-control-expose-headers :
118
- - X-App-Version
119
- allow :
120
- - POST, OPTIONS
121
- content-length :
122
- - ' 889'
123
- content-type :
124
- - application/json
125
- cross-origin-opener-policy :
126
- - same-origin
127
- date :
128
- - Mon, 12 Aug 2024 09:19:10 GMT
129
- referrer-policy :
130
- - strict-origin-when-cross-origin
131
- server :
132
- - istio-envoy
133
- strict-transport-security :
134
- - max-age=31536000; includeSubDomains
135
- vary :
136
- - Cookie
137
- x-app-version :
138
- - v2.87.2
139
- x-content-type-options :
140
- - nosniff
141
- - nosniff
142
- x-envoy-upstream-service-time :
143
- - ' 65'
144
- x-frame-options :
145
- - DENY
146
- - SAMEORIGIN
147
- x-secrets-engine-version :
148
- - 2.117.0
149
- x-xss-protection :
150
- - 1; mode=block
151
- status :
152
- code : 200
153
- message : OK
154
- - request :
155
- body :
156
- ' [{"filename": "/tmp/pytest-of-mmillet/pytest-1/test_json_output_for_patch__MU1/file",
80
+ ' [{"filename": "/tmp/pytest-of-salomevoltz/pytest-8/test_json_output_for_patch__MU0/file",
157
81
"document": "-----BEGIN RSA PRIVATE KEY-----\nMIIBOgIBAAJBAIIRkYjxjE3KIZiEc8k4sWWGNsPYRNE0u0bl5oFVApPLm+uXQ/4l\nbKO9LFtMiVPy700oMWLScwAN5OAiqVLMvHUCAwEAAQJANLr8nmEWuV6t2hAwhK5I\nNNmBkEo4M/xFxEtl9J7LKbE2gtNrlCQiJlPP1EMhwAjDOzQcJ3lgFB28dkqH5rMW\nTQIhANrCE7O+wlCKe0WJqQ3lYlHG91XWyGVgfExJwBDsAD9LAiEAmDY5OSsH0n2A\n22tthkAvcN1s66lG+0DztOVJ4QLI2z8CIBPeDGwGpx8pdIicN/5LFuLWbyAcoZaT\nbLaA/DCNPniBAiA0l//bzg+M3srIhm04xzLdR9Vb9IjPRlkvN074zdKDVwIhAKJb\nRF3C+CMFb0wXme/ovcDeM1+3W/UmSHYUW4b3WYq4\n-----END
158
82
RSA PRIVATE KEY-----"}]'
159
83
headers :
@@ -164,67 +88,73 @@ interactions:
164
88
Connection :
165
89
- keep-alive
166
90
Content-Length :
167
- - ' 602 '
91
+ - ' 606 '
168
92
Content-Type :
169
93
- application/json
170
94
GGShield-Command-Id :
171
- - 0705b453-f434-4c4c-8c80-3ecd4d7ad679
95
+ - 2160e3a2-c12b-40f3-83de-f610ed3a643b
172
96
GGShield-Command-Path :
173
97
- external
174
98
GGShield-OS-Name :
175
99
- ubuntu
176
100
GGShield-OS-Version :
177
- - ' 22 .04'
101
+ - ' 24 .04'
178
102
GGShield-Python-Version :
179
- - 3.11.8
103
+ - 3.11.10
180
104
GGShield-Version :
181
- - 1.33.0
105
+ - 1.38.1
182
106
User-Agent :
183
- - pygitguardian/1.18 .0 (Linux;py3.11.8 )
107
+ - pygitguardian/1.20 .0 (Linux;py3.11.10 )
184
108
mode :
185
109
- path
110
+ scan_options :
111
+ - ' {"show_secrets": false, "ignored_detectors_count": 0, "ignored_matches_count":
112
+ 0, "ignored_paths_count": 0, "ignore_known_secrets": false, "with_incident_details":
113
+ false, "has_prereceive_remediation_message": false, "all_secrets": false}'
186
114
method : POST
187
115
uri : https://api.gitguardian.com/v1/multiscan?all_secrets=True
188
116
response :
189
117
body :
190
118
string :
191
119
' [{"policy_break_count":1,"policies":["Secrets detection"],"policy_breaks":[{"type":"RSA
192
- Private Key","policy ":"Secrets detection ","matches":[{"type":"apikey","match ":"-----BEGIN
193
- RSA PRIVATE KEY-----\nMIIBOgIBAAJBAIIRkYjxjE3KIZiEc8k4sWWGNsPYRNE0u0bl5oFVApPLm+uXQ/4l\nbKO9LFtMiVPy700oMWLScwAN5OAiqVLMvHUCAwEAAQJANLr8nmEWuV6t2hAwhK5I\nNNmBkEo4M/xFxEtl9J7LKbE2gtNrlCQiJlPP1EMhwAjDOzQcJ3lgFB28dkqH5rMW\nTQIhANrCE7O+wlCKe0WJqQ3lYlHG91XWyGVgfExJwBDsAD9LAiEAmDY5OSsH0n2A\n22tthkAvcN1s66lG+0DztOVJ4QLI2z8CIBPeDGwGpx8pdIicN/5LFuLWbyAcoZaT\nbLaA/DCNPniBAiA0l//bzg+M3srIhm04xzLdR9Vb9IjPRlkvN074zdKDVwIhAKJb\nRF3C+CMFb0wXme/ovcDeM1+3W/UmSHYUW4b3WYq4\n-----END
194
- RSA PRIVATE KEY-----","index_start":0,"index_end":491,"line_start":1,"line_end":9}],"is_excluded":false,"exclude_reason":null,"incident_url":"","known_secret":false ,"validity":"no_checker","diff_kind":null}],"is_diff":false}]'
120
+ Private Key","detector_name ":"private_key_rsa ","detector_group_name":"private_key_rsa","documentation_url ":"https://docs.gitguardian.com/secrets-detection/secrets-detection-engine/detectors/specifics/private_key_rsa","policy":"Secrets
121
+ detection","matches":[{"type":"apikey","match":"-----BEGIN RSA PRIVATE KEY-----\nMIIBOgIBAAJBAIIRkYjxjE3KIZiEc8k4sWWGNsPYRNE0u0bl5oFVApPLm+uXQ/4l\nbKO9LFtMiVPy700oMWLScwAN5OAiqVLMvHUCAwEAAQJANLr8nmEWuV6t2hAwhK5I\nNNmBkEo4M/xFxEtl9J7LKbE2gtNrlCQiJlPP1EMhwAjDOzQcJ3lgFB28dkqH5rMW\nTQIhANrCE7O+wlCKe0WJqQ3lYlHG91XWyGVgfExJwBDsAD9LAiEAmDY5OSsH0n2A\n22tthkAvcN1s66lG+0DztOVJ4QLI2z8CIBPeDGwGpx8pdIicN/5LFuLWbyAcoZaT\nbLaA/DCNPniBAiA0l//bzg+M3srIhm04xzLdR9Vb9IjPRlkvN074zdKDVwIhAKJb\nRF3C+CMFb0wXme/ovcDeM1+3W/UmSHYUW4b3WYq4\n-----END
122
+ RSA PRIVATE KEY-----","index_start":0,"index_end":491,"line_start":1,"line_end":9}],"is_excluded":false,"exclude_reason":null,"incident_url":"https://dashboard.gitguardian.com/workspace/518431/incidents/9787731 ","known_secret":true ,"validity":"no_checker","diff_kind":null}],"is_diff":false}]'
195
123
headers :
196
124
access-control-expose-headers :
197
125
- X-App-Version
198
126
allow :
199
127
- POST, OPTIONS
200
128
content-length :
201
- - ' 872 '
129
+ - ' 1143 '
202
130
content-type :
203
131
- application/json
204
132
cross-origin-opener-policy :
205
133
- same-origin
206
134
date :
207
- - Wed, 27 Nov 2024 12: 13:35 GMT
135
+ - Tue, 22 Apr 2025 13:27:58 GMT
208
136
referrer-policy :
209
137
- strict-origin-when-cross-origin
210
138
server :
211
139
- istio-envoy
212
140
strict-transport-security :
213
141
- max-age=31536000; includeSubDomains
142
+ transfer-encoding :
143
+ - chunked
214
144
vary :
215
- - Cookie
145
+ - Accept-Encoding, Cookie
216
146
x-app-version :
217
- - v2.121 .0
147
+ - v2.193 .0
218
148
x-content-type-options :
219
149
- nosniff
220
150
- nosniff
221
151
x-envoy-upstream-service-time :
222
- - ' 65 '
152
+ - ' 84 '
223
153
x-frame-options :
224
154
- DENY
225
155
- SAMEORIGIN
226
156
x-secrets-engine-version :
227
- - 2.127.0
157
+ - 2.136.1
228
158
x-xss-protection :
229
159
- 1; mode=block
230
160
status :
0 commit comments