trufflehog/pkg/sources
Richard Gomez b3ff12d1e9
Fix handling of GitHub ratelimit information (#2041)
This is a follow-up to #1912, which used the headers from the response to determine rate-limiting information, instead of using the values from RateLimitError.Rate. Although that logic seemed solid, I discovered that it did not work in some circumstances. This lead to the "unexpected" path more often than intended, and periodic instances where requests would be made before the ratelimit was refreshed.
2024-02-07 09:11:12 -05: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 [feat] - concurently scan the filesystem source (#2364) 2024-02-03 10:49:14 -08:00
gcs Extend memory cache (#2275) 2024-01-11 08:20:37 -08:00
git Fix handling of GitHub ratelimit information (#2041) 2024-02-07 09:11:12 -05:00
github Fix handling of GitHub ratelimit information (#2041) 2024-02-07 09:11:12 -05:00
gitlab [chore] Cleanup GitLab source errors (#2345) 2024-02-02 20:00:34 -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 Scan GitHub wikis #2233 2024-01-31 10:52:24 -05: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