https
GET
api.github.com
None
/repos/matt-davis27/PyGithub/secret-scanning/alerts/1
{'Authorization': 'token private_token_removed', 'User-Agent': 'PyGithub/Python'}
None
200
[('Date', 'Mon, 25 Aug 2025 23:37:32 GMT'), ('Content-Type', 'application/json; charset=utf-8'), ('X-OAuth-Scopes', 'admin:org, repo, workflow'), ('X-Accepted-OAuth-Scopes', 'public_repo, repo, security_events'), ('github-authentication-token-expiration', '2025-09-22 17:03:22 UTC'), ('X-GitHub-Media-Type', 'github.v3; format=json'), ('x-github-api-version-selected', '2022-11-28'), ('X-RateLimit-Limit', '5000'), ('X-RateLimit-Remaining', '4991'), ('X-RateLimit-Reset', '1756165394'), ('X-RateLimit-Used', '9'), ('X-RateLimit-Resource', 'core'), ('Access-Control-Expose-Headers', 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset'), ('Access-Control-Allow-Origin', '*'), ('Strict-Transport-Security', 'max-age=31536000; includeSubdomains; preload'), ('X-Frame-Options', 'deny'), ('X-Content-Type-Options', 'nosniff'), ('X-XSS-Protection', '0'), ('Referrer-Policy', 'origin-when-cross-origin, strict-origin-when-cross-origin'), ('Content-Security-Policy', "default-src 'none'"), ('Vary', 'Accept-Encoding, Accept, X-Requested-With'), ('Content-Encoding', 'gzip'), ('Transfer-Encoding', 'chunked'), ('Server', 'github.com'), ('X-GitHub-Request-Id', '4E3C:162923:9D732E2:A422173:68ACF3BB')]
{"number": 1,"created_at": "2020-11-06T18:18:30Z","url": "https://api.github.com/repos/matt-davis27/PyGithub/secret-scanning/alerts/1","html_url": "https://github.com/matt-davis27/PyGithub/security/secret-scanning/1","locations_url": "https://api.github.com/repos/matt-davis27/PyGithub/secret-scanning/alerts/1/locations","state": "open","resolution": null,"resolved_at": null,"resolved_by": null,"secret_type": "mailchimp_api_key","secret_type_display_name": "Mailchimp API Key","secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2","push_protection_bypassed_by": null,"push_protection_bypassed": false,"push_protection_bypassed_at": null,"push_protection_bypass_request_reviewer": null,"push_protection_bypass_request_reviewer_comment": null,"push_protection_bypass_request_comment": null,"push_protection_bypass_request_html_url": null,"resolution_comment": null,"validity": "unknown","publicly_leaked": false,"multi_repo": false,"is_base64_encoded": false,"first_location_detected": {"path": "/example/secrets.txt","start_line": 1,"end_line": 2,"start_column": 3,"end_column": 4, "blob_sha": "1234","blob_url": "https://api.github.com/repos/matt-davis27/PyGithub/git/blobs/1234","commit_sha": "123","commit_url": "https://api.github.com/repos/matt-davis27/PyGithub/git/commits/123"},"has_more_locations": false}
