---
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.

## Timeline

Changed in 1 of 50 revisions.

- **2023-12-01** (3.8) `5711720b0e1c`: 1 breaking, 8 warning

## Changes

- **2023-12-01** (3.8) `5711720b0e1c`: 1 breaking, 8 warning
  - added `#/components/schemas/secret-scanning-location-discussion-title, #/components/schemas/secret-scanning-location-discussion-body, #/components/schemas/secret-scanning-location-discussion-comment, #/components/schemas/secret-scanning-location-pull-request-title, #/components/schemas/secret-scanning-location-pull-request-body, #/components/schemas/secret-scanning-location-pull-request-comment, #/components/schemas/secret-scanning-location-pull-request-review, #/components/schemas/secret-scanning-location-pull-request-review-comment` to the `items/details` response property `oneOf` list for the response status `200`
  - added the new `discussion_body` enum value to the `items/type` response property for the response status `200`
  - added the new `discussion_comment` enum value to the `items/type` response property for the response status `200`
  - added the new `discussion_title` enum value to the `items/type` response property for the response status `200`
  - added the new `pull_request_body` enum value to the `items/type` response property for the response status `200`
  - added the new `pull_request_comment` enum value to the `items/type` response property for the response status `200`
  - added the new `pull_request_review` enum value to the `items/type` response property for the response status `200`
  - added the new `pull_request_review_comment` enum value to the `items/type` response property for the response status `200`
  - added the new `pull_request_title` enum value to the `items/type` response property for the response status `200`

---

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