MCPcopy Index your code
hub / github.com/cloudquery/cloudquery / RedactStr

Method RedactStr

cli/internal/secrets/secrets.go:30–32  ·  view source on GitHub ↗
(msg string)

Source from the content-addressed store, hash-verified

28}
29
30func (s *SecretAwareRedactor) RedactStr(msg string) string {
31 return string(s.RedactBytes([]byte(msg)))
32}
33
34func (s *SecretAwareRedactor) RedactBytes(msg []byte) []byte {
35 for v, k := range s.secrets {

Callers 2

TestRedactionFunction · 0.95
testPluginConnectionFunction · 0.80

Calls 1

RedactBytesMethod · 0.95

Tested by 1

TestRedactionFunction · 0.76