SECOPS

Paged Secret Exposure to Auto-Revoke and Incident

When a leaked-secret detector pages PagerDuty, this workflow auto-revokes the credential, attaches the revocation evidence to the PagerDuty incident.

CategorySecOps
Enginesim
Difficultyintermediate
Triggerwebhook
Steps5
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerPagerDuty secret-exposure incident webhookPagerDutyPagerDuty
  • LogicExtract credential and check auto-revoke allowlist
  • ActionRevoke credential via provider APIGitHubGitHub
  • ActionAttach revocation evidence and update PagerDuty incidentPagerDutyPagerDuty
  • OutputAlert on-call channel in Slack with rotation stepsSlack

What it does

Bridges detection and response: a high-severity secret-exposure page triggers immediate revocation, and the proof of revocation is written straight back onto the PagerDuty incident so the on-call engineer arrives to a half-solved problem instead of a blank alert.

When to use it

Use it when secret exposures already flow through PagerDuty as incidents and you want the first containment action automated before a human acknowledges the page.

How it works

1. A PagerDuty incident webhook fires for a secret-exposure alert, carrying the credential identifier. 2. A logic step extracts the credential reference and confirms it is in scope for auto-revocation. 3. An action revokes the credential through its provider API and captures the response. 4. An action appends a note to the PagerDuty incident with the revocation timestamp and fingerprint, and updates incident status. 5. Slack alerts the on-call channel with next-step rotation instructions. Credentials outside the auto-revoke allowlist skip revocation and escalate to a human instead.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect PagerDutyIncidents, on-call, escalations.
  2. 2
    Connect GitHubRepos, issues, pull requests, actions.
  3. 3
    Connect SlackChannels, DMs, threads, mentions.
  4. 4
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  5. 5
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  6. 6
    Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.

Run this workflow in your colony.

14-day trial. No DevOps. No Sales call. Provisioned in under a minute.