s3 permissions - security hub wants no read only so suggestions

0

Starting to utilize the security hub feature and they are saying that "S3.2 S3 buckets should prohibit public read access".

So we use S3 for a lot of images, most of already in cloudfront, but when I turn off public, even the cloudfront fails. The recommendation is really no help, just says to turn it off, so I am trying to figure out the best practice to roll out to all our S3 buckets.

As I said, most are images that goto cloudfront, there are some other uses that I can look at, but I want to get those resolved from security hub and still allow the images to work.

Thanks.

1回答
0

The S3.2 policy evaluates not only the Block Public Access setting, but the bucket policy and the bucket ACL.

You will need to configure Origin Access Identity (OAI) on your S3 Bucket(s) so they only serve content via CloudFront (if not already done so). Take a look at this article + video guide.

profile pictureAWS
回答済み 2年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ