Enable ECR image scanning on push for all the existing ECR repositories


Say that you want to start using ECR image scanning and you want to enable scanonPush for all the existing repositories ..


Below AWC cli command will do just that !


aws ecr describe-repositories |grep REPOSITORIES|awk -F" " '{print $6}' | while read line; do aws ecr put-image-scanning-configuration --repository-name $line --image-scanning-configuration scanOnPush=true ; done

Comments

sara said…
This comment has been removed by a blog administrator.
Anonymous said…
In the 19th century, roulette unfold all over Europe and the US, changing into one of the most well-known and hottest casino video games. In some forms of early American roulette wheels, there have been numbers 1 to 28, plus a single zero, a double zero, and an American Eagle. The Eagle slot, which was an emblem of American liberty, was a house slot that brought the casino extra edge. Soon, the tradition vanished and since then the wheel options solely numbered slots. The recreation has been played in its present kind since as early as 1796 in Paris. An even earlier reference to a recreation of this name was published in laws for New France (Québec) in 1758, which banned the video games of "dice, hoca, dafabet faro, and roulette".

Popular posts from this blog

Launching an LOV by clicking a link or button 11g

Retrieve BPM composite version from ADF