Appearance
Why It Matters
Compose files committed with latest or implicit latest tags are not reproducible. The deployed image can change without any repository diff, which weakens review and rollback confidence.
What Triggers
SEC752 matches services.*.image values when the service image uses either:
- no explicit tag, which implies
latest - an explicit
:latesttag
The rule skips digest-pinned images.
False Positives
The rule is intentionally narrow and does not flag reviewed explicit version tags such as nginx:1.27.0.
Remediation
Replace latest or implicit-latest service images with a reviewed explicit version tag or a digest pin.