Skip to main content

build_diagnostic_bundle_with_snapshot

Function build_diagnostic_bundle_with_snapshot 

Source
pub fn build_diagnostic_bundle_with_snapshot(
    har_json: &str,
    redaction_policy: BundleRedactionPolicy,
    snap: &NormalizedFingerprintSnapshot,
) -> Result<DiagnosticBundle, BundleError>
Expand description

Build a DiagnosticBundle including fingerprint coherence results.

Identical to build_diagnostic_bundle but also evaluates coherence rules against the supplied snapshot::NormalizedFingerprintSnapshot.

ยงErrors

Returns BundleError::Har when the HAR payload is invalid.