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

Function create_pagerduty_webhook

modules/siem/webhook.py:282–289  ·  view source on GitHub ↗

Create PagerDuty webhook exporter.

(routing_key: str, min_severity: str = "high")

Source from the content-addressed store, hash-verified

280def create_pagerduty_webhook(routing_key: str, min_severity: str = "high") -> WebhookExporter:
281 """Create PagerDuty webhook exporter."""
282 return WebhookExporter(
283 url="https://events.pagerduty.com/v2/enqueue",
284 format="pagerduty",
285 auth_token=routing_key,
286 min_severity=min_severity,
287 )

Callers

nothing calls this directly

Calls 1

WebhookExporterClass · 0.85

Tested by

no test coverage detected