s3crets_scanner icon indicating copy to clipboard operation
s3crets_scanner copied to clipboard

Possibility to scan certain public buckets

Open eliteaz opened this issue 1 year ago • 0 comments

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" ?

eliteaz avatar Jan 04 '23 11:01 eliteaz