Webhook Events and Payload
When you set up a webhook, you'll specify which events you want to be notified about. Whenever one of these events occurs, we will send an HTTP POST request to your webhook URL with a JSON payload containing details about the event.
Supported Webhook Events
- Scan Started: Triggered when a scan begins.
- Scan Completed: Triggered when a scan finishes.
- Scan Stopped: Triggered when a scan stopped.
- Scan Failed: Triggered when a scan failed for some reason.
- Report Generated: Triggered when a report file generated.
For a full list of events, refer to our webhook event documentation in the API reference.
Delivery Headers
Each webhook delivery includes the following headers:
X-CG-Hook-Signature
: A HMAC signaturesha256
of the payload, using your webhook secret.X-CG-Hook-Event
: The name of the event that triggered the webhook (e.g.,scan_started
).X-CG-Hook-Delivery
: The ID (UUID) of the event.Content-Type
:application/json
, indicating that the payload is JSON-formatted.User-Agent
: Should beCloneGuard-Hook/{a-random-hash}