Manaual create siem alert fix (#860)
* fix: update endpoint for manual alert creation * fix: remove deprecated alert creation routes
taylor_socfortress committed
May 8, 2026 at 12:03 UTC
745f2bfd1be79121b93824f378856310226bbc6f
2 files changed
+1
-22
backend/app/routers/alert_creation.py
deleted
-21
@@ -1,21 +0,0 @@
1
-from fastapi import APIRouter
2
-
3
-from app.integrations.alert_creation.general.routes.alert import general_alerts_router
4
-from app.integrations.alert_creation.office365.routes.alert import (
5
- office365_alerts_router,
6
-)
7
-
8
-# Instantiate the APIRouter
9
-router = APIRouter()
10
-
11
-# Include the Ask SocFortress related routes
12
-router.include_router(
13
- general_alerts_router,
14
- prefix="/api/v1/alerts/general",
15
- tags=["Alert Creation"],
16
-)
17
-router.include_router(
18
- office365_alerts_router,
19
- prefix="/api/v1/alerts/office365",
20
- tags=["Alert Creation"],
21
-)
frontend/src/api/endpoints/alerts.ts
+1
-1
@@ -115,7 +115,7 @@ export default {
115
alert_id: alertId
116
}
117
return HttpClient.post<FlaskBaseResponse & { alert_id: number; alert_url: string }>(
118
- `/soc/general_alert/create`,
118
+ `/incidents/alerts/create/manual`,
119
body
120
)
121
}