{% extends "base.html" %} {% block title %}{{ 'Edit' if mode == 'edit' else 'New' }} Webhook - SneakyScanner{% endblock %} {% block content %}

{{ 'Edit' if mode == 'edit' else 'Create' }} Webhook

Basic Information
A descriptive name for this webhook
The endpoint where alerts will be sent
Disabled webhooks will not receive notifications

Authentication

Alert Filters
Select which alert types trigger this webhook (leave all unchecked for all types)
Select which severities trigger this webhook (leave all unchecked for all severities)

Advanced Settings
Maximum time to wait for response
Number of retry attempts on failure

Cancel
Help
Payload Format

Webhooks receive JSON payloads with alert details:

{
  "event": "alert.created",
  "alert": {
    "id": 123,
    "type": "cert_expiry",
    "severity": "warning",
    "message": "...",
    "ip_address": "192.168.1.10",
    "port": 443
  },
  "scan": {...},
  "rule": {...}
}
Authentication Types
  • None: No authentication
  • Bearer: Add Authorization header with token
  • Basic: Use username:password format
  • Custom: Define custom HTTP headers
Retry Logic

Failed webhooks are retried with exponential backoff (2^attempt seconds, max 60s).

{% endblock %} {% block scripts %} {% endblock %}