pub struct ScanFinding {
pub target_url: String,
pub strategy_id: String,
pub strategy_name: String,
pub method: String,
pub result: OracleResult,
pub repro: Option<ReproInfo>,
pub probe: ProbeContext,
pub exchange: ExchangeContext,
pub chain_provenance: Option<ChainProvenance>,
}Expand description
A single finding from a scan run – one strategy applied to one method.
Fields§
§target_url: Stringe.g. "https://api.example.com/users/1"
strategy_id: Stringe.g. "existence-get-200-404"
strategy_name: Stringe.g. "GET 200/404 existence"
method: Stringe.g. "GET"
result: OracleResultOracle analysis verdict, signals, and scoring breakdown.
repro: Option<ReproInfo>Reproducible curl commands — Some only when --repro was set.
probe: ProbeContextWhat was actually sent on the wire — always present.
exchange: ExchangeContextWhat came back — status codes always present; headers and body samples
only when --verbose was set.
chain_provenance: Option<ChainProvenance>Phase-2 chain provenance — None for phase-1 findings, Some when the
underlying spec was generated by generate_dag_chained_plan from a
harvested phase-1 signal.
Trait Implementations§
Source§impl Clone for ScanFinding
impl Clone for ScanFinding
Source§fn clone(&self) -> ScanFinding
fn clone(&self) -> ScanFinding
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ScanFinding
impl Debug for ScanFinding
Source§impl<'de> Deserialize<'de> for ScanFinding
impl<'de> Deserialize<'de> for ScanFinding
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ScanFinding
impl RefUnwindSafe for ScanFinding
impl Send for ScanFinding
impl Sync for ScanFinding
impl Unpin for ScanFinding
impl UnsafeUnpin for ScanFinding
impl UnwindSafe for ScanFinding
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more