Skip to content

@nogoo9/mcp-server-cloud-fs / middleware/dlp / sanitizeContent

Function: sanitizeContent()

sanitizeContent(text, patterns): object

Defined in: middleware/dlp.ts:81

Apply DLP redaction patterns to a text string.

Parameters

text

string

patterns

DlpPattern[]

Returns

object

The sanitized text and the number of redactions applied.

redactionCount

redactionCount: number

sanitized

sanitized: string

Released under the PolyForm Shield 1.0.0 License.