import { analyzeHeaders, unavailableHeaderPosture, type HeaderControlStatus, type HeaderMap } from "@/lib/inspect/headers"; import { statusForHttp } from "@/lib/inspect/http-status"; import { CopyIcon, collectorLabel, collectorMeta, compact, finiteNumber, formatCertificateName, formatMxRecords, hasValue, isRecord, terminalHttpsResult, triState, } from "./report-utils"; type CopyHandler = (label: string, value: string) => void; function EvidenceValue({ label, value, onCopy }: { label: string; value: unknown; onCopy: CopyHandler }) { const text = label === "MX" ? formatMxRecords(value) : compact(value); return
No collector errors recorded.
}The first validated endpoint completed the TLS handshake.
}Redirect path
No HTTP(S) response was recorded.
}HTTPS downgrade blocked before the HTTP target was requested.
}Final HTTPS response
{compact(headers[name])}No terminal HTTPS response; controls are unavailable rather than missing.
}