Difficulty: Intermediate
Estimated Time: 5 minutes

CloudSecOps

We'll learn how to use OPA Gatekeeper to make sure that images from trusted repos are only used.

In this scenario, we have seen how to prohibit the usage of images only from trusted repos and the reason behind the need of this policy in our organizations.

For more info on this scenario - Require Trusted Image

For more OPA Gatekeeper use-cases - Mastering OPA Policies

Require Trusted Image Repos

Step 1 of 4

Reason

Attackers always look for the possibilty to use malicious images from their own repo. This policy ensures that the images from trusted repos are only accepted.