feat: add ticketing chatops templates
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user