s3crets_scanner
s3crets_scanner copied to clipboard
Possibility to scan certain public buckets
I tried this tool and it works perfectly,
see that permissions only should be for *
Resources
....
....
{
"Sid": "VisualEditor1",
"Effect": "Allow",
"Action": "s3:ListAllMyBuckets",
"Resource": "*"
}
when I set a suitable resource I get an exception
get_all_buckets exception raised on adv-vod -> An error occurred (AccessDenied) when calling the ListBuckets operation: Access Denied
https://github.com/Eilonh/s3crets_scanner/blob/540327b3a9178ac3860b6dee2492e012bd246a40/aws.py#L78
Is there any possibility to list only certain "Resources"
?