Check if vulnerability alerts are enabled for a repository
GET
/repos/{owner}/{repo}/vulnerability-alerts https://api.github.com
Shows whether dependency alerts are enabled or disabled for a repository. The authenticated user must have admin read access to the repository. For more information, see "About security alerts for vulnerable dependencies".
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
204
Response if repository is enabled with vulnerability alerts
unknown
Client Errors
404
Not Found if repository is not enabled with vulnerability alerts
unknown