Can I enable AWS inspector to scan public ECR repos?

0

Can I enable the AWS inspector to scan public ECR repos? If yes please describe the steps.

1 回答
1

You cannot configure AWS Inspector to point to a public ECR repository. One workaround is to pull the container from public ECR and create a private ECR repository inside your account and push the exact same unchanged container to it, and then do the scan.

Another thing you could try is configuring a pull through cache rule to pull a public image into a private repository and then scan the private repository, which is basically replicating the same functionality you are attempting to do.

profile pictureAWS
已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则