Create GitHub issue from Cobalt pentest finding

Recipe ToolsWorkatoDeveloper ToolMarketing

What it does

When a pentest finding is moved to Pending Fix in Cobalt, this automation creates a GitHub issue so the engineering team can start work. It checks for existing tickets and stops if the finding moves to any other state.

Who it's for

Engineering teams who track pentest findings as GitHub issues and need them created automatically when ready to fix.

How teams use this

Automate pentest to engineering handoff

Move a finding to Pending Fix in Cobalt and have a GitHub issue appear automatically in the engineering backlog. The team sees new work without manual ticket creation.

Prevent duplicate tickets across systems

Check for existing external references before creating the GitHub issue so the same pentest finding does not spawn multiple tickets. This keeps the backlog clean.

Route findings to different GitHub repos

Add a condition to route findings to different GitHub repositories based on severity or component. Only findings that match the criteria create issues in the assigned repo.

Notify security team of issue creation

Include a Slack notification when the GitHub issue is created so the security team knows the finding has moved to engineering. Add a link to the new issue in the message.

How it works

  1. Monitor pentest finding state change. When a pentest finding state updates to Pending Fix in Cobalt, this automation runs in real time to start the process.
  2. Fetch the pentest finding details. Retrieve the full pentest finding record from Cobalt, including title, description, and severity, so all details are available for the GitHub issue.
  3. Check for existing external ticket. Search Cobalt for any external ticket references already linked to this finding so a duplicate GitHub issue is not created.
  4. Create the GitHub issue. Create a new GitHub issue with the pentest finding details, including title, description, and severity, so engineering can begin remediation work.