List alert dismissal requests for secret scanning for an org
Lists requests to dismiss secret scanning alerts in an org.
Delegated alert dismissal must be enabled on repositories in the org and the user must be an org admin, security manager, or have the "Review and manage secret scanning alert dismissal requests" permission to access this endpoint.
Path parameters
The organization name. The name is not case sensitive.
Query parameters
The name of the repository to filter on.
Filter bypass requests by the handle of the GitHub user who reviewed the bypass request.
Filter bypass requests by the handle of the GitHub user who requested the bypass.
The time period to filter by.
For example, day will filter for rule suites that occurred in the past 24 hours, and week will filter for rule suites that occurred in the past 7 days (168 hours).
The status of the dismissal request to filter on. When specified, only requests with this status will be returned.
The number of results per page (max 100). For more information, see "Using pagination in the REST API."
The page number of the results to fetch. For more information, see "Using pagination in the REST API."
Response
A list of the alert dismissal requests.
Example response
[
{
"url": "https://api.github.com/repos/octo-org/smile/dismissal-requests/secret-scanning/1",
"html_url": "https://github.com/octo-org/smile/security/secret-scanning/17"
}
]