|
| 1 | +interactions: |
| 2 | + - request: |
| 3 | + body: '{"sources_to_add": [126], "sources_to_remove": []}' |
| 4 | + headers: |
| 5 | + Accept: |
| 6 | + - '*/*' |
| 7 | + Accept-Encoding: |
| 8 | + - gzip, deflate |
| 9 | + Connection: |
| 10 | + - keep-alive |
| 11 | + Content-Length: |
| 12 | + - '50' |
| 13 | + Content-Type: |
| 14 | + - application/json |
| 15 | + User-Agent: |
| 16 | + - pygitguardian/1.18.0 (Darwin;py3.11.8) |
| 17 | + method: POST |
| 18 | + uri: https://api.gitguardian.com/v1/teams/9/sources |
| 19 | + response: |
| 20 | + body: |
| 21 | + string: '' |
| 22 | + headers: |
| 23 | + Access-Control-Expose-Headers: |
| 24 | + - X-App-Version |
| 25 | + Allow: |
| 26 | + - GET, POST, HEAD, OPTIONS |
| 27 | + Connection: |
| 28 | + - keep-alive |
| 29 | + Content-Length: |
| 30 | + - '0' |
| 31 | + Cross-Origin-Opener-Policy: |
| 32 | + - same-origin |
| 33 | + Date: |
| 34 | + - Fri, 06 Dec 2024 12:46:14 GMT |
| 35 | + Referrer-Policy: |
| 36 | + - same-origin |
| 37 | + Server: |
| 38 | + - nginx/1.24.0 |
| 39 | + Vary: |
| 40 | + - Cookie |
| 41 | + X-App-Version: |
| 42 | + - dev |
| 43 | + X-Content-Type-Options: |
| 44 | + - nosniff |
| 45 | + X-Frame-Options: |
| 46 | + - DENY |
| 47 | + X-Request-ID: |
| 48 | + - 05e58838d26c922add8312a362dba69c |
| 49 | + X-SCA-Engine-Version: |
| 50 | + - 2.2.0 |
| 51 | + X-Secrets-Engine-Version: |
| 52 | + - 2.127.0 |
| 53 | + status: |
| 54 | + code: 204 |
| 55 | + message: No Content |
| 56 | + - request: |
| 57 | + body: type=azure_devops |
| 58 | + headers: |
| 59 | + Accept: |
| 60 | + - '*/*' |
| 61 | + Accept-Encoding: |
| 62 | + - gzip, deflate |
| 63 | + Connection: |
| 64 | + - keep-alive |
| 65 | + Content-Length: |
| 66 | + - '17' |
| 67 | + Content-Type: |
| 68 | + - application/x-www-form-urlencoded |
| 69 | + User-Agent: |
| 70 | + - pygitguardian/1.18.0 (Darwin;py3.11.8) |
| 71 | + method: GET |
| 72 | + uri: https://api.gitguardian.com/v1/teams/9/sources |
| 73 | + response: |
| 74 | + body: |
| 75 | + string: '[{"id":124,"type":"azure_devops","full_name":"gg-integration-test / |
| 76 | + gg-test / default_branch","health":"at_risk","source_criticality":"unknown","default_branch":"test","default_branch_head":null,"open_incidents_count":19,"closed_incidents_count":0,"last_scan":{"date":"2024-12-06T12:27:52.346395Z","status":"finished","failing_reason":"","commits_scanned":23,"duration":"0.437131","branches_scanned":1,"progress":100},"monitored":true,"visibility":"private","external_id":"05b69081-f346-4022-8784-198f50aed182","secret_incidents_breakdown":{"open_secret_incidents":{"total":19,"severity_breakdown":{"critical":0,"high":0,"medium":0,"low":0,"info":0,"unknown":19}},"closed_secret_incidents":{"total":0,"severity_breakdown":{"critical":0,"high":0,"medium":0,"low":0,"info":0,"unknown":0}}},"url":"https://dev.azure.com/gg-integration-test/gg-test/_git/default_branch"},{"id":125,"type":"azure_devops","full_name":"gg-integration-test |
| 77 | + / gg-test / gg-test","health":"at_risk","source_criticality":"unknown","default_branch":"main","default_branch_head":null,"open_incidents_count":19,"closed_incidents_count":0,"last_scan":{"date":"2024-12-06T12:27:52.346418Z","status":"finished","failing_reason":"","commits_scanned":43,"duration":"0.492489","branches_scanned":1,"progress":100},"monitored":true,"visibility":"private","external_id":"7655868e-bb15-47ab-bd62-abd97212e5e8","secret_incidents_breakdown":{"open_secret_incidents":{"total":19,"severity_breakdown":{"critical":0,"high":0,"medium":0,"low":0,"info":0,"unknown":19}},"closed_secret_incidents":{"total":0,"severity_breakdown":{"critical":0,"high":0,"medium":0,"low":0,"info":0,"unknown":0}}},"url":"https://dev.azure.com/gg-integration-test/gg-test/_git/gg-test"},{"id":126,"type":"azure_devops","full_name":"gg-integration-test |
| 78 | + / gg-test / huge_repo","health":"safe","source_criticality":"unknown","default_branch":"master","default_branch_head":null,"open_incidents_count":0,"closed_incidents_count":0,"last_scan":{"date":"2024-12-06T12:27:52.346442Z","status":"finished","failing_reason":"","commits_scanned":1007,"duration":"1.102781","branches_scanned":1,"progress":100},"monitored":true,"visibility":"private","external_id":"455c4e0c-6dc3-48ce-a0e7-819d9a8d7523","secret_incidents_breakdown":{"open_secret_incidents":{"total":0,"severity_breakdown":{"critical":0,"high":0,"medium":0,"low":0,"info":0,"unknown":0}},"closed_secret_incidents":{"total":0,"severity_breakdown":{"critical":0,"high":0,"medium":0,"low":0,"info":0,"unknown":0}}},"url":"https://dev.azure.com/gg-integration-test/gg-test/_git/huge_repo"},{"id":127,"type":"azure_devops","full_name":"gg-integration-test |
| 79 | + / gg-test / new_repo","health":"safe","source_criticality":"unknown","default_branch":"master","default_branch_head":null,"open_incidents_count":0,"closed_incidents_count":0,"last_scan":{"date":"2024-12-06T12:27:52.346464Z","status":"finished","failing_reason":"","commits_scanned":1,"duration":"0.216094","branches_scanned":1,"progress":100},"monitored":true,"visibility":"private","external_id":"f9b583fb-dcfd-46ec-8938-44b427d3e596","secret_incidents_breakdown":{"open_secret_incidents":{"total":0,"severity_breakdown":{"critical":0,"high":0,"medium":0,"low":0,"info":0,"unknown":0}},"closed_secret_incidents":{"total":0,"severity_breakdown":{"critical":0,"high":0,"medium":0,"low":0,"info":0,"unknown":0}}},"url":"https://dev.azure.com/gg-integration-test/gg-test/_git/new_repo"},{"id":128,"type":"azure_devops","full_name":"gg-integration-test |
| 80 | + / gg-test / t e s t i n g","health":"at_risk","source_criticality":"unknown","default_branch":"main","default_branch_head":null,"open_incidents_count":110,"closed_incidents_count":0,"last_scan":{"date":"2024-12-06T12:27:52.346299Z","status":"finished","failing_reason":"","commits_scanned":113,"duration":"7.597231","branches_scanned":2,"progress":100},"monitored":true,"visibility":"private","external_id":"8a132329-0c77-4efc-a18a-882bda6ab28b","secret_incidents_breakdown":{"open_secret_incidents":{"total":110,"severity_breakdown":{"critical":0,"high":0,"medium":0,"low":0,"info":0,"unknown":110}},"closed_secret_incidents":{"total":0,"severity_breakdown":{"critical":0,"high":0,"medium":0,"low":0,"info":0,"unknown":0}}},"url":"https://dev.azure.com/gg-integration-test/gg-test/_git/t%20e%20s%20t%20i%20n%20g"},{"id":129,"type":"azure_devops","full_name":"gg-integration-test |
| 81 | + / gg-test / test abc","health":"at_risk","source_criticality":"unknown","default_branch":"main","default_branch_head":null,"open_incidents_count":28,"closed_incidents_count":0,"last_scan":{"date":"2024-12-06T12:27:52.346367Z","status":"finished","failing_reason":"","commits_scanned":55,"duration":"0.623082","branches_scanned":1,"progress":100},"monitored":true,"visibility":"private","external_id":"2aa16b64-2fb2-4639-afeb-70c0c4e8a267","secret_incidents_breakdown":{"open_secret_incidents":{"total":28,"severity_breakdown":{"critical":0,"high":0,"medium":0,"low":0,"info":0,"unknown":28}},"closed_secret_incidents":{"total":0,"severity_breakdown":{"critical":0,"high":0,"medium":0,"low":0,"info":0,"unknown":0}}},"url":"https://dev.azure.com/gg-integration-test/gg-test/_git/test%20abc"}]' |
| 82 | + headers: |
| 83 | + Access-Control-Expose-Headers: |
| 84 | + - X-App-Version |
| 85 | + Allow: |
| 86 | + - GET, POST, HEAD, OPTIONS |
| 87 | + Connection: |
| 88 | + - keep-alive |
| 89 | + Content-Length: |
| 90 | + - '5158' |
| 91 | + Content-Type: |
| 92 | + - application/json |
| 93 | + Cross-Origin-Opener-Policy: |
| 94 | + - same-origin |
| 95 | + Date: |
| 96 | + - Fri, 06 Dec 2024 12:46:14 GMT |
| 97 | + Link: |
| 98 | + - '' |
| 99 | + Referrer-Policy: |
| 100 | + - same-origin |
| 101 | + Server: |
| 102 | + - nginx/1.24.0 |
| 103 | + Vary: |
| 104 | + - Cookie |
| 105 | + X-App-Version: |
| 106 | + - dev |
| 107 | + X-Content-Type-Options: |
| 108 | + - nosniff |
| 109 | + X-Frame-Options: |
| 110 | + - DENY |
| 111 | + X-Per-Page: |
| 112 | + - '20' |
| 113 | + X-Request-ID: |
| 114 | + - 235112590e3f298f700971bb283acb6c |
| 115 | + X-SCA-Engine-Version: |
| 116 | + - 2.2.0 |
| 117 | + X-Secrets-Engine-Version: |
| 118 | + - 2.127.0 |
| 119 | + status: |
| 120 | + code: 200 |
| 121 | + message: OK |
| 122 | +version: 1 |
0 commit comments