MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / to_dict

Method to_dict

recon_engine.py:91–100  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

89
90
91@dataclass
92class 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,

Callers 3

to_dictMethod · 0.45
get_handoff_optionsMethod · 0.45

Calls

no outgoing calls

Tested by 1