Skip to content

Commit

Permalink
Add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
romain-gaillard committed Dec 31, 2024
1 parent 427d537 commit b57bde5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/component/loki/secretfilter/secretfilter.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,12 @@ type GitLeaksConfig struct {
Keywords []string
SecretGroup int

// Old format, kept for compatibility
Allowlist struct {
StopWords []string
Regexes []string
}
// New format
Allowlists []struct {
StopWords []string
Regexes []string
Expand Down

0 comments on commit b57bde5

Please sign in to comment.