Find unpinned base images

Apache 2.0

Finds FROM instructions that use unpinned base images (CIS Docker Benchmark 4.2). Images without an explicit tag default to 'latest', which is not reproducible. Images pinned by digest are considered acceptable.

org.openrewrite.docker.search.FindUnpinnedBaseImages
mod run . --recipe=org.openrewrite.docker.search.FindUnpinnedBaseImages

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.