Check if private vulnerability reporting is enabled for a repository
GET
/repos/{owner}/{repo}/private-vulnerability-reporting https://api.github.com
Returns a boolean indicating whether or not private vulnerability reporting is enabled for the repository. For more information, see "Evaluating the security settings of a repository".
Parameters
path Path Parameters
| Name | Type |
|---|---|
owner
required
The account owner of the repository. The name is not case sensitive. | string |
repo
required
The name of the repository without the | string |
Responses
200 application/json
Private vulnerability reporting status
{ enabled: boolean; }
Client Errors
422 application/json
Bad Request
interface BasicError {
message?: string;
documentation_url?: string;
url?: string;
status?: string;
}
message?: string;
documentation_url?: string;
url?: string;
status?: string;
}