mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-28 12:14:22 +01:00
Add support for following symlinks (#1010)
* Add support for following symlinks * Update detect/detect.go Co-authored-by: Zachary Rice <zricezrice@gmail.com> * Update cmd/detect.go Co-authored-by: Zachary Rice <zricezrice@gmail.com>
This commit is contained in:
1 parent
e15ab0dc2a
commit
6d801ed61c
12 files changed
+125
-11
No files matched your search
+2
-2
@@ -1,2 +1,2 @@
|
||||
RuleID,Commit,File,Secret,Match,StartLine,EndLine,StartColumn,EndColumn,Author,Message,Date,Email,Fingerprint
|
||||
test-rule,0000000000000000,auth.py,a secret,line containing secret,1,2,1,2,John Doe,opps,10-19-2003,johndoe@gmail.com,fingerprint
|
||||
RuleID,Commit,File,SymlinkFile,Secret,Match,StartLine,EndLine,StartColumn,EndColumn,Author,Message,Date,Email,Fingerprint
|
||||
test-rule,0000000000000000,auth.py,,a secret,line containing secret,1,2,1,2,John Doe,opps,10-19-2003,johndoe@gmail.com,fingerprint
|
||||
|
+1
@@ -8,6 +8,7 @@
|
||||
"Match": "line containing secret",
|
||||
"Secret": "a secret",
|
||||
"File": "auth.py",
|
||||
"SymlinkFile": "",
|
||||
"Commit": "0000000000000000",
|
||||
"Entropy": 0,
|
||||
"Author": "John Doe",
|
||||
|
||||
Reference in new issue
Block a user