GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — The github-config tenant Role grants a resources wildcard over the org's repository authority · Issue #3003 · devantler-tech/platform

The github-config tenant Role grants a resources wildcard over the org's repository authority #3003

New issue
Copy link
New issue
Copy link
Closed
Security
#3004
Closed
The github-config tenant Role grants a resources wildcard over the org's repository authority#3003
Security
#3004
Copy link

Description

@devantler
devantler
opened on Aug 6, 2026
Issue body actions

🤖 Generated by the Agentic Engineer

Evidence

checkov on k8s/ currently reports 37 failures (1745 passed, 6 skipped — measured
2026-08-06; the .mega-linter.yml comment's "73" is stale). Grouped by check id, exactly one is
CKV_K8S_49 "Minimize wildcard use in Roles and ClusterRoles", and it is the only RBAC wildcard
finding in a first-party manifest:

CKV_K8S_49  k8s/bases/apps/github-config/role.yaml  Role.github-config.github-config-managed-resources

The Role grants resources: ["*"] across five *.github.m.upbound.io API groups.

This finding is cleanly separable from the rest of #2787's backlog:

  • The 11 CKV_K8S_40 findings are already dispositioned by security(k8s): disposition CKV_K8S_40 — 11 findings whose UID is load-bearing #2898 / security(k8s): CKV_K8S_40 needs one risk acceptance, not 11 per-site constraints #2904.
  • The CKV_K8S_155 and CKV_K8S_38 findings sit in vendored upstream CDI/KubeVirt manifests,
    where Record a re-vendor-durable service-account-token verdict for the KubeVirt and CDI operator bundles #2861 owns the re-vendor-durable verdict.
  • Unlike the pod-security families, an RBAC rule is not subject to Kubernetes misconfiguration findings are reported but not gated, and nothing else covers them #2787's open "checkov reports
    on a pre-mutation view" question — Kyverno injects no RBAC, so there is no ambiguity to resolve
    first.

Audience and impact

The github-config tenant ServiceAccount holds authority over the org's real repositories. The
wildcard grants it every current and future resource in those five groups, including kinds nobody
has reviewed, the moment a new managed-resource definition is activated.

Expected behaviour

The Role names the managed-resource kinds it needs, and that set stays in lockstep with the
ManagedResourceActivationPolicy that decides which kinds exist at all.

Acceptance criteria

  • k8s/bases/apps/github-config/role.yaml enumerates its managed-resource kinds; CKV_K8S_49
    passes on the file.
  • Every kind the tenant's Flux Kustomization currently has in its inventory is still granted
    (verified against live prod, so the narrowing cannot break the running app).
  • A CI check fails, naming the offending kind, when the Role and the activation policy diverge
    in either direction, so the added maintenance step cannot be silently forgotten.
  • The parity check fails closed if either of its queries stops matching, rather than passing
    vacuously on two empty sets.

Rough size: small. Part of #2787.

Reacted by coderabbitai

Activity

  1. github-project-automation
    added this to 🌊 Project Boardon Aug 6, 2026
  2. devantler
    added the
    Security
    issue type on Aug 6, 2026
  3. coderabbitai commented on Aug 6, 2026

    @coderabbitai
    coderabbitaiBot
    on Aug 6, 2026 – with coderabbitai
    Contributor
    More actions
    🔗 Related PRs

    #2360 - fix(kyverno): grant reports controller read on KEDA ScaledObjects [merged]
    #2453 - fix(security): scope tenant Flux-impersonation role to drop pods/exec (C-0002) [merged]
    #2565 - feat(aws): activate EKS CI identity resources [merged]
    #2699 - fix(openbao): restrict OIDC admin role to maintainers [merged]
    #2911 - fix(security): disposition the three unconstrained CKV_K8S_40 sites [merged]


    📝 Issue Planner

    Check the box below or use the @coderabbitai plan command to generate an implementation plan and prompts that you can use with your favorite coding assistant.

    • Create Plan

    🧪 Issue enrichment is currently in open beta.

    You can configure auto-planning by selecting labels in the issue_enrichment configuration.

    To disable automatic issue enrichment, add the following to your .coderabbit.yaml:

    issue_enrichment:
      auto_enrich:
        enabled: false

    💬 Have feedback or questions? Drop into our discord!

  4. github-project-automation
    moved this to 👀 In Review in 🌊 Project Boardon Aug 6, 2026
  5. devantler
    added a parent issue on Aug 6, 2026
    • Kubernetes misconfiguration findings are reported but not gated, and nothing else covers them #2787
  6. devantler
    moved this from 👀 In Review to 🏃🏻‍♂️ In Progress in 🌊 Project Boardon Aug 6, 2026
  7. devantler
    closed this as completedin #3004on Aug 8, 2026
  8. github-project-automation
    moved this from 🏃🏻‍♂️ In Progress to ✅ Done in 🌊 Project Boardon Aug 8, 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

    Security

    Fields

    No fields configured for Security.

    Projects

    • 🌊 Project Board
      Status
      ✅ Done
      Show more project fields

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.