mirror of
https://github.com/reconurge/flowsint.git
synced 2026-07-11 13:35:22 -05:00
The Scan model exposes details (JSON) and error (Text) columns, but the enricher/flow tasks assigned to scan.results — a non-mapped attribute. SQLAlchemy accepted the assignment silently, so commit() never persisted it and the data was lost. Success paths now write scan.details; failure paths write scan.error. ScanCreate.results renamed to details to match. Scan repository tests pass.
flowsint-api
Installation
- Install Python dependencies:
uv sync
Run
# dev
uv run uvicorn app.main:app --host 0.0.0.0 --port 5001 --reload
# prod
uv run uvicorn app.main:app --host 0.0.0.0 --port 5001