---
title: "Check if vulnerability alerts are enabled for a repository"
method: GET
path: "/repos/{owner}/{repo}/vulnerability-alerts"
tags: ["repos"]
---

# 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](https://docs.github.com/articles/about-security-alerts-for-vulnerable-dependencies)".

## Path parameters

- `owner` string, required
- `repo` string, required

## Response `204`

Response if repository is enabled with vulnerability alerts

## Other responses

- `404` — Not Found if repository is not enabled with vulnerability alerts

---

[API](https://skmtc.net/github/apis/rest-api.md) · [All operations](https://skmtc.net/github/apis/rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/rest-api/versions/80850db290cd/schema)
