trufflehog/pkg/sources
Cody Rose f26b502c2e
Auth GitHub in Init (#3131)
The GitHub source currently applies its authentication configuration as the first step of enumeration. This is incompatible with both targeted scans and scan job reports, and also means that authentication logic has to be duplicated into the validation flow. This PR moves it into Init so that it's available to targeted scans and, eventually, unit-specific scans. This also allows us to remove the copy of the old logic that was in Validate.

As part of the work I've also cleaned up the integration test suite. (Several of them were apparently disabled back when they ran on every push, but now that we're not doing that, we can re-enable them.)
2024-08-05 15:13:29 -04:00
..
circleci [feat] - Make the client configurable (#2528) 2024-03-01 13:29:25 -08:00
docker [chore] - set custom transport for the Docker client (#3156) 2024-08-02 08:51:59 -07:00
elasticsearch Elastic adapter (#2727) 2024-05-24 09:38:20 -05:00
filesystem [feat] - Streamlined File Handling with BufferedReaderSeeker (#3041) 2024-07-17 13:52:18 -07:00
gcs refactor(cache): use generics (#2930) 2024-06-06 13:08:00 -04:00
git fix dep versions (#3106) 2024-07-26 17:44:23 -07:00
github Auth GitHub in Init (#3131) 2024-08-05 15:13:29 -04:00
github_experimental quick patch for cfor enumeration (#3155) 2024-08-02 11:12:43 -04:00
gitlab Log more GitLab stuff (#3040) 2024-07-09 10:53:40 -04:00
huggingface New Source: HuggingFace (#3000) 2024-06-27 13:22:06 -04:00
jenkins Add Jenkins scanning (#2892) 2024-06-04 07:13:14 -04:00
postman add tolower to all keywords, and remove return on error for global vars (#2852) 2024-05-16 14:03:03 -05:00
s3 [feat] - Streamlined File Handling with BufferedReaderSeeker (#3041) 2024-07-17 13:52:18 -07:00
syslog 1833 Fix syslog udp (#1835) 2024-01-08 09:59:48 -08:00
travisci [feat] - Make the client configurable (#2528) 2024-03-01 13:29:25 -08:00
chunker.go [feat] - Streamlined File Handling with BufferedReaderSeeker (#3041) 2024-07-17 13:52:18 -07:00
chunker_test.go remove dead code (#3044) 2024-07-07 08:59:40 -07:00
errors.go Return targeted scan errors (#2995) 2024-06-21 13:50:56 -04:00
errors_test.go Fix additional GitHub test errors #2614 2024-03-26 09:34:12 -04:00
job_progress.go pkg: fix function names in comment (#2761) 2024-04-29 11:21:26 -05:00
job_progress_hook.go Add Display method to SourceUnit and Kind member to the CommonSourceUnit (#2450) 2024-02-20 11:24:13 -08:00
job_progress_test.go Add Display method to SourceUnit and Kind member to the CommonSourceUnit (#2450) 2024-02-20 11:24:13 -08:00
legacy_reporters.go [chore] Rename file to legacy_reporters.go (#2406) 2024-02-09 18:17:46 -08:00
metrics.go Refactor UnitHook to block the scan if finished metrics aren't handled (#2309) 2024-02-08 14:50:58 -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 chore: fix some comments (#3098) 2024-07-25 10:37:13 -07:00
source_manager_test.go increase test chan size (#2797) 2024-05-07 11:11:11 -04:00
source_unit.go Add Display method to SourceUnit and Kind member to the CommonSourceUnit (#2450) 2024-02-20 11:24:13 -08:00
sources.go CFOR Commit Scanner (#3145) 2024-08-01 23:04:20 -04: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