MCPcopy Create free account
hub / github.com/TheSecuredAnalyst/security-suite / ScanResponse

Class ScanResponse

api/models.py:49–59  ·  view source on GitHub ↗

Response model for a scan.

Source from the content-addressed store, hash-verified

47class ScanResponse(BaseModel):
48 """Response model for a scan."""
49 id: str
50 target: str
51 modules: list[str]
52 status: str = Field(..., description="pending, running, completed, failed")
53 findings_count: int = 0
54 findings: list[FindingResponse] = Field(default_factory=list)
55 started_at: datetime | None = None
56 completed_at: datetime | None = None
57 error: str | None = None
58
59
60class ScanListResponse(BaseModel):
61 """Response model for listing scans."""
62 total: int

Callers 3

create_scanFunction · 0.90
get_scanFunction · 0.90
list_scansFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected