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

Function create_slack_webhook

modules/siem/webhook.py:264–270  ·  view source on GitHub ↗

Create Slack webhook exporter.

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

Source from the content-addressed store, hash-verified

262def create_slack_webhook(webhook_url: str, min_severity: str = "medium") -> WebhookExporter:
263 """Create Slack webhook exporter."""
264 return WebhookExporter(
265 url=webhook_url,
266 format="slack",
267 min_severity=min_severity,
268 )
269
270
271def create_discord_webhook(webhook_url: str, min_severity: str = "medium") -> WebhookExporter:
272 """Create Discord webhook exporter."""
273 return WebhookExporter(

Callers

nothing calls this directly

Calls 1

WebhookExporterClass · 0.85

Tested by

no test coverage detected