latestOpenAPI 3.0.3GitGuardian2026-08-201871515.0 MB

511b067cdcb1

Internal Secret Incidents

Retrieve the remediation workflow

Retrieve the remediation workflow displayed for secret incidents.

Returns the custom remediation workflow configured for the account when one exists and is active, otherwise a default workflow. For the default workflow, id, gg_created_at and gg_updated_at are omitted.

get/v1/remediation-workflow

Response

Remediation Workflow

idinteger

Identifier of the workflow. Absent for the default workflow.

account_idinteger required

Identifier of the account owning the workflow.

created_atstring date-time

Creation date. Absent for the default workflow.

updated_atstring date-time

Last update date. Absent for the default workflow.

Example response

{
  "id": 42,
  "account_id": 1,
  "steps": [
    {
      "title": "Rotate & revoke the leaked secret",
      "description": "A secret that has been leaked should be considered compromised.",
      "link": {
        "text": "Read the documentation",
        "url": "https://docs.gitguardian.com"
      }
    }
  ],
  "created_at": "2024-06-01T10:00:00Z"
}