---
title: "Changes to Get a secret scanning alert"
method: GET
path: "/repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"
---

# Changes to Get a secret scanning alert

`GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 5 of 94 revisions.

- **2026-07-10** `6876c1d87d2d`: 1 info
- **2026-04-09** `bc41f0958ba7`: 1 info
- **2026-04-07** `d6a1ab31d4d8`: 1 info
- **2026-04-02** `4d4fb57b15e5`: 3 info
- **2026-04-02** `f46a0dd461fb`: 9 info

## Changes

- **2026-07-10** `6876c1d87d2d`: 1 info
  - added the optional property `metadata` to the response with the `200` status
- **2026-04-09** `bc41f0958ba7`: 1 info
  - added the optional property `provider_slug` to the response with the `200` status
- **2026-04-07** `d6a1ab31d4d8`: 1 info
  - added the optional property `provider` to the response with the `200` status
- **2026-04-02** `4d4fb57b15e5`: 3 info
  - added the optional property `closure_request_comment` to the response with the `200` status
  - added the optional property `closure_request_reviewer` to the response with the `200` status
  - added the optional property `closure_request_reviewer_comment` to the response with the `200` status
- **2026-04-02** `f46a0dd461fb`: 9 info
  - added the optional property `first_location_detected/oneOf[#/components/schemas/secret-scanning-location-commit]/html_url` to the response with the `200` status
  - added the optional property `first_location_detected/oneOf[#/components/schemas/secret-scanning-location-issue-body]/html_url` to the response with the `200` status
  - added the optional property `first_location_detected/oneOf[#/components/schemas/secret-scanning-location-issue-comment]/html_url` to the response with the `200` status
  - added the optional property `first_location_detected/oneOf[#/components/schemas/secret-scanning-location-issue-title]/html_url` to the response with the `200` status
  - added the optional property `first_location_detected/oneOf[#/components/schemas/secret-scanning-location-pull-request-body]/html_url` to the response with the `200` status
  - added the optional property `first_location_detected/oneOf[#/components/schemas/secret-scanning-location-pull-request-comment]/html_url` to the response with the `200` status
  - added the optional property `first_location_detected/oneOf[#/components/schemas/secret-scanning-location-pull-request-review-comment]/html_url` to the response with the `200` status
  - added the optional property `first_location_detected/oneOf[#/components/schemas/secret-scanning-location-pull-request-review]/html_url` to the response with the `200` status
  - added the optional property `first_location_detected/oneOf[#/components/schemas/secret-scanning-location-pull-request-title]/html_url` to the response with the `200` status

---

[Operation](https://skmtc.dev/github/apis/enterprise-cloud/docs/repos/:owner/:repo/secret-scanning/alerts/:alert_number/get.md) · [API](https://skmtc.dev/github/apis/enterprise-cloud.md) · [Page](https://skmtc.dev/github/apis/enterprise-cloud/changes/repos/:owner/:repo/secret-scanning/alerts/:alert_number/get)
