Tests SSRF protection in webhook client: - Redirect limit enforcement (max 3) - Blocking redirects to private networks (10.x, 192.168.x, 172.16.x) - Blocking redirects to link-local addresses (169.254.x) - Allowing valid redirects to allowlisted servers Coverage: createSecureWebhookClient 18.2% -> 100% |
||
|---|---|---|
| .. | ||
| concurrency_test.go | ||
| email_enhanced.go | ||
| email_enhanced_test.go | ||
| email_providers.go | ||
| email_template.go | ||
| email_template_test.go | ||
| notification_utils_test.go | ||
| notifications.go | ||
| notifications_test.go | ||
| queue.go | ||
| queue_test.go | ||
| security_utils_test.go | ||
| templates_test.go | ||
| webhook_allowlist_test.go | ||
| webhook_client_test.go | ||
| webhook_enhanced.go | ||
| webhook_retry_test.go | ||
| webhook_templates.go | ||