You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the issue
The rule CKV_DOCKER_7 only reports the first occurence of the rule in a file and does not flag on other stages also not pinning the image to a specific tag.
Examples
FROM test.dkr.ecr.eu-west-2.amazonaws.com/my-registry/baseimage as baseImage
# do bunch of things hereFROM test.dkr.ecr.eu-west-2.amazonaws.com/my-registry/migrations-runner:latest as setup
# do bunch of more things hereENTRYPOINT ["/entrypoint.sh"]
I would expect it to flag both FROM statements as problematic, but it only flags the first one. Once that is fixed, the 2nd one will also be flagged.
Version (please complete the following information):
Checkov Version [3.2.327]
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the issue
The rule
CKV_DOCKER_7
only reports the first occurence of the rule in a file and does not flag on other stages also not pinning the image to a specific tag.Examples
I would expect it to flag both FROM statements as problematic, but it only flags the first one. Once that is fixed, the 2nd one will also be flagged.
Version (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: