Skip to content

Commit

Permalink
loki.secretfilter: Add reference to the gitleaks.toml file (#2024)
Browse files Browse the repository at this point in the history
  • Loading branch information
romain-gaillard authored Nov 4, 2024
1 parent 7167122 commit 74b6429
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/component/loki/secretfilter/secretfilter.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,11 @@ type Component struct {
debugDataPublisher livedebugging.DebugDataPublisher
}

// This struct is used to parse the gitleaks.toml file
// Non-exhaustive representation. See https://github.com/gitleaks/gitleaks/blob/master/config/config.go
//
// This comes from the Gitleaks project by Zachary Rice, which is licensed under the MIT license.
// See the gitleaks.toml file for copyright and license details.
type GitLeaksConfig struct {
AllowList struct {
Description string
Expand Down

0 comments on commit 74b6429

Please sign in to comment.