trufflehog/pkg
Miccah 2f3a410e38
Implement SourceUnitEnumChunker for GitHub (#3298)
* Implement SourceUnitEnumChunker for GitHub

This change refactors the internal scan method to introduce a scanRepo
method to perform the actual scan.

* Export unit fields so the values are captured in the report

* Add comment for scanRepo

* Break out ensureRepoInfoCache into a method

* Update comments and check errors

* Ensure that the repoInfoCache contains the repo during ChunkUnit

* Add integration test for ChunkUnit

* Move s.scanOptions initialization to Init()
2024-09-23 10:56:55 -07:00
..
analyzer [analyze] Add client filter to detect successful unsafe HTTP requests (#3305) 2024-09-18 10:31:21 -07:00
buffers [chore] - move buffers pkg out of writers pkg (#2826) 2024-05-16 14:38:36 -07:00
cache refactor(cache): use generics (#2930) 2024-06-06 13:08:00 -04:00
channelmetrics [chore] Polish channelmetrics package (#2938) 2024-06-06 17:29:23 -07:00
cleantemp Wrap temp deletion err #2277 2024-01-08 12:48:58 -05:00
common Add user agent suffix feature flag (#3297) 2024-09-13 15:20:43 -07:00
config chore: fix some comments (#3098) 2024-07-25 10:37:13 -07:00
context pkg: fix function names in comment (#2761) 2024-04-29 11:21:26 -05:00
custom_detectors feat(detectors): log falsepositive reason (#2969) 2024-06-14 08:26:05 -07:00
decoders Clarify "no decoder found for chunk" log message (#3001) 2024-09-10 13:58:40 -05:00
detectors hit em w/ a min (#3316) 2024-09-23 11:07:39 -05:00
engine adding pypi detector (#3287) 2024-09-11 19:17:17 -07:00
feature Add user agent suffix feature flag (#3297) 2024-09-13 15:20:43 -07:00
gitparse [chore] - address linter (#3133) 2024-07-31 17:30:51 -07:00
giturl [chore] - update docs for pre-commit (#2280) 2024-01-09 15:41:27 -08:00
handlers [fix] - Add Size Method to BufferedReadSeeker and Refactor Context Timeout Handling in HandleFile (#3307) 2024-09-23 06:21:07 -07:00
iobuf [fix] - Add Size Method to BufferedReadSeeker and Refactor Context Timeout Handling in HandleFile (#3307) 2024-09-23 06:21:07 -07:00
log [THOG-643] Implement independent log level controls (#733) 2022-08-26 15:27:09 -05:00
output Make connection issues less jarring (#2730) 2024-04-23 14:29:38 -07:00
pb adding pypi detector (#3287) 2024-09-11 19:17:17 -07:00
protoyaml Add custom detectors configuration parsing (#927) 2022-11-21 15:10:38 -06:00
roundtripper Add Jenkins scanning (#2892) 2024-06-04 07:13:14 -04:00
sanitizer Initial CLI w/ partially implemented Git source and demo detector (#1) 2022-01-13 12:02:24 -08:00
sources Implement SourceUnitEnumChunker for GitHub (#3298) 2024-09-23 10:56:55 -07:00
sourcestest [chore] Add SourceUnitEnumChunker filesystem tests (#1873) 2023-10-16 10:42:18 -07:00
tui Add huggingface tui config (#3060) 2024-09-03 12:54:39 -07:00
updater Add metrics for command invocation (#3185) 2024-08-13 08:50:36 -07:00
version Automatically update trufflehog (#121) 2022-04-03 11:51:56 -07:00
writers [chore] - remove unused method and function (#3089) 2024-09-10 12:35:49 -05:00