Skip to content

Commit

Permalink
Obfuscate icingadb.yml passwords
Browse files Browse the repository at this point in the history
  • Loading branch information
tbauriedel committed Nov 18, 2024
1 parent a50400a commit 64d44d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/icingadb/collector.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ var services = []string{

var obfuscators = []*obfuscate.Obfuscator{
obfuscate.NewFile(`(?i)(?:password)\s*=\s*(.*)`, `conf`),
obfuscate.NewFile(`(?i)(?:password)\s*=\s*(.*)`, `yml`),
obfuscate.NewFile(`(?i)(?:password)\s*[=|:]\s*(.*)`, `yml`),
}

func Collect(c *collection.Collection) {
Expand Down

0 comments on commit 64d44d0

Please sign in to comment.