mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-30 05:04:22 +01:00
Feat/add fingerprint no git (#952)
* no-git support fingerprint support * updating gitleaksignore w/ no-git false positives * fix test
This commit is contained in:
1 parent
6748a89bf4
commit
1b3f10cb79
4 files changed
+69
-1
No files matched your search
@@ -483,6 +483,7 @@ func TestFromFiles(t *testing.T) {
|
||||
RuleID: "aws-access-key",
|
||||
Tags: []string{"key", "AWS"},
|
||||
Entropy: 3.0841837,
|
||||
Fingerprint: "../testdata/repos/nogit/main.go:aws-access-key:20",
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -502,6 +503,7 @@ func TestFromFiles(t *testing.T) {
|
||||
RuleID: "aws-access-key",
|
||||
Tags: []string{"key", "AWS"},
|
||||
Entropy: 3.0841837,
|
||||
Fingerprint: "../testdata/repos/nogit/main.go:aws-access-key:20",
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user