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

# Changes to List locations for a secret scanning alert

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

> Every recorded change to this operation, newest first.
> 85 revisions in range; 1 not diffed.

## Timeline

Changed in 1 of 85 revisions.

- **2026-04-02** (2022-11-28) `c6dda6cbc43e`: 9 info

## Changes

- **2026-04-02** (2022-11-28) `c6dda6cbc43e`: 9 info
  - added the optional property `items/details/oneOf[#/components/schemas/secret-scanning-location-commit]/html_url` to the response with the `200` status
  - added the optional property `items/details/oneOf[#/components/schemas/secret-scanning-location-issue-body]/html_url` to the response with the `200` status
  - added the optional property `items/details/oneOf[#/components/schemas/secret-scanning-location-issue-comment]/html_url` to the response with the `200` status
  - added the optional property `items/details/oneOf[#/components/schemas/secret-scanning-location-issue-title]/html_url` to the response with the `200` status
  - added the optional property `items/details/oneOf[#/components/schemas/secret-scanning-location-pull-request-body]/html_url` to the response with the `200` status
  - added the optional property `items/details/oneOf[#/components/schemas/secret-scanning-location-pull-request-comment]/html_url` to the response with the `200` status
  - added the optional property `items/details/oneOf[#/components/schemas/secret-scanning-location-pull-request-review-comment]/html_url` to the response with the `200` status
  - added the optional property `items/details/oneOf[#/components/schemas/secret-scanning-location-pull-request-review]/html_url` to the response with the `200` status
  - added the optional property `items/details/oneOf[#/components/schemas/secret-scanning-location-pull-request-title]/html_url` to the response with the `200` status

---

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