Miccah
6fa2171a22
Refactor Engine to wait for workers in a Finish method ( #581 )
...
* Refactor Engine to wait for workers in a Finish method
This should allow the engine to run multiple concurrent scans if
desired before shutting down.
Additionally, this commit refactors some of the printing logic to the
output package.
* Fix tests
2022-05-25 11:35:44 -05:00
Bill Rich
6ee5c57968
Fix overlooked nil ( #523 )
...
* Fix overlooked nil
* Use default case
2022-05-04 15:45:12 -07:00
Bill Rich
62bb3c57d3
Keep first line number for each chunk ( #520 )
2022-05-04 14:11:10 -07:00
Dustin Decker
8d2dd624e4
fetcher controls fetch interval, prevent fetching loop
2022-04-03 21:13:39 -07:00
ahrav
cedb3393d1
[THOG-128] Code cleanup/ OSS onboarding ( #117 )
...
* Small amount of code clean up.
* Rename sem to concurrency for better readability and to remove an extra comment.
* fix stashing issue.
Co-authored-by: Ahrav Dutta <ahrav.dutta@trufflesec.com >
2022-04-01 16:47:27 -07:00
Bill Rich
c2b4f0bc39
Include line numbers in git metadata ( #97 )
...
* Include line numbers in git metadata
* Update tests for fragments and line numbers
2022-03-22 09:27:15 -07:00
Bill Rich
e8234c3514
Remove unused code and add git binary check ( #80 )
2022-03-14 17:47:18 -07:00
Dustin Decker
72c13c4b8f
Update detector process and readme ( #79 )
2022-03-14 17:27:14 -07:00
Dustin Decker
b0e0c26137
update detectors
2022-03-11 10:24:36 -08:00
Bill Rich
bdbc7e80d1
Use sync.Map to avoid concurrent map writes ( #66 )
2022-03-05 22:42:06 -08:00
Bill Rich
665b0bf928
Add timestamp ( #61 )
...
* Add timestamp to sources
* Include timestamp in sources
2022-03-04 08:39:23 -08:00
Bill Rich
c144630c54
Add parent results to ignore list ( #47 )
...
* Add parent results to ignore list
* Force concurrency to 1 when base commit is set
2022-03-04 08:39:22 -08:00
Bill Rich
30034f5d28
Use metadata specific to source type ( #48 )
2022-03-04 08:39:22 -08:00
Bill Rich
56dc1b109c
Check commit order, dedupe results, and support using a head commit. ( #44 )
...
* Check commit order and support using a head commit.
* Only apply dedupe to git bases source
2022-03-04 08:39:22 -08:00
Dustin Decker
77418fb3f8
module v3
2022-02-15 18:54:47 -08:00
Dustin Decker
79496b8142
Add context timeout to scanners
2022-02-15 18:54:47 -08:00
Dustin Decker
ee99f0c9a2
Record avg detector time
2022-02-15 18:54:47 -08:00
Dustin Decker
e15fa3a5be
helpful logging
2022-02-15 18:54:47 -08:00
Dustin Decker
533f6d1e20
updates
2022-02-15 18:54:43 -08:00
Dustin Decker
4218c39d99
Initial CLI w/ partially implemented Git source and demo detector ( #1 )
2022-01-13 12:02:24 -08:00