diff --git a/internal/component/loki/secretfilter/secretfilter.go b/internal/component/loki/secretfilter/secretfilter.go index 13065dd7e1..415d20fa9d 100644 --- a/internal/component/loki/secretfilter/secretfilter.go +++ b/internal/component/loki/secretfilter/secretfilter.go @@ -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