# Scripts

- **`scan_queue_worker.py`** — Polls Supabase `scan_details`, runs `scan.py` then `generate_reports_from_update.py --send-email`. See [`docs/SCAN_QUEUE_WORKER.md`](../docs/SCAN_QUEUE_WORKER.md).
- **Standalone bundle** — [`worker_security/`](../worker_security/) (`worker_security.py` + `Reports/` + systemd template) for deploying on a dedicated host without the split scripts.

```bash
pip install -r ../requirements.txt
python scan_queue_worker.py
```

(Run from repo root or this folder; worker resolves paths to repo root.)
