osint-dashboard/app
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Sirius DevOps 5a39404384 fix(openapi): declare the admin session cookie on every guarded operation
/openapi.json is served to the internet and declared no securitySchemes at
all, so every one of the 22 mutating operations read as unauthenticated while
the middleware answers 401 on them. The enforcement lives in
AdminAuthMiddleware, not in a route dependency, so FastAPI had nothing to
infer a scheme from.

The spec is now stamped from auth.is_public() — the same allowlist the
middleware enforces — instead of a hand-maintained per-route list:
- components.securitySchemes.adminSession: apiKey in cookie, name
  osint_session (the cookie the middleware actually reads), with the 401/403
  behaviour documented.
- protected operations: security: [{"adminSession": []}] — 19 of the 22
  mutating operations plus GET /api/keys, GET /api/settings, /api/news/models.
- public operations: security: [] (explicit "no auth"; not omitted).
  POST /api/search, POST /api/auth/login and POST /api/auth/logout stay
  public, and the read-only HUD surface is untouched.

Tests pin the pair per documented operation: the real app must answer 401 on
every operation that declares security, and the middleware must admit every
operation that declares []. Verified red on the untouched base (9 failures)
and green after the change.
2026-11-27 00:27:50 -05:00
..
static feat(hud): Blue Marble default basemap + constant-speed readable news ticker 2026-11-19 23:45:22 -05:00
ais_stream.py feat: AIS stream follows the map viewport 2026-08-27 21:50:38 -04:00
auth.py fix(openapi): declare the admin session cookie on every guarded operation 2026-11-27 00:27:50 -05:00
bg_jobs.py chore: remove unused masscan scanner 2026-09-01 00:47:24 -04:00
camera_config.py fix(cameras): stop publishing discovery rows as events 2026-11-14 00:30:13 -05:00
camera_hls.py cameras: Live-Environment-Streams + HLS.js player 2026-08-27 15:54:54 -04:00
camera_models.py Add open IP camera discovery scraper (OSINT map) 2026-08-24 14:54:51 -04:00
camera_preview.py chore: remove unused masscan scanner 2026-09-01 00:47:24 -04:00
camera_scraper.py fix(cameras): stop publishing discovery rows as events 2026-11-14 00:30:13 -05:00
chokepoints.py feat(map): chokepoint preset catalog + vessels ?src= filter 2026-08-29 14:03:15 -04:00
config.py fix(adsb): keep aircraft ingest alive with no browser viewport 2026-11-21 17:30:47 -05:00
conflicts.py feat(conflicts): GET /api/conflicts catalog + news/GDELT event counts 2026-08-31 21:30:23 -04:00
database.py Add NASA FIRMS active-fire ingest + /api/fires; API keys management page 2026-08-24 15:37:42 -04:00
docker-entrypoint.sh fix: merge alembic heads so the dashboard stops crash-looping 2026-08-28 18:29:06 -04:00
fire_aircraft.py feat: lean-Pi WS fan-out, geofences, DVR playback, fire/aircraft correlation 2026-08-28 09:35:18 -04:00
fire_sources.py fix(ingest): skip known KEV/FIRMS rows; CI skips unchanged images 2026-08-29 19:32:00 -04:00
geofence.py feat(geofence): hear quakes, WFIGS incidents, and news pins 2026-11-14 00:40:10 -05:00
gibs_map.py Map: clamp GIBS daily-layer latest to yesterday UTC — today's mosaic isn't ingested yet at 00:xx UTC so tiles 404'd and the map went black 2026-08-24 20:47:50 -04:00
ingest_cron.py first commit 2026-06-04 20:30:04 -04:00
ingestor.py feat(geofence): hear quakes, WFIGS incidents, and news pins 2026-11-14 00:40:10 -05:00
keystore.py feat(vessels): present AISStream + VesselAPI as two independent providers 2026-08-29 00:40:41 -04:00
live_layers.py feat(geofence): hear quakes, WFIGS incidents, and news pins 2026-11-14 00:40:10 -05:00
main.py fix(openapi): declare the admin session cookie on every guarded operation 2026-11-27 00:27:50 -05:00
models.py news: per-article proximate geolocation + GET /api/news/blips 2026-11-19 22:50:59 -05:00
news_title.py fix(news): unwrap CDATA titles at ingest and on /api/news 2026-11-14 00:47:04 -05:00
place.py feat(map): right-click place dossier (Nominatim + nearby overlays) 2026-08-31 21:35:00 -04:00
requirements.txt feat(satellites): CelesTrak GP JSON satellites API with SGP4 propagation 2026-08-31 21:42:50 -04:00
run_camera_service.py fix(cameras): stop publishing discovery rows as events 2026-11-14 00:30:13 -05:00
run_ingester.py fix(gdelt): stop retrying 429 over http, add quota backoff 2026-11-21 18:12:56 -05:00
satellites.py feat(satellites): CelesTrak GP JSON satellites API with SGP4 propagation 2026-08-31 21:42:50 -04:00
schemas.py news: per-article proximate geolocation + GET /api/news/blips 2026-11-19 22:50:59 -05:00
settings_store.py feat: persist summarizer model in app_settings 2026-08-28 17:06:55 -04:00
sources.py fix(gdelt): ingest the 15-minute GKG bulk file, keep the DOC API as fallback 2026-11-21 18:37:31 -05:00
tracks.py fix(map): geofence delete, vessel snapshots, sentinel cache, news briefs 2026-08-29 20:40:27 -04:00
upstream_cache.py feat: lean-Pi WS fan-out, geofences, DVR playback, fire/aircraft correlation 2026-08-28 09:35:18 -04:00
vesselapi.py fix(map): geofence delete, vessel snapshots, sentinel cache, news briefs 2026-08-29 20:40:27 -04:00
ws_manager.py feat(geofence): watch list, filtered hit log, fence snapshot 2026-09-01 01:24:36 -04:00