Check if vulnerability alerts are enabled for a repository
GET
/repos/{owner}/{repo}/vulnerability-alerts
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
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ” owner
required
string
The account owner of the repository. The name is not case sensitive.
repo
required
string
The name of the repository without the .git extension. The name is not case sensitive.
Responses
Section titled “ Responses ”Response if repository is enabled with vulnerability alerts
Not Found if repository is not enabled with vulnerability alerts