Files
trufflehog/pkg/sources
Cody Rose a2c0abbfd6 Unify S3 client creation logic (#1657)
This PR unifies some code paths within the S3 source. This is being done to better support a future implementation of S3 source validation; less code that runs means less code to validate. The logical change is to move the handling of "role-less" operation down the call tree, which allows for a single code path for more of the S3 code.

This PR also fixes a bug that would occur in the (rare) case that the source couldn't create a regional S3 client. Before, an error would be logged, but it would be followed by a panic. Now the bucket in question is skipped.
2023-08-30 17:49:37 -04:00
..
2023-08-29 12:02:30 -07:00
2023-08-29 12:02:30 -07:00
2023-08-29 12:02:30 -07:00
2023-08-29 12:02:30 -07:00
2023-08-29 12:02:30 -07:00
2023-08-29 12:02:30 -07:00
2023-08-24 14:36:52 -07:00
2023-08-30 17:49:37 -04:00
2023-08-29 12:02:30 -07:00
2023-08-28 18:08:31 -07:00