MCPcopy Create free account
hub / github.com/TheSecuredAnalyst/security-suite / create_discord_webhook

Function create_discord_webhook

modules/siem/webhook.py:273–279  ·  view source on GitHub ↗

Create Discord webhook exporter.

(webhook_url: str, min_severity: str = "medium")

Source from the content-addressed store, hash-verified

271def create_discord_webhook(webhook_url: str, min_severity: str = "medium") -> WebhookExporter:
272 """Create Discord webhook exporter."""
273 return WebhookExporter(
274 url=webhook_url,
275 format="discord",
276 min_severity=min_severity,
277 )
278
279
280def create_pagerduty_webhook(routing_key: str, min_severity: str = "high") -> WebhookExporter:
281 """Create PagerDuty webhook exporter."""
282 return WebhookExporter(

Callers

nothing calls this directly

Calls 1

WebhookExporterClass · 0.85

Tested by

no test coverage detected