Skip to content

Kubescape flags digest-pinned CronJob images as floating #5982

Closed

Description

@devantler

🤖 Generated by the Agentic Engineer

Description

Kubescape flags CronJobs whose image references carry both the latest tag and an immutable digest. Kubernetes pulls the exact digest. The extra tag creates noise in the posture report and makes genuinely floating references harder to spot.

Steps to Reproduce

  1. Scan a CronJob with an explicit latest tag, an image digest, and its existing pull policy.
  2. Remove the tag while retaining the digest and repeat the same control scan.

Expected Behavior

The CronJobs use unambiguous digest references and continue to receive automated digest updates.

Actual Behavior

The control flags the redundant tag even though the image selection is already immutable.

Acceptance Criteria

  • Canonicalize the affected CronJob references and preserve their digests, pull policies, and schedules.
  • Verify scanner behavior, Renovate digest updates, and the rendered workloads.
  • Deliver through protected GitOps and verify a fresh posture result for the deployed workloads.

Activity

  1. added theissue type on Nov 10, 2026
  2. moved this to 🫴 Ready in 🌊 Project Boardon Nov 10, 2026
  3. moved this from 🫴 Ready to 🏃🏻‍♂️ In Progress in 🌊 Project Boardon Nov 10, 2026
  4. devantler commented on Nov 11, 2026

    @devantler
    ContributorAuthor

    🤖 Generated by the Agentic Engineer

    Post-merge verification is complete, so this issue can close.

    • References made canonical: fix(k8s): use direct digest references for scheduled jobs #5983 (merged 2026-11-10) removed the redundant latest tag and kept the digests, pull policies and schedules. All 14 deployed CronJobs that use the curl-jq helper now run it by digest only. None of the cluster's CronJobs uses a :latest@sha256 reference any more.
    • Renovate digest updates still work: Renovate opened and merged chore(deps): update docker.io/badouralix/curl-jq docker digest to 7f3c18b #6039 (2026-11-11 03:39Z), which moved the digest-only reference to a newer digest. That digest is the one deployed now, so the updates flowed through protected GitOps.
    • Fresh posture result: today's Kubescape workload scans (09:23Z, after both merges) evaluated all 62 controls on the affected CronJobs. The image-tag control C-0075 now passes. The only controls still failing are C-0234 (external secret storage) and C-0236 (image signature). Neither is about image tags, so both are outside this issue's scope.

    All three acceptance criteria are met.

  5. moved this from 🏃🏻‍♂️ In Progress to ✅ Done in 🌊 Project Boardon Nov 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    Priority

    None yet

    Effort

    None yet

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions