Create a webhook
1
Open Webhooks settings
Go to Settings → Webhooks and click Add webhook.
2
Enter your endpoint URL
Paste the HTTPS URL that should receive events — your server, a Slack incoming webhook proxy, or a workflow automation endpoint.
3
Copy the signing secret
BattleTest shows a signing secret once, on creation. Store it in your secrets manager — you’ll need it to verify signatures.
4
Save and test
Save the webhook. Use the Send test event button to confirm your endpoint receives and acknowledges the payload with a 2xx response.
Alert on confirmed critical findings
Listen forbattletest.vulnerability events, which fire only on confirmed CRITICAL or HIGH live-scan findings, and route them to a paging or chat channel.
Auto-create tickets for new findings
Onpr_review.completed, parse the findings and open a ticket for any HIGH or CRITICAL finding that isn’t already tracked. The run_id in the payload links back to the full finding detail in the dashboard.
Track posture over time
On everybattletest.completed, write the risk score and finding counts to your analytics store, then plot the trend in Grafana or Datadog alongside your other engineering metrics.
Always verify the
x-battletest-signature header before acting on a payload. See Signature verification for the HMAC check.