db test
All checks were successful
Build and Deploy MITM Webserver / traffic_target (push) Successful in 1s
Build and Deploy MITM Webserver / build (push) Successful in 10s

This commit is contained in:
2026-03-30 21:49:00 +02:00
parent d9cb501879
commit dbd052a7ac
3 changed files with 17 additions and 11 deletions

View File

@@ -71,10 +71,10 @@ class InterfaceHostProtocolAnalysisResponse(BaseModel):
@router.get("/interface-hosts", response_model=InterfaceHostAnalysisResponse)
async def analysis_interface_hosts(
since_minutes: Optional[int] = Query(
60,
None,
ge=1,
le=60 * 24 * 30,
description="Analyze only packets seen within the last N minutes. Set to a large value to cover more history.",
description="Analyze only packets seen within the last N minutes. Omit to cover all captured history.",
),
limit_per_interface: int = Query(
100,
@@ -104,10 +104,10 @@ async def analysis_interface_hosts(
@router.get("/interface-host-protocols", response_model=InterfaceHostProtocolAnalysisResponse)
async def analysis_interface_host_protocols(
since_minutes: Optional[int] = Query(
60,
None,
ge=1,
le=60 * 24 * 30,
description="Analyze only packets seen within the last N minutes. Set to a large value to cover more history.",
description="Analyze only packets seen within the last N minutes. Omit to cover all captured history.",
),
limit_per_interface: int = Query(
50,