GitLab check
CI job or service container image uses a mutable tag or no tag
Trigger condition
A CI job's or service's container image reference either (a) statically resolves to the 'latest' tag or no tag, and is not pinned by digest, or (b) is a dynamic, runtime-resolved (CI/CD variable) expression that cannot be statically verified.
Evidence
For a static reference, identifies the job (or the service and its job) and the observed image and tag. For a dynamic reference, states only that the image reference is dynamic and could not be statically verified -- the original expression and image string are never reproduced.
Impact
For a statically mutable image: the exact image content used by the CI job may differ from what ran previously or will run next time, undermining reproducibility, rollback safety, and supply-chain traceability -- a sharper risk than an equivalent finding on an idle workload, since CI images run with pipeline (and potentially CI job token) permissions. For a dynamic reference: its reproducibility, rollback safety, and supply-chain traceability cannot be verified from the CI configuration alone.
Recommendation
Pin the image to a specific version tag at minimum. For a content-addressed, truly immutable reference, pin to a digest instead or in addition (e.g. app@sha256:...). For a dynamic reference, replace or constrain the CI/CD variable expression so the effective image reference can be statically verified.
Important limitations
A dynamic reference cannot be statically verified, and this does not prove the effective image is unpinned -- only that CloudOps Guard cannot determine that statically. One finding is produced per (job, image-or-service) occurrence; the same mutable image used by two different jobs produces two separate findings.