secret-scanning
Get a bypass request for secret scanning
Gets a specific request to bypass secret scanning push protection in a repository.
Delegated bypass must be enabled on the repository and the user must be a bypass reviewer to access this endpoint. Personal access tokens (classic) need the security_events scope to use this endpoint.
get/repos/{owner}/{repo}/bypass-requests/secret-scanning/{bypass_request_number}
Path parameters
ownerstring required
The account owner of the repository. The name is not case sensitive.
repostring required
The name of the repository without the .git extension. The name is not case sensitive.
bypass_request_numberinteger required
The number that identifies the bypass request in a repository.
Response
A single bypass request.
Example response
{
"resource_identifier": "827efc6d56897b048c772eb4087f854f46256132",
"url": "https://api.github.com/repos/octo-org/smile/bypass-requests/secret-scanning/1",
"html_url": "https://github.com/octo-org/smile/exemptions/1"
}