mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-27 19:54:24 +01:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0eb57cbe4d | ||
|
|
3531887941 | ||
|
|
e9ebde73bc |
No files matched your search
@@ -1484,4 +1484,6 @@ var DefaultStopWords = []string{
|
||||
"boot",
|
||||
"book",
|
||||
"branch",
|
||||
"combination",
|
||||
"combo",
|
||||
}
|
||||
@@ -2221,4 +2221,6 @@ stopwords= [
|
||||
"boot",
|
||||
"book",
|
||||
"branch",
|
||||
"combination",
|
||||
"combo",
|
||||
]
|
||||
@@ -65,7 +65,6 @@ func filter(findings []report.Finding, redact bool) []report.Finding {
|
||||
if strings.Contains(strings.ToLower(f.RuleID), "generic") {
|
||||
for _, fPrime := range findings {
|
||||
if f.StartLine == fPrime.StartLine &&
|
||||
f.EndLine == fPrime.EndLine &&
|
||||
f.Commit == fPrime.Commit &&
|
||||
f.RuleID != fPrime.RuleID &&
|
||||
strings.Contains(fPrime.Secret, f.Secret) &&
|
||||
|
||||
Reference in new issue
Block a user