MCPcopy Create free account
hub / github.com/cloudquery/cloudquery / NewSecretAwareRedactor

Function NewSecretAwareRedactor

cli/internal/secrets/secrets.go:26–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24}
25
26func NewSecretAwareRedactor() *SecretAwareRedactor {
27 return &SecretAwareRedactor{secrets: make(map[string]string)}
28}
29
30func (s *SecretAwareRedactor) RedactStr(msg string) string {
31 return string(s.RedactBytes([]byte(msg)))

Callers 1

TestRedactionFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestRedactionFunction · 0.68