Skip to content

Commit

Permalink
PMM-13129 Update reduct words.
Browse files Browse the repository at this point in the history
  • Loading branch information
JiriCtvrtka committed Jul 23, 2024
1 parent fb76317 commit d70d472
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions managed/services/agents/agents.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,25 @@ func redactWords(agent *models.Agent) []string {
words = append(words, s)
}
}
if agent.MySQLOptions != nil {
if s := agent.MySQLOptions.TLSKey; s != "" {
words = append(words, s)
}
}
if agent.PostgreSQLOptions != nil {
if s := agent.PostgreSQLOptions.SSLKey; s != "" {
words = append(words, s)
}
}
if agent.MongoDBOptions != nil {
if s := agent.MongoDBOptions.TLSCertificateKey; s != "" {
words = append(words, s)
}
if s := agent.MongoDBOptions.TLSCertificateKeyFilePassword; s != "" {
words = append(words, s)
}
}

return words
}

Expand Down

0 comments on commit d70d472

Please sign in to comment.