trufflehog/pkg/sources
Brendan Shaklovitz da5301ea1e
Exit with non-zero exit code on chunk source error (#1286)
* Exit with non-zero exit code on chunk source error

* Exit with a non-zero exit code whenever we hit an error getting
  chunks. Previously the error would be logged but trufflehog would exit
  with a 0 (success) status code.

* fix gcs test

---------

Co-authored-by: Dustin Decker <dustin@trufflesec.com>
Co-authored-by: ahrav <ahravdutta02@gmail.com>
2023-06-26 11:39:57 -05:00
..
circleci Implement SourceUnitUnmarshaller for all sources (#1416) 2023-06-23 11:15:51 -05:00
docker Implement SourceUnitUnmarshaller for all sources (#1416) 2023-06-23 11:15:51 -05:00
filesystem Implement SourceUnitUnmarshaller for all sources (#1416) 2023-06-23 11:15:51 -05:00
gcs Implement SourceUnitUnmarshaller for all sources (#1416) 2023-06-23 11:15:51 -05:00
git Implement SourceUnitUnmarshaller for all sources (#1416) 2023-06-23 11:15:51 -05:00
github Implement SourceUnitUnmarshaller for all sources (#1416) 2023-06-23 11:15:51 -05:00
gitlab Implement SourceUnitUnmarshaller for all sources (#1416) 2023-06-23 11:15:51 -05:00
s3 Exit with non-zero exit code on chunk source error (#1286) 2023-06-26 11:39:57 -05:00
syslog Add Validator interface and example (#1397) 2023-06-15 08:24:32 -07:00
chunker.go [chore] Remove logrus from trufflehog (#1095) 2023-02-14 17:00:07 -06:00
chunker_test.go Change chunker test source (#959) 2022-12-06 12:45:08 -08:00
errors.go Implement String for ScanErrors (#1131) 2023-02-27 21:02:59 -06:00
errors_test.go Implement String for ScanErrors (#1131) 2023-02-27 21:02:59 -06: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_unit.go Implement SourceUnitUnmarshaller for all sources (#1416) 2023-06-23 11:15:51 -05:00
sources.go Setup SourceUnit interface (#1393) 2023-06-16 10:38:28 -05:00
test_helpers.go fix github integration tests (#1042) 2023-01-25 08:57:39 -08:00