feat: add free starter plan with 1000 scans/month quota tracking

This commit is contained in:
DmitrL-dev 2026-03-24 09:37:09 +10:00
parent f581d65951
commit 8d87c453b0
5 changed files with 267 additions and 0 deletions

View file

@ -33,6 +33,7 @@ func NewJWTMiddleware(secret []byte) *JWTMiddleware {
"/api/auth/verify": true,
"/api/auth/plans": true,
"/api/v1/scan": true, // public demo scanner
"/api/v1/usage": true, // public usage/quota check
"/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