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

Function scrubSecrets

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

Source from the content-addressed store, hash-verified

874 (value): value is string => typeof value === "string" && value.length > 0,
875 );
876 const scrubSecrets = (text: string): string =>
877 secretValues.reduce((out, secret) => out.split(secret).join("[redacted]"), text);
878
879 if (!probe.ok) {
880 return {

Callers 1

checkHealthOpenApiFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected