trufflehog/pkg
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
..
cache Extend cache interface (#1318) 2023-05-03 08:21:00 -07:00
common 🎉 Add Docker image scanning 🎉 (#1412) 2023-06-22 08:02:25 -07:00
config Implement EndpointCustomizer (#1291) 2023-04-27 12:23:50 -05:00
context Record timestamp when a context was cancelled (#1018) 2023-01-13 12:21:09 -06:00
custom_detectors Custom detector name (#1400) 2023-06-20 13:55:31 -05:00
decoders Use heuristic to choose the most likely UTF-16 decoded string (#1381) 2023-06-13 17:00:40 -07:00
detectors Update Slack webhook error text for verification (#1427) 2023-06-26 08:44:17 -07:00
engine Exit with non-zero exit code on chunk source error (#1286) 2023-06-26 11:39:57 -05:00
gitparse fix new git file plus plus plus bug (#1386) 2023-06-08 18:29:11 -05:00
giturl Fix GitUrl Return (#987) 2023-01-09 09:17:30 -08:00
handlers Replace context.TODO. (#1349) 2023-05-19 11:09:51 -07:00
log [THOG-643] Implement independent log level controls (#733) 2022-08-26 15:27:09 -05:00
output Check to see if StructuredData exists before attempting to print it (#1346) 2023-05-18 17:42:19 -04:00
pb 🎉 Add Docker image scanning 🎉 (#1412) 2023-06-22 08:02:25 -07:00
protoyaml Add custom detectors configuration parsing (#927) 2022-11-21 15:10:38 -06:00
sanitizer Initial CLI w/ partially implemented Git source and demo detector (#1) 2022-01-13 12:02:24 -08:00
sources Exit with non-zero exit code on chunk source error (#1286) 2023-06-26 11:39:57 -05:00
updater [chore] Remove logrus from trufflehog (#1095) 2023-02-14 17:00:07 -06:00
version Automatically update trufflehog (#121) 2022-04-03 11:51:56 -07:00