mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-28 12:14:22 +01:00
17 lines
238 B
Go
17 lines
238 B
Go
package config
|
|
|
|
import (
|
|
"regexp"
|
|
)
|
|
|
|
type Rule struct {
|
|
Description string
|
|
RuleID string
|
|
Entropy float64
|
|
SecretGroup int
|
|
Regex *regexp.Regexp
|
|
Path *regexp.Regexp
|
|
Tags []string
|
|
Allowlist Allowlist
|
|
}
|