Skip to content

Kubescape flags digest-pinned CronJob images as floating #5982

Open

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.
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