mirror of
https://github.com/marcredhat/SIEM-toolkit-patched
synced 2026-06-08 20:37:12 +00:00
6cd9da82da
- Fetch detection library rules from platform-rules API at startup (falls back to extracted.json); adds Sync Detection Library button for refresh - Parser column simplified to ✓ Parsed / ✗ Not Parsed - Detection counts now use library rules only (exclude custom STAR rules) - Add close-match suggestions for dataSource.name mismatches (e.g. CloudTrail → AWS CloudTrail, Microsoft 365 Collaboration → Microsoft O365) - Exclude SentinelOne Ranger AD from coverage map (native S1 source) - Add success feedback banners to Load SDL Parsers and Sync Library buttons - Remove rule_counts.json manual override; extracted.json is source of truth - Remove Load Detections button; rules auto-import on backend startup - Add get_account_id() and get_platform_rules() to s1_client Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
46 lines
1.0 KiB
YAML
46 lines
1.0 KiB
YAML
services:
|
|
frontend:
|
|
build: ./frontend
|
|
ports:
|
|
- "3001:3000"
|
|
depends_on:
|
|
- backend
|
|
|
|
backend:
|
|
build: ./backend
|
|
ports:
|
|
- "8001:8000"
|
|
environment:
|
|
- S1_API_TOKEN=${S1_API_TOKEN}
|
|
- S1_BASE_URL=${S1_BASE_URL}
|
|
- SDL_XDR_URL=${SDL_XDR_URL}
|
|
- SDL_LOG_READ_KEY=${SDL_LOG_READ_KEY}
|
|
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY}
|
|
- DATABASE_URL=postgresql://siem:siem@db:5432/siem
|
|
- DETECTIONS_FILE=/app/data/detections.json
|
|
depends_on:
|
|
db:
|
|
condition: service_healthy
|
|
volumes:
|
|
- ./parsers:/app/parsers
|
|
- ./.env:/app/.env
|
|
- ./data:/app/data:ro
|
|
|
|
db:
|
|
image: postgres:16-alpine
|
|
environment:
|
|
- POSTGRES_DB=siem
|
|
- POSTGRES_USER=siem
|
|
- POSTGRES_PASSWORD=siem
|
|
volumes:
|
|
- pgdata:/var/lib/postgresql/data
|
|
- ./db/init.sql:/docker-entrypoint-initdb.d/init.sql
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U siem"]
|
|
interval: 5s
|
|
timeout: 5s
|
|
retries: 5
|
|
|
|
volumes:
|
|
pgdata:
|