MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / scrubSecrets

Function scrubSecrets

packages/plugins/openapi/src/sdk/backing.ts:954–955  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

952 (value): value is string => typeof value === "string" && value.length > 0,
953 );
954 const scrubSecrets = (text: string): string =>
955 secretValues.reduce((out, secret) => out.split(secret).join("[redacted]"), text);
956
957 if (!probe.ok) {
958 return {

Callers 1

checkHealthOpenApiFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected