feat: фаза 3 (часть 1) — disclaimer, очередь, initiator + IP

3.6 UI: убрать stat-minibar и heatmap с дашборда
3.2 AI disclaimer под каждым LLM-вердиктом
3.4 LLM_MAX_CONCURRENT_ANALYSES + Semaphore в llm.py
3.1 Scan.initiator + source_ip, webhook захватывает, UI показывает
This commit is contained in:
Marker689
2026-05-10 07:32:14 +03:00
parent 0069331119
commit 4ae893a025
13 changed files with 69 additions and 52 deletions

View File

@@ -35,6 +35,8 @@ async def harvest(
format_: str,
asset_path: str,
session: AsyncSession,
initiator: str | None = None,
source_ip: str | None = None,
) -> Scan | None:
ecosystem = format_ if format_ else DEFAULT_ECOSYSTEM
@@ -78,6 +80,8 @@ async def harvest(
ecosystem=ecosystem,
repository=repository,
nexus_asset_url=download_url,
initiator=initiator,
source_ip=source_ip,
status=ScanStatus.PENDING.value,
)
session.add(scan)