Back to all guides
Configuring Webhooks
Set up webhooks for real-time event notifications.
Overview
Webhooks send real-time notifications to your systems when events occur in Bleach. Use them to trigger automated workflows.
Step 1: Create Webhook
- Navigate to Settings → Webhooks
- Click "Create Webhook"
- Enter your endpoint URL
- Name the webhook
Step 2: Select Events
Choose which events trigger the webhook:
- issue.created - New security issue detected
- issue.resolved - Issue marked as resolved
- scan.completed - Security scan finished
- alert.triggered - Alert condition met
- compliance.changed - Compliance status change
Step 3: Configure Security
- Generate a signing secret
- Use the secret to verify webhook authenticity
- Configure retry settings
- Set timeout values
Step 4: Test and Activate
- Click "Send Test Event"
- Verify your endpoint receives the payload
- Check response handling
- Activate the webhook
Payload Format
{
"event": "issue.created",
"timestamp": "2024-01-15T10:30:00Z",
"data": {
"id": "issue_123",
"severity": "high",
"title": "MFA Not Enabled",
"affected_user": "user@example.com"
}
}
Monitoring
- View webhook delivery logs
- Check success/failure rates
- Review failed deliveries
- Manually retry failed events