mirror of
https://github.com/trufflesecurity/trufflehog.git
synced 2024-11-10 15:14:38 +00:00
64dd49f9ce
* add role assumption for s3 source * refactor role assumption to repeatable string user can pass array of roles to assume * refactor s3 chunks to handle passed roleARNs * add role-session name use timestamp to make dynamic * add docstring for rolearn strings() * make sure role ars are passed into source * refactor role assumption functionality break s3 bucket scanning into sep. function * add log check on assume role * fix role iteration - Make sure s3 struct is populated with roles - add separate new client instantiation for role-based access - iterates through each role * add comment * protobuf revert for merge * re-run make proto * lint cleanup * cleanup TODOs * drop redundant switch case in assumerole client * use less verbose 'ctx' designator * breakout functionality from Chunks - separate functions for: - enumerating buckets to scan - scanning objects within the buckets * remake protobuf defs * allow scan to continue on single bucket err * add readme docs * minor fixups |
||
---|---|---|
.. | ||
circleci.go | ||
defaults.go | ||
defaults_test.go | ||
docker.go | ||
engine.go | ||
engine_test.go | ||
filesystem.go | ||
gcs.go | ||
gcs_test.go | ||
git.go | ||
git_test.go | ||
github.go | ||
gitlab.go | ||
s3.go | ||
syslog.go |