feat: add SIEM integration templates
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
"""Integration template endpoints."""
|
||||
|
||||
from fastapi import APIRouter, Depends
|
||||
|
||||
from app.core.security import require_admin_auth
|
||||
from app.services.siem_templates import get_siem_templates
|
||||
|
||||
router = APIRouter()
|
||||
|
||||
|
||||
@router.get("/siem/templates")
|
||||
async def siem_templates(_auth: dict = Depends(require_admin_auth)):
|
||||
"""Return versioned schemas and examples for SIEM ingestion."""
|
||||
return get_siem_templates()
|
||||
Reference in New Issue
Block a user