trufflehog/pkg/engine
ahrav b2074ad05d
Polite Verification (#2356)
* draft reverify chunks

* remove

* remove

* reduce dupe map cap

* do not verify chunk

* cli arg and use val for dupe lut

* remove counter

* skipp empty results]

* working on test and normalizing val for comparison

* forgot to save file

* optimize normalize

* reuse map

* remove print

* use levenshtein distance to check dupes

* forgot to leave in emptying map

* use slice

* small tweak

* comment

* use bytes

* praise

* use ctx logger

* add len check

* add comments

* use 8x concurrency for reverifier workers

* revert worker count

* use more workers

* process result directly for any collisions

* continue after decoder match for reverifying

* use map

* use map

* otimization and fix the bug.

* revert worker count

* better option naming

* handle identical secrets in chunks

* update comment

* update comment

* fix test

* use DetecotrKey

* rm out of scope tests and testdata

* rename all reverification elements

* don't re-write map entry

* use correct key

* rename worker, remove log val

* test likelydupe, add eq detector check in loop

* add test

* add comment

* add test

* Set verification error

* Update tests

---------

Co-authored-by: Zachary Rice <zachary.rice@trufflesec.com>
Co-authored-by: Dustin Decker <dustin@trufflesec.com>
2024-02-02 09:29:18 -08:00
..
ahocorasick Polite Verification (#2356) 2024-02-02 09:29:18 -08:00
testdata Polite Verification (#2356) 2024-02-02 09:29:18 -08:00
circleci.go Update Source interface to use SourceID and JobID types (#1774) 2023-09-14 11:28:24 -07:00
defaults.go Azure function key is throwing FPs (#2352) 2024-01-29 15:32:12 -05:00
defaults_test.go [chore] Add test to check all versioned detectors are non-zero (#2272) 2024-01-05 12:06:59 -08:00
docker.go Update Source interface to use SourceID and JobID types (#1774) 2023-09-14 11:28:24 -07:00
engine.go Polite Verification (#2356) 2024-02-02 09:29:18 -08:00
engine_test.go Polite Verification (#2356) 2024-02-02 09:29:18 -08:00
filesystem.go [feat] - Allow for the use of include/exclude path files for filesystem scans (#2297) 2024-01-11 15:41:50 -08:00
filesystem_integration_test.go [chore] Add filesystem integration test (#2358) 2024-01-31 08:27:57 -08:00
gcs.go Update Source interface to use SourceID and JobID types (#1774) 2023-09-14 11:28:24 -07:00
gcs_test.go Remove verify flag from Aho-Corasick core (#2010) 2023-10-30 09:52:51 -04:00
git.go [feat] - Make skipping binaries configurable (#2226) 2023-12-15 11:46:27 -08:00
git_test.go [feat] - Remove go-git dependency (#2174) 2023-12-06 13:38:01 -08:00
github.go Scan GitHub wikis #2233 2024-01-31 10:52:24 -05:00
gitlab.go [feat] - Make skipping binaries configurable (#2226) 2023-12-15 11:46:27 -08:00
s3.go Update Source interface to use SourceID and JobID types (#1774) 2023-09-14 11:28:24 -07:00
syslog.go Update Source interface to use SourceID and JobID types (#1774) 2023-09-14 11:28:24 -07:00
travisci.go Add TravisCI source (#1877) 2023-10-30 07:28:25 -07:00