pub struct OracleResult {Show 13 fields
pub class: OracleClass,
pub verdict: OracleVerdict,
pub severity: Option<Severity>,
pub confidence: u8,
pub impact_class: Option<ImpactClass>,
pub reasons: Vec<ScoringReason>,
pub signals: Vec<Signal>,
pub technique_id: Option<String>,
pub vector: Option<Vector>,
pub normative_strength: Option<NormativeStrength>,
pub label: Option<String>,
pub leaks: Option<String>,
pub rfc_basis: Option<String>,
}Expand description
The result of running an oracle analyzer against a differential set.
Carries the full signal chain that produced the verdict alongside technique context and
scoring breakdown. Status codes, header diffs, and flat evidence strings previously stored
in dedicated fields are now represented as typed Signal values in the signals vec.
Fields§
§class: OracleClassWhich oracle class produced this result.
verdict: OracleVerdictConfidence verdict.
severity: Option<Severity>Severity when the verdict is Confirmed or Likely; None when NotPresent.
confidence: u8Numeric confidence score (0-100). Determines verdict via threshold mapping.
impact_class: Option<ImpactClass>Impact classification based on leak type. Determines severity when gated by confidence.
reasons: Vec<ScoringReason>Breakdown of how confidence and impact were computed.
signals: Vec<Signal>Typed signals extracted during differential analysis.
technique_id: Option<String>Machine-readable technique identifier, e.g. "if-none-match".
vector: Option<Vector>Detection vector used by the technique.
normative_strength: Option<NormativeStrength>RFC normative strength of the technique’s expected differential.
label: Option<String>Human-readable name for the detected pattern, e.g. "Authorization-based differential".
leaks: Option<String>What information the oracle leaks, e.g.
"Resource existence confirmed to low-privilege callers".
rfc_basis: Option<String>RFC section grounding the behavior, e.g. "RFC 9110 \u{00a7}15.5.4".
Implementations§
Source§impl OracleResult
impl OracleResult
Sourcepub fn primary_evidence(&self) -> &str
pub fn primary_evidence(&self) -> &str
Returns the evidence string from the primary StatusCodeDiff signal, if present.
Falls back to the first signal of any kind, then "—" when no signals exist.
Trait Implementations§
Source§impl Clone for OracleResult
impl Clone for OracleResult
Source§fn clone(&self) -> OracleResult
fn clone(&self) -> OracleResult
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more