feat: add ticketing chatops templates

This commit is contained in:
Christian Krakau-Louis
2026-05-23 18:41:10 +02:00
parent 7f648e01a6
commit 453a9b7e2a
8 changed files with 612 additions and 2 deletions
@@ -4,6 +4,7 @@ from fastapi import APIRouter, Depends
from app.core.security import require_admin_auth
from app.services.siem_templates import get_siem_templates
from app.services.ticketing_chatops_templates import get_ticketing_chatops_templates
router = APIRouter()
@@ -12,3 +13,9 @@ router = APIRouter()
async def siem_templates(_auth: dict = Depends(require_admin_auth)):
"""Return versioned schemas and examples for SIEM ingestion."""
return get_siem_templates()
@router.get("/ticketing-chatops/templates")
async def ticketing_chatops_templates(_auth: dict = Depends(require_admin_auth)):
"""Return ticketing and chatops workflow templates."""
return get_ticketing_chatops_templates()