mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-30 05:04: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
+3
-3
@@ -22,9 +22,9 @@ type Finding struct {
|
||||
Secret string
|
||||
|
||||
// File is the name of the file containing the finding
|
||||
File string
|
||||
|
||||
Commit string
|
||||
File string
|
||||
SymlinkFile string
|
||||
Commit string
|
||||
|
||||
// Entropy is the shannon entropy of Value
|
||||
Entropy float32
|
||||
|
||||
Reference in new issue
Block a user