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 b57bde5 commit ba96cb3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions internal/component/loki/secretfilter/secretfilter.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,24 +98,24 @@ type Component struct {
type GitLeaksConfig struct {
AllowList struct {
Description string
Paths []string
Paths []string // Not used
Regexes []string
}
Rules []struct {
ID string
Description string
Description string // Not used
Regex string
Keywords []string
Keywords []string // Not used
SecretGroup int

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

0 comments on commit ba96cb3

Please sign in to comment.