Compare commits

..
3 Commits
3 changed files with 4 additions and 1 deletions

No files matched your search

+2
View File
@@ -1484,4 +1484,6 @@ var DefaultStopWords = []string{
"boot",
"book",
"branch",
"combination",
"combo",
}
+2
View File
@@ -2221,4 +2221,6 @@ stopwords= [
"boot",
"book",
"branch",
"combination",
"combo",
]
-1
View File
@@ -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) &&