reposCheckPrivateVulnerabilityReporting
Check if private vulnerability reporting is enabled for a repository
GET /repos/{owner}/{repo}/private-vulnerability-reporting HTTP/1.1Parameters
{
"owner": {
"description": "The account owner of the repository. The name is not case sensitive.",
"required": true,
"location": "path",
"type": "string"
},
"repo": {
"description": "The name of the repository without the `.git` extension. The name is not case sensitive.",
"required": true,
"location": "path",
"type": "string"
}
}Response Schema
{
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"description": "Whether or not private vulnerability reporting is enabled for the repository."
}
},
"required": [
"enabled"
]
}