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

Function scrubSecrets

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

Source from the content-addressed store, hash-verified

961 (value): value is string => typeof value === "string" && value.length > 0,
962 );
963 const scrubSecrets = (text: string): string =>
964 secretValues.reduce((out, secret) => out.split(secret).join("[redacted]"), text);
965
966 if (!probe.ok) {
967 return {

Callers 1

checkHealthOpenApiFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected