Safeguard Docs

Webhooks & Events

How Safeguard tells your systems that something happened - scan results over the CI scan API and notifications in your team's chat tool.

Webhooks & Events

Safeguard reaches your systems in two ways. Pick the one that matches what you want to react to.

You wantUse
The result of a scan in your pipelineThe CI scan API: start a scan, then poll its status and gates
Findings and alerts in a team channelChatOps integrations (Slack, Microsoft Teams, Discord)

Scan results in a pipeline

The CI scan API returns the state of a scan, its vulnerability counts and the outcome of each gate. Poll GET /{scanId} and GET /{scanId}/gates, or let the CLI do it with safeguard ci scan --wait --fail-on-gate. See API Reference and CI/CD Integration.

Notifications in chat

Connect Slack, Microsoft Teams or Discord under Settings → Integrations and Safeguard posts findings and platform events to the default channel you pick. See ChatOps integrations.

On this page