Skip to content

redactCommand

function redactCommand(command: string): string;

Defined in: src/logging/redaction.ts:31

Redacts sensitive FTP command payloads while preserving the command name.

ParameterTypeDescription
commandstringRaw command text such as PASS secret or USER deploy.

string

Command text with secret arguments replaced by REDACTED.