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.
The vendor classification uses
VendorClassifier::with_builtin_defaults; pass
build_diagnostic_bundle_full to supply a custom classifier
together with a snapshot.
ยงErrors
Returns BundleError::Har when the HAR payload is invalid.