Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
30
func
(s *SecretAwareRedactor) RedactStr(msg string) string {
31
return
string(s.RedactBytes([]byte(msg)))
32
}
33
34
func
(s *SecretAwareRedactor) RedactBytes(msg []byte) []byte {
35
for
v, k :=
range
s.secrets {
Callers
2
TestRedaction
Function · 0.95
testPluginConnection
Function · 0.80
Calls
1
RedactBytes
Method · 0.95
Tested by
1
TestRedaction
Function · 0.76