(self)
| 89 | |
| 90 | |
| 91 | @dataclass |
| 92 | class ReconResult: |
| 93 | recon_type: ReconType |
| 94 | target: str |
| 95 | findings: List[VulnerabilityFinding] = field(default_factory=list) |
| 96 | artifacts: Dict[str, Any] = field(default_factory=dict) |
| 97 | duration_seconds: float = 0.0 |
| 98 | status: str = "pending" |
| 99 | error_message: str = "" |
| 100 | |
| 101 | def to_dict(self) -> Dict[str, Any]: |
| 102 | return { |
| 103 | "recon_type": self.recon_type.value, |
no outgoing calls