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

# Check if private vulnerability reporting is enabled for a repository

`GET /repos/{owner}/{repo}/private-vulnerability-reporting`

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](https://docs.github.com/enterprise-cloud@latest/code-security/security-advisories/working-with-repository-security-advisories/evaluating-the-security-settings-of-a-repository)".

## Path parameters

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

## Response `200`

Private vulnerability reporting status

- object
  - `enabled` boolean, required — Whether or not private vulnerability reporting is enabled for the repository.

## Other responses

- `422` — Bad Request

---

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