import json # Nothing to connect to. Riposte runs one script per command through exec(), # so this cannot import the renderer: it only answers the Test button. TEMPLATES = ["sla_breach", "incident_notification", "incident_update", "incident_closure", "action_required", "escalation", "threat_bulletin", "info"] print(json.dumps({"ok": True, "templates": TEMPLATES}))