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 Risposta
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
con risposta un anno fa
  • Agree with this solution.

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande