Skip to content

redactConnectionProfile

function redactConnectionProfile(profile: ConnectionProfile): Record<string, unknown>;

Defined in: src/profiles/ProfileRedactor.ts:16

Produces a diagnostics-safe profile copy with credentials and runtime hooks redacted.

ParameterTypeDescription
profileConnectionProfileConnection profile to sanitize.

Record<string, unknown>

Plain object safe to include in logs, traces, or validation reports.