latestOpenAPI 3.0.3GitGuardian2026-08-201871515.0 MB

511b067cdcb1

Internal Secret Incidents

Retrieve where a secret has been publicly leaked

Retrieve where a secret has been publicly leaked.

Limitations:

  • Does not work for multimatch secrets.
  • Does not return publicly visible internal sources.
get/v1/incidents/secrets/{incident_id}/leaks

Path parameters

incident_idinteger required

The id of the incident to retrieve

Response

List of the leaks of the incident

source'github' | 'github_issue' | 'github_gist' | 'unknown'
namestring
urlstring

Example response

[
  {
    "source": "github",
    "name": "GitGuardian / ggshield",
    "url": "https://github.com/GitGuardian/ggshield/blob/1f8cd3497aa9acabaafb1851039be2c63448c2f9/README.md?plain=1#L5"
  }
]