trufflehog/pkg/sources
ahrav 9867ce8eb8
Allow for configuring the buffered file writer (#2319)
* Write large diffs to tmp files

* address comments

* Move bufferedfilewriter to own pkg

* update test

* swallow write err

* use buffer pool

* use size vs len

* use interface

* fix test

* update comments

* fix test

* Allow for configuring the buffered file writer

* remove unused

* add missing method

* remove

* remove unused

* move parser and commit struct closer to where they are used

* linter change

* fix snifftest

* address comments

* add more kvp pairs to error

* fix test

* update

* add back missing metadata fields

* address comments

* remove bufferedfile writer

* fix

* address comments

* use unint8

* update interface

* adjust interface

* fix tests

* make linter happy

* fix finalize

* address comments

* update test

* address comments

* lint

* remove guard

* fix test

* fix

* add TODO

* fix tests
2024-01-30 12:51:58 -08:00
..
circleci Update Source interface to use SourceID and JobID types (#1774) 2023-09-14 11:28:24 -07:00
docker Update Source interface to use SourceID and JobID types (#1774) 2023-09-14 11:28:24 -07:00
filesystem Fix filesystem enumeration ignore paths bug (#2355) 2024-01-30 12:21:37 -08:00
gcs Extend memory cache (#2275) 2024-01-11 08:20:37 -08:00
git Allow for configuring the buffered file writer (#2319) 2024-01-30 12:51:58 -08:00
github Allow for configuring the buffered file writer (#2319) 2024-01-30 12:51:58 -08:00
gitlab Allow for configuring the buffered file writer (#2319) 2024-01-30 12:51:58 -08:00
s3 Add disk buffer tempfile cleanup (#2130) 2023-12-11 18:31:50 -05:00
syslog 1833 Fix syslog udp (#1835) 2024-01-08 09:59:48 -08:00
travisci Add TravisCI source (#1877) 2023-10-30 07:28:25 -07:00
chan_reporter.go [chore] Replace chunks channel with ChunkReporter in git based sources (#2082) 2023-11-01 09:22:44 -07:00
chunker.go Fix goroutine leak (#2251) 2023-12-20 21:09:05 -08:00
chunker_test.go Fix goroutine leak (#2251) 2023-12-20 21:09:05 -08:00
errors.go Support fatal errors in job reports (#1562) 2023-07-31 11:28:30 -05:00
errors_test.go Add TravisCI source (#1877) 2023-10-30 07:28:25 -07:00
job_progress.go Add prometheus metrics to measure hook execution time (#2312) 2024-01-22 11:47:45 -08:00
job_progress_hook.go [chore] Remove omitempty tags on JobProgressMetrics and UnitMetrics (#2204) 2023-12-12 10:02:56 -08:00
job_progress_test.go [chore] Add JSON tags to job metrics (#2114) 2023-11-16 17:08:33 -08:00
metrics.go Add prometheus metrics to measure hook execution time (#2312) 2024-01-22 11:47:45 -08:00
mock_job_progress_test.go replace interface{} with any. (#1771) 2023-09-15 04:35:15 -07:00
resume.go [chore] Remove logrus from circleci, filesystem, gitlab, and s3 sources (#1089) 2023-02-10 11:02:55 -06:00
resume_test.go [chore] Remove logrus from circleci, filesystem, gitlab, and s3 sources (#1089) 2023-02-10 11:02:55 -06:00
source_manager.go add priority semaphore (#2336) 2024-01-24 16:43:56 -08:00
source_manager_test.go [chore] Fix SourceManager flaky test (#2059) 2023-10-30 19:16:55 -07:00
source_unit.go Implement SourceUnitUnmarshaller for all sources (#1416) 2023-06-23 11:15:51 -05:00
sources.go [chore] - Update Chunk struct comment (#2317) 2024-01-20 13:31:27 -08:00
sources_test.go [chore] - Update Chunk struct comment (#2317) 2024-01-20 13:31:27 -08:00
test_helpers.go fix github integration tests (#1042) 2023-01-25 08:57:39 -08:00