Skip to content

Kubescape posture scans fail since v4.0.16: the Sigstore trust-root fetch is blocked by egress #4966

Closed

Description

@devantler

🤖 Generated by the Agentic Engineer (interactive Claude Code session)

Expected Behavior

The daily in-cluster posture scan completes and writes fresh configuration-scan results.

Actual Behavior

Since the scanner moved to v4.0.16 (#4911, deployed 2026-10-15), every posture scan aborts before scanning anything. The new release verifies the checksums of the control and framework bundles it downloads, using Sigstore. To do that it first fetches Sigstore's trust root from Sigstore's TUF CDN, and the namespace's egress allow-list does not include that host. The fetch times out, the scan fails, and the posture results stay frozen at the last scan before the upgrade.

The scheduler Job still reports Completed, because it only fires the scan request, so nothing marks the failure. It is visible only in the scanner's log (failed to fetch Sigstore trusted root ... i/o timeout, first at the 16 October 09:12 UTC scan). It also blocks the post-deployment verification of #4523, which needs a fresh scan.

Steps to Replicate

  1. Read the kubescape Deployment's log after a scheduled scan.
  2. Observe scan failed with checksum verification failed: ... failed to fetch Sigstore trusted root.

Acceptance Criteria

  • The scanner can reach Sigstore's TUF CDN on 443, added to the existing FQDN allow-list as that policy's own comment prescribes, and nothing broader.
  • Checksum verification stays on; the fix does not disable or bypass it.
  • After deployment, a scheduled or on-demand scan completes and writes fresh posture results. Read-only readback confirms it.

Activity

  1. added a commit that references this issue on Oct 16, 2026
  2. added theissue type on Oct 16, 2026
  3. moved this from 👀 In Review to 🏃🏻‍♂️ In Progress in 🌊 Project Boardon Oct 16, 2026
  4. moved this from 🏃🏻‍♂️ In Progress to 🚀 Ready to Merge in 🌊 Project Boardon Oct 16, 2026
  5. moved this from 🚀 Ready to Merge to ✅ Done in 🌊 Project Boardon Oct 16, 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

    High

    Effort

    Low

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions