db test
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user