Zach
770baf7458
first pass at archive handling
2025-04-28 09:39:22 -05:00
recreator66
f8dcd838da
Bugfix/1352 incorrect report multiple lines ( #1501 )
...
* fix: add logic to modify endline & endcolumn
* doc: update comment for #1352
* test: adding test file
* chore: updating generic rule
* test: adding test to TestFromFile #1352 & change static viper ConfigName
* chore: remove interim fix for #1352
* fix: adjust matchIndex[1] to fix #1352
* test: adjust expectedFinding in TestFromFiles
* chore: go fmt
* test: rm identification of start/endlineIndex
* fix: rm unused fmt pkg
2024-09-27 09:41:26 -05:00
97dbe1ef09
Add support in .gitleaksignore file comment strings ( #1425 ) ( #1502 )
...
* Add support in .gitleaksignore file comment strings (#1195 )
* Apply suggestions from code review
Co-authored-by: Richard Gomez <32133502+rgmz@users.noreply.github.com >
---------
Co-authored-by: Zachary Rice <zricezrice@gmail.com >
Co-authored-by: Richard Gomez <32133502+rgmz@users.noreply.github.com >
2024-09-18 13:44:44 -05:00
Richard Gomez
91ff8f9b70
Ignore all comits when .gitleaksignore fingerprint lacks SHA ( #1156 )
...
* fix: .gitleaksignore without sha in fingerprint
* chore: add prior commit to .gitleaksignore
2023-06-13 13:42:51 -05:00
Rafael Figueiredo and Rafael Figueiredo
9701bf1724
Bufix/1100 protect stagged files ( #1121 )
...
* create repo with stagged secrets
* add .gitleaksignore to testdata repo
* fix typo
* add gitleaksignore to detector on protect command
---------
Co-authored-by: Rafael Figueiredo <rfigueiredo@garoa.cloud >
2023-03-21 08:50:34 -05:00
Ricky Grassmuck and Zachary Rice
6d801ed61c
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 >
2022-10-12 19:28:53 -05:00
Isaac Dawson
9326f35380
Escape - character in regex character groups ( #802 )
...
* fix char escape
* add test
* fix verbosity in make test
2022-03-07 08:33:06 -06:00
Greg Johnson and Greg Johnson
60dd607312
GitLab pats may contain underscores as well as dashes ( #794 )
...
* gitlab pats may contain underscores as well as dashes
* include testdata index binary
Co-authored-by: Greg Johnson (codeEmitter) <gjohnson@gitlab.com >
2022-02-28 08:03:09 -06:00
rui
4b6f4d0de5
build: updates for go1.17 ( #769 )
...
* build: remove `GO111MODULE` as it turned on by default
Signed-off-by: Rui Chen <rui@chenrui.dev >
* build: update for go1.17
* run test
Signed-off-by: Rui Chen <rui@chenrui.dev >
* lint: remove unused code
2022-02-22 16:49:45 -06:00
Zachary Rice
ce42947cae
fix deduplication issue caused by clobbered findings ( #742 )
...
* fix deduplication issue caused by clobbered findings
* fix index
* remove indexing, slow is better than wrong
2021-12-07 19:11:37 -06:00
Zachary Rice
1724591029
remove generic api key from default gitleaks config ( #719 )
2021-11-27 10:01:52 -06:00
Zachary Rice
93f292c3df
Introducing v8.0.0 changes ( #701 )
...
* Introducing v8.0.0 changes
2021-11-22 10:43:51 -06:00
Ramon
f338bc584f
Merge pull request #558 from AmitHofree/fix_default_config
...
Removed unnecessary backslashes in default config
2021-10-11 08:17:17 +02:00
Matthew E. Grahlman
7cc3d7e467
Fix for Windows OS
2021-10-10 17:27:45 -04:00
Matthew E. Grahlman
b8ff5eec73
Had to re-add testdata/ folder to project in order to get scan tests passing on Windows
2021-10-10 16:40:13 -04:00
amith-legit
c85ebbb2ba
Try to revert index file
2021-10-10 22:51:54 +03:00
amith-legit
3a3e13c3b5
Added EOL to sample file
2021-10-10 22:51:44 +03:00
AmitHofree
b83fe80968
Merge branch 'master' into fix_default_config
2021-10-08 22:26:35 +03:00
Zachary Rice
6adc045580
Simplify tests and continue on object not found errors ( #633 )
...
* adding files
* init better tests
* add basic .git
* more tests and test data
* nogit, unstaged tests
* removing unused testdata
* adding empty testdata
* rm gitmodules
* fixing tests
* remove with config
* adding with_config
* removing old test_data, updating config tests
* removing hooks in testdata repos
2021-09-09 11:46:31 -05:00