mirror of
https://github.com/syntrex-lab/gomcp.git
synced 2026-04-25 04:16:22 +02:00
fix: make SOC ingest JWT-exempt for sensor access + battle script JWT login
This commit is contained in:
parent
413fa8aa2c
commit
ab55fe2b58
1 changed files with 1 additions and 0 deletions
|
|
@ -34,6 +34,7 @@ func NewJWTMiddleware(secret []byte) *JWTMiddleware {
|
|||
"/api/auth/plans": true,
|
||||
"/api/v1/scan": true, // public demo scanner
|
||||
"/api/v1/usage": true, // public usage/quota check
|
||||
"/api/v1/soc/events": true, // sensor ingest (auth via RBAC API key when enabled)
|
||||
"/api/soc/events/stream": true, // SSE uses query param auth
|
||||
"/api/soc/stream": true, // SSE live feed (EventSource can't send headers)
|
||||
"/api/soc/ws": true, // WebSocket-style SSE push
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue