pub fn build_diagnostic_bundle_with_vendor_classifier(
har_json: &str,
redaction_policy: BundleRedactionPolicy,
classifier: &VendorClassifier,
) -> Result<DiagnosticBundle, BundleError>Expand description
Build a DiagnosticBundle with a caller-supplied
VendorClassifier.
Use this when the operator wants a custom threshold or
additional crate::vendor_classifier::VendorDefinition entries
(e.g. Tier 2 vendors).
The classifier is stateless, so callers can build it once
and reuse it across many build_diagnostic_bundle_* invocations.
ยงErrors
Returns BundleError::Har when the HAR payload is invalid.