|
| 1 | +interactions: |
| 2 | + - request: |
| 3 | + body: |
| 4 | + '{"document": "\n import urllib.request\n url = ''http://jen_barber:correcthorsebatterystaple@cake.gitguardian.com/isreal.json''\n response |
| 5 | + = urllib.request.urlopen(url)\n consume(response.read())\"\n"}' |
| 6 | + headers: |
| 7 | + Accept: |
| 8 | + - '*/*' |
| 9 | + Accept-Encoding: |
| 10 | + - gzip, deflate |
| 11 | + Connection: |
| 12 | + - keep-alive |
| 13 | + Content-Length: |
| 14 | + - '211' |
| 15 | + Content-Type: |
| 16 | + - application/json |
| 17 | + User-Agent: |
| 18 | + - pygitguardian/1.1.0 (Linux;py3.8.3) |
| 19 | + method: POST |
| 20 | + uri: https://api.gitguardian.com/v1/scan |
| 21 | + response: |
| 22 | + body: |
| 23 | + string: |
| 24 | + '{"policy_break_count":1,"policies":["Secrets detection","File extensions","Filenames"],"policy_breaks":[{"type":"Basic |
| 25 | + Auth String","policy":"Secrets detection","validity":"valid","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}]}]}' |
| 26 | + headers: |
| 27 | + Allow: |
| 28 | + - OPTIONS, POST |
| 29 | + Connection: |
| 30 | + - keep-alive |
| 31 | + Content-Length: |
| 32 | + - '499' |
| 33 | + Content-Type: |
| 34 | + - application/json |
| 35 | + Date: |
| 36 | + - Fri, 19 Jun 2020 13:32:51 GMT |
| 37 | + Server: |
| 38 | + - nginx |
| 39 | + Vary: |
| 40 | + - Cookie |
| 41 | + X-Content-Type-Options: |
| 42 | + - nosniff |
| 43 | + X-Frame-Options: |
| 44 | + - DENY |
| 45 | + X-App-Version: |
| 46 | + - 1.26.0-rc.4 |
| 47 | + X-Secrets-Engine-Version: |
| 48 | + - 2.43.0 |
| 49 | + status: |
| 50 | + code: 200 |
| 51 | + message: OK |
| 52 | + - request: |
| 53 | + body: |
| 54 | + '{"document": "\n import urllib.request\n url = ''http://jen_barber:correcthorsebatterystaple@cake.gitguardian.com/isreal.json''\n response |
| 55 | + = urllib.request.urlopen(url)\n consume(response.read())\"\n"}' |
| 56 | + headers: |
| 57 | + Accept: |
| 58 | + - '*/*' |
| 59 | + Accept-Encoding: |
| 60 | + - gzip, deflate |
| 61 | + Connection: |
| 62 | + - keep-alive |
| 63 | + Content-Length: |
| 64 | + - '211' |
| 65 | + Content-Type: |
| 66 | + - application/json |
| 67 | + User-Agent: |
| 68 | + - pygitguardian/1.1.0 (Linux;py3.8.3) |
| 69 | + method: POST |
| 70 | + uri: https://api.gitguardian.com/v1/scan |
| 71 | + response: |
| 72 | + body: |
| 73 | + string: |
| 74 | + '{"policy_break_count":1,"policies":["Secrets detection","File extensions","Filenames"],"policy_breaks":[{"type":"Basic |
| 75 | + 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}]}]}' |
| 76 | + headers: |
| 77 | + Allow: |
| 78 | + - OPTIONS, POST |
| 79 | + Connection: |
| 80 | + - keep-alive |
| 81 | + Content-Length: |
| 82 | + - '499' |
| 83 | + Content-Type: |
| 84 | + - application/json |
| 85 | + Date: |
| 86 | + - Fri, 19 Jun 2020 14:58:41 GMT |
| 87 | + Server: |
| 88 | + - nginx |
| 89 | + Vary: |
| 90 | + - Cookie |
| 91 | + X-Content-Type-Options: |
| 92 | + - nosniff |
| 93 | + X-Frame-Options: |
| 94 | + - DENY |
| 95 | + X-App-Version: |
| 96 | + - 1.26.0-rc.4 |
| 97 | + X-Secrets-Engine-Version: |
| 98 | + - 2.43.0 |
| 99 | + status: |
| 100 | + code: 200 |
| 101 | + message: OK |
| 102 | +version: 1 |
0 commit comments