GeezerVison is showing github.com — fix(rbac): enumerate the github-config tenant Role's managed-resource kinds by devantler · Pull Request #3004 · devantler-tech/platform
Conversation
devantler
commented
Aug 6, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Why
The github-config tenant holds authority over the org's real repositories, and its Role
granted a blanket wildcard over five GitHub API groups — so it automatically gained every new
resource kind the moment one was activated, reviewed by nobody.
What
The Role now names the kinds it needs, matching the activation policy that decides which kinds
exist at all. A CI check fails — naming the offending kind — if the two ever drift apart, so the
extra maintenance step can't be silently forgotten.
Verified against live prod: every kind the tenant currently has deployed is still granted, so this
cannot break the running app.
Fixes #3003
Part of #2787
Important Merge-order gate: #2985 and #3004 both re-approve the same expectedRenderedSurfaceSHA from the same base value. Whichever merges second will conflict on that line and must re-measure and re-approve against the new main — the second PR's hash is not valid once the first lands.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Replace the resources wildcard on the tenant Role with the kinds the
ManagedResourceActivationPolicy activates.
Part of #2787
Add a parity check asserting the tenant Role grants exactly the
managed-resource kinds the ManagedResourceActivationPolicy activates,
in both directions, and wire it into the k8s-gated CI job.
Part of #2787
⚠️ BASH / bash-exec - 5 errors
Results of bash-exec linter (version 5.3.9)
See documentation on https://megalinter.io/9.6.0/descriptors/bash_bash_exec/
-----------------------------------------------
✅ [SUCCESS] scripts/dr-rebuild-supersession-guard.sh
❌ [ERROR] scripts/ghcr-auth-lib.sh
Error: File:[scripts/ghcr-auth-lib.sh] is not executable
✅ [SUCCESS] scripts/guard-cilium-homogeneous-device-rollout.sh
✅ [SUCCESS] scripts/megalinter-scan-counts.sh
✅ [SUCCESS] scripts/normalize-sarif-paths.sh
❌ [ERROR] scripts/refresh-flux-ghcr-auth-safety.sh
Error: File:[scripts/refresh-flux-ghcr-auth-safety.sh] is not executable
✅ [SUCCESS] scripts/refresh-flux-ghcr-auth.sh
✅ [SUCCESS] scripts/report-cilium-rollout-gate-suppression.sh
✅ [SUCCESS] scripts/run-ksail-prod-with-pull-auth.sh
✅ [SUCCESS] scripts/summarize-sarif-findings.sh
✅ [SUCCESS] scripts/tests/test-cilium-bandwidth-manager-component.sh
✅ [SUCCESS] scripts/tests/test-cilium-homogeneous-devices-activation.sh
✅ [SUCCESS] scripts/tests/test-cilium-homogeneous-devices-autoscaler-gate.sh
✅ [SUCCESS] scripts/tests/test-cilium-homogeneous-devices-flux-wait.sh
✅ [SUCCESS] scripts/tests/test-cilium-mutual-auth-policy-regressions.sh
✅ [SUCCESS] scripts/tests/test-cilium-mutual-auth-policy.sh
✅ [SUCCESS] scripts/tests/test-cilium-rollout-gate-suppression-signal.sh
✅ [SUCCESS] scripts/tests/test-crossplane-sync-exporter.sh
✅ [SUCCESS] scripts/tests/test-dr-rebuild-supersession-guard.sh
✅ [SUCCESS] scripts/tests/test-github-config-role-activation-parity.sh
✅ [SUCCESS] scripts/tests/test-kyverno-admission-vpa.sh
❌ [ERROR] scripts/tests/test-normalize-sarif-paths.sh
Error: File:[scripts/tests/test-normalize-sarif-paths.sh] is not executable
✅ [SUCCESS] scripts/tests/test-openbao-oidc-role.sh
❌ [ERROR] scripts/tests/test-opencost-usage-scraper.sh
Error: File:[scripts/tests/test-opencost-usage-scraper.sh] is not executable
❌ [ERROR] scripts/tests/test-refresh-flux-ghcr-auth-safety.sh
Error: File:[scripts/tests/test-refresh-flux-ghcr-auth-safety.sh] is not executable
✅ [SUCCESS] scripts/tests/test-restrict-tenant-secret-stores.sh
✅ [SUCCESS] scripts/tests/test-summarize-sarif-findings.sh
✅ [SUCCESS] scripts/tests/test-verify-published-evidence.sh
✅ [SUCCESS] scripts/update-vendored-operators.sh
✅ [SUCCESS] scripts/validate-alert-coverage.sh
✅ [SUCCESS] scripts/verify-published-evidence.sh
✅ [SUCCESS] scripts/wait-for-platform-flux-revision.sh
⚠️ REPOSITORY / checkov - 18 errors
ontainers should run as a high UID to avoid host conflict"
FAILED for resource: Job.openbao.vault-snapshot-init
File: /k8s/bases/infrastructure/vault-backup/job.yaml:23-191
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/kubernetes-policies/kubernetes-policy-index/bc-k8s-37
Code lines for this resource are too many. Please use IDE of your choice to review the file.
Check: CKV_K8S_8: "Liveness Probe Should be Configured"
FAILED for resource: Deployment.observability.crossplane-sync-exporter
File: /k8s/bases/infrastructure/coroot/components/crossplane-sync-exporter/deployment.yaml:1-111
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/kubernetes-policies/kubernetes-policy-index/bc-k8s-7
Code lines for this resource are too many. Please use IDE of your choice to review the file.
Check: CKV_K8S_9: "Readiness Probe Should be Configured"
FAILED for resource: Deployment.observability.crossplane-sync-exporter
File: /k8s/bases/infrastructure/coroot/components/crossplane-sync-exporter/deployment.yaml:1-111
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/kubernetes-policies/kubernetes-policy-index/bc-k8s-8
Code lines for this resource are too many. Please use IDE of your choice to review the file.
Check: CKV_K8S_35: "Prefer using secrets as files over secrets as environment variables"
FAILED for resource: CronJob.observability.cnpg-degraded-alert
File: /k8s/bases/infrastructure/controllers/coroot/cron-job-cnpg-degraded-alert.yaml:56-202
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/kubernetes-policies/kubernetes-policy-index/bc-k8s-33
Code lines for this resource are too many. Please use IDE of your choice to review the file.
Check: CKV_K8S_38: "Ensure that Service Account Tokens are only mounted where necessary"
FAILED for resource: CronJob.observability.cnpg-degraded-alert
File: /k8s/bases/infrastructure/controllers/coroot/cron-job-cnpg-degraded-alert.yaml:56-202
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/kubernetes-policies/kubernetes-policy-index/bc-k8s-35
Code lines for this resource are too many. Please use IDE of your choice to review the file.
Check: CKV_K8S_40: "Containers should run as a high UID to avoid host conflict"
FAILED for resource: Job.openbao.vault-config
File: /k8s/bases/infrastructure/vault-config/job.yaml:36-1200
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/kubernetes-policies/kubernetes-policy-index/bc-k8s-37
Code lines for this resource are too many. Please use IDE of your choice to review the file.
Check: CKV_K8S_8: "Liveness Probe Should be Configured"
FAILED for resource: Deployment.opencost.opencost-usage-scraper
File: /k8s/bases/infrastructure/opencost/components/usage-scraper/deployment.yaml:1-78
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/kubernetes-policies/kubernetes-policy-index/bc-k8s-7
Code lines for this resource are too many. Please use IDE of your choice to review the file.
Check: CKV_K8S_9: "Readiness Probe Should be Configured"
FAILED for resource: Deployment.opencost.opencost-usage-scraper
File: /k8s/bases/infrastructure/opencost/components/usage-scraper/deployment.yaml:1-78
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/kubernetes-policies/kubernetes-policy-index/bc-k8s-8
Code lines for this resource are too many. Please use IDE of your choice to review the file.
Check: CKV_K8S_11: "CPU limits should be set"
FAILED for resource: Deployment.kube-system.coredns
File: /k8s/providers/docker/infrastructure/controllers/coredns/deployment.yaml:2-146
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/kubernetes-policies/kubernetes-policy-index/bc-k8s-10
Code lines for this resource are too many. Please use IDE of your choice to review the file.
Check: CKV_K8S_25: "Minimize the admission of containers with added capability"
FAILED for resource: Deployment.kube-system.coredns
File: /k8s/providers/docker/infrastructure/controllers/coredns/deployment.yaml:2-146
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/kubernetes-policies/kubernetes-policy-index/bc-k8s-24
Code lines for this resource are too many. Please use IDE of your choice to review the file.
Check: CKV_K8S_35: "Prefer using secrets as files over secrets as environment variables"
FAILED for resource: Deployment.minio.minio
File: /k8s/providers/docker/infrastructure/controllers/minio/deployment.yaml:12-104
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/kubernetes-policies/kubernetes-policy-index/bc-k8s-33
Code lines for this resource are too many. Please use IDE of your choice to review the file.
Check: CKV_K8S_35: "Prefer using secrets as files over secrets as environment variables"
FAILED for resource: Job.minio.minio-create-bucket
File: /k8s/providers/docker/infrastructure/controllers/minio/job.yaml:4-76
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/kubernetes-policies/kubernetes-policy-index/bc-k8s-33
Code lines for this resource are too many. Please use IDE of your choice to review the file.
Check: CKV_K8S_40: "Containers should run as a high UID to avoid host conflict"
FAILED for resource: Job.userns-longhorn-smoke.userns-longhorn-smoke
File: /k8s/providers/hetzner/apps/userns-longhorn-smoke/job.yaml:5-154
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/kubernetes-policies/kubernetes-policy-index/bc-k8s-37
Code lines for this resource are too many. Please use IDE of your choice to review the file.
Check: CKV_K8S_8: "Liveness Probe Should be Configured"
FAILED for resource: PodTemplate.overprovisioning.overprovisioning
File: /k8s/providers/hetzner/infrastructure/overprovisioning/pod-template.yaml:29-86
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/kubernetes-policies/kubernetes-policy-index/bc-k8s-7
Code lines for this resource are too many. Please use IDE of your choice to review the file.
Check: CKV_K8S_9: "Readiness Probe Should be Configured"
FAILED for resource: PodTemplate.overprovisioning.overprovisioning
File: /k8s/providers/hetzner/infrastructure/overprovisioning/pod-template.yaml:29-86
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/kubernetes-policies/kubernetes-policy-index/bc-k8s-8
Code lines for this resource are too many. Please use IDE of your choice to review the file.
github_actions scan results:
Passed checks: 100, Failed checks: 0, Skipped checks: 0
(Truncated to last 6666 characters out of 8426)
⚠️ SPELL / cspell - 3076 errors
"dbname",
"dedupe",
"deletecollection",
"deploymentruntimeconfigs",
"descheduler",
"descheduling",
"desynchronising",
"devantler",
"diffable",
"dispositioned",
"distroless",
"dockerconfigjson",
"docstrings",
"dorny",
"dpkg",
"drainable",
"emptydir",
"endgroup",
"entrys",
"envsubst",
"esac",
"etcdctl",
"evictable",
"extensionless",
"externalsecret",
"externalsecrets",
"fanout",
"featureflagsource",
"fleetdm",
"fluxinstance",
"fromdateiso",
"gatewayapi",
"generatable",
"generatingpolicies",
"genkey",
"gethomepage",
"gitops",
"gocritic's",
"golangci",
"gosec",
"grjtvs",
"growfs",
"growpart",
"healthchecks",
"healthz",
"helmrelease",
"helmreleases",
"helmv",
"homelab",
"hostnames",
"httproute",
"idempotently",
"imagetools",
"imagevalidatingpolicy",
"imranismail",
"injective",
"inspectable",
"iscsi",
"italicise",
"ivpol",
"keylessly",
"keypair",
"kprobes",
"kptr",
"krew",
"ksail",
"ksail's",
"ksailcd",
"kubeconfig",
"kubeconform",
"kubeconform's",
"kubelet",
"kubelet's",
"kubelets",
"kubelogin",
"kubescape",
"kubespan",
"kubevirt",
"kubevuln",
"kustomization",
"kustomizations",
"kyverno",
"letsencrypt",
"libc",
"libgnutls",
"lintable",
"livez",
"loadtester",
"locationless",
"luks",
"lycheeignore",
"machineconfig",
"materialise",
"materialised",
"materialises",
"maxage",
"maxbackup",
"maxsize",
"maxx",
"microtime",
"misconfig",
"misconfigs",
"misordered",
"mistargeted",
"mktemp",
"mlock",
"mutatingpolicies",
"mutatingwebhookconfigurations",
"myapp",
"najsk",
"neighbour",
"nenv",
"netlink",
"netpol",
"netpols",
"neutralises",
"neutralising",
"nextjs",
"nftables",
"nilnil",
"nobuckets",
"nodepod",
"nodeport",
"nolint",
"nonroot",
"normalisation",
"normalised",
"normalises",
"normalising",
"nosec",
"nullglob",
"ocirepository",
"openbao",
"opencost",
"openfeature",
"oras",
"overprovisioning",
"parallelised",
"pasteable",
"permissioning",
"pipefail",
"policyignore",
"policyreports",
"portforward",
"preemptible",
"preservingly",
"prioritisable",
"prioritisation",
"prioritised",
"privesc",
"providerconfigs",
"pseudonymization",
"pseudonymized",
"pseudonymizes",
"publishapp",
"publishprovider",
"pushsecret",
"pushsecrets",
"pycache",
"randomises",
"rdqwpktr",
"readyz",
"reassertions",
"recognisably",
"recognise",
"recognised",
"recolour",
"reconverges",
"refreshfluxghcrauth",
"regenerable",
"releaserc",
"rematerialise",
"rematerialised",
"replicaset",
"repoint",
"repointed",
"repoints",
"repositoryrulesets",
"resizer",
"restrictor",
"retabbed",
"retarget",
"rmem",
"rolebindings",
"rollouts",
"rshared",
"sanitised",
"sanitiser",
"sanitising",
"sarif",
"scheckov",
"schedulability",
"schedulable",
"scopeable",
"scopeless",
"seccomp",
"secretbox",
"secretstore",
"seedable",
"serialised",
"serverside",
"serviceaccount",
"serviceaccounts",
"sgdisk",
"shellcheck",
"shfmt",
"shopt",
"siderolabs",
"siderolink",
"sigstore",
"skmde",
"slurpfile",
"sngle",
"specnull",
"spiffe",
"srole",
"startswith",
"statefulset",
"statemanager",
"stdlib",
"storageclass",
"subtest",
"summarised",
"surfaceless",
"syft",
"syscall",
"sysctls",
"talosconfig",
"talosctl",
"tanzu",
"templatesyncignore",
"thresholded",
"tlsv",
"tmpl",
"tostring",
"tracepoints",
"trixie",
"trueish",
"trustd",
"ture",
"uids",
"umami",
"umami's",
"unablated",
"unclickable",
"uncompilable",
"uncordon",
"uncordoned",
"undecoded",
"undercounts",
"undispositioned",
"unevidenced",
"unexcepted",
"unfiled",
"ungated",
"ungenerated",
"unifi",
"uninvoked",
"unmarshalling",
"unmarshals",
"unmodelled",
"unparseable",
"unprovisioned",
"unrecognisable",
"unrecognised",
"unrepresentable",
"unreviewed",
"unroutable",
"unrun",
"unshippable",
"unskipped",
"untrackable",
"unwired",
"upbound",
"updatekeys",
"upjet",
"upstreaming",
"urlencode",
"userinfo",
"userns",
"ushfn",
"validatable",
"validatealertcoverage",
"validatingwebhookconfigurations",
"vcunav",
"velero",
"virt",
"volumesnapshot",
"vpas",
"vulnerabilitymanifests",
"vulnerabilitymanifestsummary",
"vulns",
"vxlan",
"wffc",
"wgpolicyk",
"wildcarded",
"wlid",
"wmem",
"workloadconfigurationscans",
"workloadconfigurationscansummary",
"worktrees",
"yannh",
"yubikey",
"yzwvjjmcyfnl",
"zizmor"
]
}
You can also copy-paste megalinter-reports/.cspell.json at the root of your repository
(Truncated to last 6666 characters out of 546211)
⚠️ COPYPASTE / jscpd - 184 errors
tokens)
scripts/tests/refresh-flux-ghcr-auth/rollout_safety_test.go [468:57 - 485:5]
Clone found (go)
- scripts/tests/refresh-flux-ghcr-auth/rollout_safety_test.go [492:77 - 508:11] (17 lines, 118 tokens)
scripts/tests/refresh-flux-ghcr-auth/rollout_safety_test.go [519:110 - 535:11]
Clone found (bash)
- scripts/tests/test-cilium-bandwidth-manager-component.sh [9:1 - 54:2] (46 lines, 202 tokens)
scripts/tests/test-cilium-homogeneous-devices-activation.sh [9:1 - 54:2]
Clone found (bash)
- scripts/tests/test-cilium-bandwidth-manager-component.sh [52:5 - 72:2] (21 lines, 67 tokens)
scripts/tests/test-cilium-homogeneous-devices-activation.sh [80:23 - 100:2]
Clone found (bash)
- scripts/tests/test-cilium-bandwidth-manager-component.sh [54:1 - 72:2] (19 lines, 65 tokens)
scripts/tests/test-opencost-usage-scraper.sh [15:1 - 33:2]
Clone found (bash)
- scripts/tests/test-cilium-mutual-auth-policy.sh [28:29 - 41:10] (14 lines, 78 tokens)
scripts/tests/test-cilium-mutual-auth-policy.sh [79:33 - 92:10]
Clone found (bash)
- scripts/tests/test-cilium-mutual-auth-policy.sh [98:33 - 107:54] (10 lines, 57 tokens)
scripts/tests/test-cilium-mutual-auth-policy.sh [118:32 - 127:54]
Clone found (bash)
- scripts/tests/test-crossplane-sync-exporter.sh [56:3 - 118:11] (63 lines, 338 tokens)
scripts/tests/test-opencost-usage-scraper.sh [22:45 - 84:11]
Clone found (bash)
- scripts/tests/test-refresh-flux-ghcr-auth-safety.sh [177:5 - 185:51] (9 lines, 76 tokens)
scripts/tests/test-refresh-flux-ghcr-auth-safety.sh [186:5 - 194:51]
Clone found (python)
- scripts/tests/test_validate_homepage_bookmarks.py [46:57 - 54:54] (9 lines, 58 tokens)
scripts/tests/test_validate_homepage_bookmarks.py [100:53 - 109:54]
Clone found (go)
- scripts/validate-dr-signing/main_test.go [1007:13 - 1015:2] (9 lines, 51 tokens)
scripts/validate-dr-signing/main_test.go [1075:12 - 1083:2]
Clone found (go)
- scripts/validate-eks-ci-role-policy/main_test.go [244:50 - 249:24] (6 lines, 103 tokens)
scripts/validate-eks-ci-role-policy/main_test.go [756:31 - 761:24]
Clone found (go)
- scripts/validate-eks-ci-role-policy/main_test.go [276:14 - 282:4] (7 lines, 115 tokens)
scripts/validate-eks-ci-role-policy/main_test.go [603:43 - 609:4]
Clone found (go)
- scripts/validate-eks-ci-role-policy/main_test.go [302:13 - 311:7] (10 lines, 158 tokens)
scripts/validate-eks-ci-role-policy/main_test.go [828:18 - 837:7]
Clone found (go)
- scripts/validate-eks-ci-role-policy/main_test.go [311:1 - 316:8] (6 lines, 93 tokens)
scripts/validate-eks-ci-role-policy/main_test.go [838:1 - 843:8]
Clone found (go)
- scripts/validate-eks-ci-role-policy/main_test.go [388:5 - 393:2] (6 lines, 82 tokens)
scripts/validate-eks-ci-role-policy/main_test.go [574:8 - 579:9]
Clone found (go)
- scripts/validate-eks-ci-role-policy/main_test.go [389:1 - 399:23] (11 lines, 220 tokens)
scripts/validate-eks-ci-role-policy/main_test.go [666:60 - 677:3]
Clone found (go)
- scripts/validate-eks-ci-role-policy/main_test.go [393:15 - 404:2] (12 lines, 185 tokens)
scripts/validate-eks-ci-role-policy/main_test.go [494:17 - 505:2]
Clone found (go)
- scripts/validate-eks-ci-role-policy/main_test.go [440:15 - 451:12] (12 lines, 264 tokens)
scripts/validate-eks-ci-role-policy/main_test.go [649:1 - 662:3]
Clone found (go)
- scripts/validate-eks-ci-role-policy/main_test.go [503:2 - 509:19] (7 lines, 89 tokens)
scripts/validate-eks-ci-role-policy/main_test.go [688:7 - 694:19]
Clone found (go)
- scripts/validate-eks-ci-role-policy/main_test.go [503:2 - 509:33] (7 lines, 103 tokens)
scripts/validate-eks-ci-role-policy/main_test.go [1013:58 - 1019:33]
Clone found (go)
- scripts/validate-eks-ci-role-policy/main_test.go [503:2 - 509:4] (7 lines, 74 tokens)
scripts/validate-eks-ci-role-policy/main_test.go [1126:5 - 1132:4]
Clone found (go)
- scripts/validate-eks-ci-role-policy/main_test.go [596:30 - 601:8] (6 lines, 50 tokens)
scripts/validate-eks-ci-role-policy/main_test.go [623:44 - 628:8]
Clone found (go)
- scripts/validate-eks-ci-role-policy/main_test.go [710:22 - 716:2] (7 lines, 135 tokens)
scripts/validate-eks-ci-role-policy/main_test.go [1212:22 - 1218:2]
Clone found (go)
- scripts/validate-eks-ci-role-policy/main_test.go [951:33 - 959:11] (9 lines, 118 tokens)
scripts/validate-eks-ci-role-policy/main_test.go [963:130 - 971:11]
Clone found (go)
- scripts/validate-eks-ci-role-policy/main_test.go [1158:47 - 1163:2] (6 lines, 166 tokens)
scripts/validate-eks-ci-role-policy/main_test.go [1238:46 - 1243:2]
Clone found (go)
- scripts/validate-flux-verify/instance_test.go [109:62 - 126:31] (18 lines, 57 tokens)
scripts/validate-flux-verify/instance_test.go [161:57 - 178:31]
Clone found (go)
- scripts/validate-flux-verify/instance_test.go [109:62 - 128:35] (20 lines, 62 tokens)
scripts/validate-flux-verify/instance_test.go [198:55 - 217:26]
Clone found (python)
- scripts/validate-naming.py [126:52 - 132:25] (7 lines, 53 tokens)
scripts/validate-naming.py [171:82 - 177:29]
┌────────┬────────────────┬─────────────┬──────────────┬──────────────┬──────────────────┬───────────────────┐
│ Format │ Files analyzed │ Total lines │ Total tokens │ Clones found │ Duplicated lines │ Duplicated tokens │
├────────┼────────────────┼─────────────┼──────────────┼──────────────┼──────────────────┼───────────────────┤
│ bash │ 35 │ 11113 │ 43325 │ 20 │ 295 (2.65%) │ 1797 (4.15%) │
├────────┼────────────────┼─────────────┼──────────────┼──────────────┼──────────────────┼───────────────────┤
│ go │ 36 │ 29604 │ 179192 │ 98 │ 796 (2.69%) │ 7549 (4.21%) │
├────────┼────────────────┼─────────────┼──────────────┼──────────────┼──────────────────┼───────────────────┤
│ python │ 4 │ 807 │ 5606 │ 2 │ 14 (1.73%) │ 111 (1.98%) │
├────────┼────────────────┼─────────────┼──────────────┼──────────────┼──────────────────┼───────────────────┤
│ txt │ 57 │ 3378 │ 109125 │ 64 │ 2417 (71.55%) │ 80219 (73.51%) │
├────────┼────────────────┼─────────────┼──────────────┼──────────────┼──────────────────┼───────────────────┤
│ Total: │ 132 │ 44902 │ 337248 │ 184 │ 3522 (7.84%) │ 89676 (26.59%) │
└────────┴────────────────┴─────────────┴──────────────┴──────────────┴──────────────────┴───────────────────┘
Found 184 clones.
HTML report saved to megalinter-reports/copy-paste/jscpd-report.html
ERROR: jscpd found too many duplicates (7.8%) over threshold (0.0%)
time: 1.23s
(Truncated to last 6666 characters out of 39152)
⚠️ MARKDOWN / markdownlint - 63 errors
ould have a language specified [Context: "```"]
AGENTS.md:101:401 error MD013/line-length Line length [Expected: 400; Actual: 1769]
AGENTS.md:105:401 error MD013/line-length Line length [Expected: 400; Actual: 1126]
AGENTS.md:106:401 error MD013/line-length Line length [Expected: 400; Actual: 1447]
AGENTS.md:159:401 error MD013/line-length Line length [Expected: 400; Actual: 649]
AGENTS.md:161:401 error MD013/line-length Line length [Expected: 400; Actual: 971]
AGENTS.md:188:401 error MD013/line-length Line length [Expected: 400; Actual: 970]
AGENTS.md:191:401 error MD013/line-length Line length [Expected: 400; Actual: 453]
AGENTS.md:210:401 error MD013/line-length Line length [Expected: 400; Actual: 1360]
AGENTS.md:279:401 error MD013/line-length Line length [Expected: 400; Actual: 491]
AGENTS.md:280:401 error MD013/line-length Line length [Expected: 400; Actual: 468]
AGENTS.md:286:401 error MD013/line-length Line length [Expected: 400; Actual: 532]
AGENTS.md:288:401 error MD013/line-length Line length [Expected: 400; Actual: 523]
AGENTS.md:291:401 error MD013/line-length Line length [Expected: 400; Actual: 613]
AGENTS.md:292:401 error MD013/line-length Line length [Expected: 400; Actual: 714]
AGENTS.md:296:401 error MD013/line-length Line length [Expected: 400; Actual: 502]
AGENTS.md:300:401 error MD013/line-length Line length [Expected: 400; Actual: 441]
AGENTS.md:305:401 error MD013/line-length Line length [Expected: 400; Actual: 427]
AGENTS.md:408:401 error MD013/line-length Line length [Expected: 400; Actual: 1139]
AGENTS.md:410:401 error MD013/line-length Line length [Expected: 400; Actual: 1240]
AGENTS.md:415:401 error MD013/line-length Line length [Expected: 400; Actual: 430]
AGENTS.md:426:401 error MD013/line-length Line length [Expected: 400; Actual: 1137]
AGENTS.md:437:401 error MD013/line-length Line length [Expected: 400; Actual: 790]
AGENTS.md:442:401 error MD013/line-length Line length [Expected: 400; Actual: 515]
CLAUDE.md:1 error MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "@AGENTS.md"]
docs/dr/alerting.md:226:28 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
docs/dr/crypto-custody.md:22:389 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
docs/dr/crypto-custody.md:23:264 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
docs/dr/crypto-custody.md:27:35 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
docs/dr/crypto-custody.md:27:161 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
docs/dr/crypto-custody.md:27:239 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
docs/dr/crypto-custody.md:114 error MD024/no-duplicate-heading Multiple headings with the same content [Context: "Custody recommendations"]
docs/dr/crypto-custody.md:245 error MD024/no-duplicate-heading Multiple headings with the same content [Context: "Custody recommendations"]
docs/dr/crypto-custody.md:251 error MD024/no-duplicate-heading Multiple headings with the same content [Context: "What to do if it leaks"]
docs/dr/crypto-custody.md:258 error MD024/no-duplicate-heading Multiple headings with the same content [Context: "What to do if it is *lost* (no..."]
docs/dr/restore-drill.md:42 error MD028/no-blanks-blockquote Blank line inside blockquote
docs/dr/runbook.md:23:102 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
docs/dr/runbook.md:23:487 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
docs/dr/runbook.md:34 error MD028/no-blanks-blockquote Blank line inside blockquote
docs/dr/runbook.md:41 error MD028/no-blanks-blockquote Blank line inside blockquote
docs/dr/runbook.md:50 error MD028/no-blanks-blockquote Blank line inside blockquote
docs/dr/runbook.md:489:92 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
docs/dr/spire-server-ha.md:93 error MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"]
docs/dr/velero-cnpg.md:11 error MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"]
docs/dr/velero-cnpg.md:56:78 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
docs/dr/velero-cnpg.md:56:166 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
docs/dr/velero-cnpg.md:57:78 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
docs/dr/velero-cnpg.md:57:227 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
docs/dr/velero-cnpg.md:58:78 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
docs/dr/velero-cnpg.md:58:166 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
docs/github-management.md:38:401 error MD013/line-length Line length [Expected: 400; Actual: 419]
docs/github-management.md:40:401 error MD013/line-length Line length [Expected: 400; Actual: 522]
docs/node-autoscaling.md:14 error MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"]
docs/oidc-kubectl.md:95 error MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"]
docs/runtime-security.md:114 error MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"]
docs/rwx-storage.md:9 error MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"]
docs/unifi-management.md:14 error MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"]
docs/unifi-management.md:62 error MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"]
README.md:116:401 error MD013/line-length Line length [Expected: 400; Actual: 540]
README.md:237:32 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
README.md:237:36 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
(Truncated to last 6666 characters out of 6993)
⚠️ REPOSITORY / trivy - 1 error
astructure/vertical-pod-autoscalers/hubble-relay.yaml:7-11
────────────────────────────────────────
7 ┌ spec:
8 │ targetRef:
9 │ apiVersion: apps/v1
10 │ kind: Deployment
11 └ name: hubble-relay
────────────────────────────────────────
k8s/providers/hetzner/infrastructure/vertical-pod-autoscalers/hubble-ui.yaml (kubernetes)
=========================================================================================
Tests: 117 (SUCCESSES: 116, FAILURES: 1)
Failures: 1 (UNKNOWN: 0, LOW: 0, MEDIUM: 1, HIGH: 0, CRITICAL: 0)
KSV-0037 (MEDIUM): VerticalPodAutoscaler 'hubble-ui' should not be set with 'kube-system' namespace
════════════════════════════════════════
ensure that user resources are not placed in kube-system namespace
See https://avd.aquasec.com/misconfig/ksv-0037
────────────────────────────────────────
k8s/providers/hetzner/infrastructure/vertical-pod-autoscalers/hubble-ui.yaml:7-11
────────────────────────────────────────
7 ┌ spec:
8 │ targetRef:
9 │ apiVersion: apps/v1
10 │ kind: Deployment
11 └ name: hubble-ui
────────────────────────────────────────
k8s/providers/hetzner/infrastructure/vertical-pod-autoscalers/metrics-server.yaml (kubernetes)
==============================================================================================
Tests: 117 (SUCCESSES: 116, FAILURES: 1)
Failures: 1 (UNKNOWN: 0, LOW: 0, MEDIUM: 1, HIGH: 0, CRITICAL: 0)
KSV-0037 (MEDIUM): VerticalPodAutoscaler 'metrics-server' should not be set with 'kube-system' namespace
════════════════════════════════════════
ensure that user resources are not placed in kube-system namespace
See https://avd.aquasec.com/misconfig/ksv-0037
────────────────────────────────────────
k8s/providers/hetzner/infrastructure/vertical-pod-autoscalers/metrics-server.yaml:7-11
────────────────────────────────────────
7 ┌ spec:
8 │ targetRef:
9 │ apiVersion: apps/v1
10 │ kind: Deployment
11 └ name: metrics-server
────────────────────────────────────────
k8s/providers/hetzner/infrastructure/vertical-pod-autoscalers/snapshot-controller.yaml (kubernetes)
===================================================================================================
Tests: 117 (SUCCESSES: 116, FAILURES: 1)
Failures: 1 (UNKNOWN: 0, LOW: 0, MEDIUM: 1, HIGH: 0, CRITICAL: 0)
KSV-0037 (MEDIUM): VerticalPodAutoscaler 'snapshot-controller' should not be set with 'kube-system' namespace
════════════════════════════════════════
ensure that user resources are not placed in kube-system namespace
See https://avd.aquasec.com/misconfig/ksv-0037
────────────────────────────────────────
k8s/providers/hetzner/infrastructure/vertical-pod-autoscalers/snapshot-controller.yaml:7-11
────────────────────────────────────────
7 ┌ spec:
8 │ targetRef:
9 │ apiVersion: apps/v1
10 │ kind: Deployment
11 └ name: snapshot-controller
────────────────────────────────────────
k8s/providers/hetzner/infrastructure/vertical-pod-autoscalers/spire-agent.yaml (kubernetes)
===========================================================================================
Tests: 117 (SUCCESSES: 116, FAILURES: 1)
Failures: 1 (UNKNOWN: 0, LOW: 0, MEDIUM: 1, HIGH: 0, CRITICAL: 0)
KSV-0037 (MEDIUM): VerticalPodAutoscaler 'spire-agent' should not be set with 'kube-system' namespace
════════════════════════════════════════
ensure that user resources are not placed in kube-system namespace
See https://avd.aquasec.com/misconfig/ksv-0037
────────────────────────────────────────
k8s/providers/hetzner/infrastructure/vertical-pod-autoscalers/spire-agent.yaml:9-13
────────────────────────────────────────
9 ┌ spec:
10 │ targetRef:
11 │ apiVersion: apps/v1
12 │ kind: DaemonSet
13 └ name: spire-agent
────────────────────────────────────────
k8s/providers/hetzner/infrastructure/vertical-pod-autoscalers/spire-server.yaml (kubernetes)
============================================================================================
Tests: 117 (SUCCESSES: 116, FAILURES: 1)
Failures: 1 (UNKNOWN: 0, LOW: 0, MEDIUM: 1, HIGH: 0, CRITICAL: 0)
KSV-0037 (MEDIUM): VerticalPodAutoscaler 'spire-server' should not be set with 'kube-system' namespace
════════════════════════════════════════
ensure that user resources are not placed in kube-system namespace
See https://avd.aquasec.com/misconfig/ksv-0037
────────────────────────────────────────
k8s/providers/hetzner/infrastructure/vertical-pod-autoscalers/spire-server.yaml:7-11
────────────────────────────────────────
7 ┌ spec:
8 │ targetRef:
9 │ apiVersion: apps/v1
10 │ kind: StatefulSet
11 └ name: spire-server
────────────────────────────────────────
k8s/providers/hetzner/infrastructure/vertical-pod-autoscalers/tetragon-operator.yaml (kubernetes)
=================================================================================================
Tests: 117 (SUCCESSES: 116, FAILURES: 1)
Failures: 1 (UNKNOWN: 0, LOW: 0, MEDIUM: 1, HIGH: 0, CRITICAL: 0)
KSV-0037 (MEDIUM): VerticalPodAutoscaler 'tetragon-operator' should not be set with 'kube-system' namespace
════════════════════════════════════════
ensure that user resources are not placed in kube-system namespace
See https://avd.aquasec.com/misconfig/ksv-0037
────────────────────────────────────────
k8s/providers/hetzner/infrastructure/vertical-pod-autoscalers/tetragon-operator.yaml:7-11
────────────────────────────────────────
7 ┌ spec:
8 │ targetRef:
9 │ apiVersion: apps/v1
10 │ kind: Deployment
11 └ name: tetragon-operator
────────────────────────────────────────
k8s/providers/hetzner/infrastructure/vertical-pod-autoscalers/tetragon.yaml (kubernetes)
========================================================================================
Tests: 117 (SUCCESSES: 116, FAILURES: 1)
Failures: 1 (UNKNOWN: 0, LOW: 0, MEDIUM: 1, HIGH: 0, CRITICAL: 0)
KSV-0037 (MEDIUM): VerticalPodAutoscaler 'tetragon' should not be set with 'kube-system' namespace
════════════════════════════════════════
ensure that user resources are not placed in kube-system namespace
See https://avd.aquasec.com/misconfig/ksv-0037
────────────────────────────────────────
k8s/providers/hetzner/infrastructure/vertical-pod-autoscalers/tetragon.yaml:9-13
────────────────────────────────────────
9 ┌ spec:
10 │ targetRef:
11 │ apiVersion: apps/v1
12 │ kind: DaemonSet
13 └ name: tetragon
────────────────────────────────────────
📣 Notices:
- Version 0.73.0 of Trivy is now available, current version is 0.71.2
To suppress version checks, run Trivy scans with the --skip-version-check flag
(Truncated to last 6666 characters out of 341441)
✅ Linters with no issues
actionlint, betterleaks, git_diff, golangci-lint, grype, jsonlint, lychee, osv-scanner, prettier, prettier, revive, secretlint, shellcheck, shfmt, syft, trivy-sbom, trufflehog, v8r, v8r, yamllint, zizmor
Notices
📣 MegaLinter 9.5.0 is out! Discover the new features and security recommendations in the release announcement. (Skip this info by defining SECURITY_SUGGESTIONS: false)
See detailed reports in MegaLinter artifacts

Show us your support by starring ⭐ the repository
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
The tenant Role narrowing moves the aggregate rendered-surface
fingerprint. Re-measured per the constant's own re-approval ritual:
515 documents both sides, membership set difference zero in both
directions, 133 grant-bearing documents unchanged, every aws-bearing
line byte-identical.
Part of #2787
🤖 Generated by the Agentic Engineer
Verification record
RED → GREEN
checkov -f k8s/bases/apps/github-config/role.yaml — 3 passed / 1 failed (CKV_K8S_49) before,
4 passed / 0 failed after.
The guard was ablated, not just run green
Each arm changed exactly one thing and fired its own named assertion; the restored tree returned
green:
| Ablation |
Assertion that fired |
drop issuelabels from the Role |
issuelabels… is activated but the Role does not grant it |
grant an unactivated teamsettings |
the Role grants teamsettings…, which no MRAP activates |
restore resources: ["*"] |
grants a resources wildcard…; enumerate the activated kinds |
| typo the policy query |
read 0 activated…; expected at least 5 |
| typo the Role query |
read 0 granted…; expected at least 5 |
| typo both (the true vacuous case) |
fails closed — does not pass on two empty sets |
The glob is end-anchored and verified per-case: repo.github.m.upbound.io matches;
github.m.upbound.io (the ProviderConfig group, deliberately out of scope),
notgithub.m.upbound.io and repo.github.m.upbound.io.evil do not.
Exercised as a user, against live prod
The tenant's Flux Kustomization inventory holds 10 distinct group/kind combinations — every one
is still granted by the enumerated rules, so the narrowing cannot break the running app.
branchprotections and repositorypermissions are activated but not yet deployed; both are granted,
which is what the parity invariant asserts.
Authorization pin re-approval
The surface fingerprint moved, as designed. Re-measured to the standard the constant's own note
demands — 515 documents on both sides, membership set difference zero in BOTH directions over
apiVersion|kind|namespace|name (not counts, which cannot see a rename), 133 grant-bearing
documents unchanged, and every aws-bearing line byte-identical. Exactly one entry's content
moved: this Role. Recomputed with the pinned renderer (kubectl v1.36.2 / kustomize v5.8.1,
checksum-verified), so the value is not a local-toolchain artifact.
The consuming CI job ran rather than skipped: 🧪 Validate Manifests → step
🔑 Validate github-config Role covers the activated MR kinds → success.
DevEx
The Role and the activation policy already had to change together — the policy's comments assert the
coupling in prose. This makes the omission a CI failure that names the missing kind and the file to
edit, instead of a runtime apply error inside a separately published OCI artifact.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
🤖 Generated by the Agentic Engineer
CI red here is a GitHub Actions incident, not this change.
All four failing jobs at head 6bec724f09 — 🧪 Validate Manifests, 🖋️ Validate Publication Contract, 🔀 Enable Auto-Merge, 🔍 Scan for Workflow Vulnerabilities — failed with the identical
signature, and none of them reached a step that reads this diff:
Failed to resolve action download info. Error: Service Unavailable
##[error]Service Unavailable
githubstatus.com confirms an active partial outage of GitHub Actions (opened 15:22Z; at 15:45Z
"some workflow runs are failing to start or failing partway through, and some requests to the Actions
REST API are returning errors"; still unresolved at 15:53Z), including unexpected workflow rate
limiting.
I re-ran the failed jobs once, then stopped — re-running into an active outage is futile and the
incident notes rate limiting, so repeated attempts make things worse. No re-queue, no review request
until Actions recovers; a review spent on a head whose CI cannot complete would only have to be
re-secured afterwards.
Next tick: confirm the incident is resolved, re-run whatever is still red, and only then request a
review (CodeRabbit first).
Self-review of the diff is done and found no defect. One thing I checked explicitly, because it
looked wrong: select(. == "*.github.m.upbound.io") in the new parity script reads like exact string
equality, which would have made the check vacuous. It is not — yq's == glob-matches on strings
(unlike jq's). Verified on v4.53.3 against a fixture with a negative control: it matches
repositories.repo.github.m.upbound.io and correctly excludes both the bare github.m.upbound.io
ProviderConfig group and an unrelated *.aws.upbound.io. The script and its comment are accurate.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
🤖 Generated by the Agentic Engineer
The 9 red checks at 6bec724f09 are a GitHub Actions outage, not this change
Every one of them failed in the Set up job step — before any repository code ran. The
annotation is:
Failed to resolve action download info. Service Unavailable
Corroborated independently by GitHub's own status API, which reports the Actions component in
partial_outage at the time of writing.
Affected: Analyze (actions), 🖋️ Validate Publication Contract, 📦 Tidy,
🧹 Lint - golangci-lint, 🧪 Validate Manifests, 🔍 Dead Code Analysis, 🏗️ Build, 🧪 Test,
📊 Code Coverage.
What did complete, before the outage, is the evidence that matters:
🔐 Validate EKS Authorization → SUCCESS at this head, so the re-approved surface fingerprint
is correct in CI and not a local-toolchain artifact.
- On the previous head
156a38d3f, 🧪 Validate Manifests → success, with the step
🔑 Validate github-config Role covers the activated MR kinds → success. The only change since
is the main.go constant plus its comment.
gh run rerun --failed is currently refused (cannot be retried / already running), which is
consistent with the outage. No re-queue attempt beyond that: re-running into a degraded Actions
service just burns minutes. This needs a clean wave once the outage clears — no code change is
implied, and none has been made.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
🤖 Generated by the Agentic Engineer
Self-reviewed at this head, and the central invariant is verified behaviourally against the live
cluster, not just read off the diff. Every enumerated resource matches the kinds actually activated
as CRDs on prod, group for group:
| apiGroup |
live CRDs |
enumerated in the Role |
repo.github.m.upbound.io |
branchprotections, defaultbranches, issuelabels, repositories, repositoryrulesets |
same 5 |
team.github.m.upbound.io |
teammemberships, teamrepositories, teams |
same 3 |
actions.github.m.upbound.io |
repositorypermissions |
same 1 |
enterprise.github.m.upbound.io |
organizationrulesets |
same 1 |
github.m.upbound.io |
providerconfigs, providerconfigusages, clusterproviderconfigs |
providerconfigs only |
The github.m.upbound.io row is the deliberate one and it checks out: ProviderConfigUsage is
written by the provider controller rather than this ServiceAccount, and ClusterProviderConfig is
cluster-scoped so a namespaced Role could not grant it regardless. Excluding both is correct.
No P0/P1 from my own pass. Note that every check on this head is CANCELLED from the active GitHub
Actions outage rather than from a defect, so CI has not validated anything yet — I am requesting
review in parallel because CodeRabbit does not depend on Actions and the head will not move meanwhile.
This PR stays a draft until CI actually runs green.
@coderabbitai review
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
coderabbitai
Bot
commented
Aug 6, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|
@devantler I will review the changes at head 6bec724f09753c7d9bff7bbabd550a64ec0803dc.
✅ Action performed
Review finished.
Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
coderabbitai
Bot
commented
Aug 6, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|

📝 Walkthrough
Walkthrough
The GitHub Config Role replaces wildcard GitHub API resources with explicit managed-resource kinds and retains explicit ProviderConfig access. A Bash test compares Role permissions with the managed-resource activation policy and fails on invalid or mismatched sets. CI runs ShellCheck and the parity test for Kubernetes changes. The approved authorization-surface fingerprint is updated.
Possibly related PRs
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
| Check name |
Status |
Explanation |
| Linked Issues check |
✅ Passed |
The changes satisfy #3003 by enumerating Role resources, preserving access, adding bidirectional parity validation, and failing closed on empty queries. |
| Out of Scope Changes check |
✅ Passed |
The CI parity test and authorization fingerprint update directly support the RBAC narrowing objective and introduce no unrelated changes. |
| Docstring Coverage |
✅ Passed |
No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. |
| Title check |
✅ Passed |
The title clearly and concisely describes the main change: replacing wildcard permissions with enumerated managed-resource kinds. |
| Description check |
✅ Passed |
The description directly explains the RBAC restriction, CI parity check, production verification, and linked issue context. |
✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
- Create stacked PR
- Commit on current branch
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
❤️ Share
Comment @coderabbitai help to get the list of available commands.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
🤖 Generated by the Agentic Engineer
Readiness record
Tried and evaluated against the live cluster. Re-ran the parity claim directly against
admin@prod rather than trusting the CI test alone:
kubectl get managedresourceactivationpolicy -o json | jq -r '.items[].spec.activate[]' | grep -i github
returns 10 activated GitHub managed-resource kinds. The Role in this PR enumerates 10, and
they match one-for-one across all four API groups:
| API group |
Activated live |
Enumerated in Role |
repo.github.m.upbound.io |
repositories, defaultbranches, branchprotections, repositoryrulesets, issuelabels |
same 5 |
team.github.m.upbound.io |
teams, teammemberships, teamrepositories |
same 3 |
actions.github.m.upbound.io |
repositorypermissions |
same 1 |
enterprise.github.m.upbound.io |
organizationrulesets |
same 1 |
No activated kind is ungranted, so the wildcard removal cannot cost the tenant an apply.
The one red check is infrastructure, not this change. Analyze (actions) failed at 15:47Z with
Failed to resolve action download info. Error: Service Unavailable after two retries — the GitHub
Actions incident, before any action of this workflow ran. The job refuses re-run
(This workflow run cannot be retried). The repository's only required status check,
CI - Required Checks, is green at this head, as is the added parity test.
Review: CodeRabbit completed at this head with no actionable findings and 5/5 pre-merge checks.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
coderabbitai
Bot
commented
Aug 7, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|
@devantler I will review the changes at head 769f4021e35480216e132fd9009640c430c91e09.
⚠️ Action not completed
Review rate limited.
Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
🤖 Generated by the Agentic Engineer
@codex review
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
🤖 Generated by the Agentic Engineer
CodeRabbit and Codex are both quota-limited at this head. Requesting Cursor Bugbot next, per lane priority. The bare trigger follows in the next comment (Bugbot exact-matches the whole comment body).
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Bugbot couldn't run - usage limit reached
Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.
A user or team admin can review and increase usage limits in the Cursor dashboard.
(requestId: serverGenReqId_619f58af-79a9-4437-99e1-33ec34dc9cbe)
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤖 Generated by the Agentic Engineer
Self-review (fallback — CodeRabbit, Codex and Cursor Bugbot unavailable)
Reviewed commit: 769f4021e35480216e132fd9009640c430c91e09
All three external lanes were requested at this head, in priority order, and none delivered a review.
Each is a provider quota state, not a verdict on this change, and none states a usable retry window:
- CodeRabbit —
Review rate limited; its comment reads "you've reached your PR review limit, so we couldn't start this review" (00:38Z).
- Codex — "You have reached your Codex usage limits for code reviews" (00:44Z).
- Cursor Bugbot — check-run
neutral with output.title: Error, comment "Bugbot couldn't run - usage limit reached" (00:45Z). The Error title means the run never started, as distinct from a review that found nothing.
What I checked, behaviourally
Parity against the live cluster. kubectl --context admin@prod reports 10 activated GitHub
managed-resource kinds; the Role enumerates 10, matching one-for-one across all four API groups.
No activated kind is left ungranted, so removing the wildcard cannot cost the tenant an apply.
The new parity test actually enforces, in both directions. Run at this head it reports
grants exactly the 10 activated GitHub managed-resource kinds. Three ablations, each naming the
assertion expected to fire:
| Ablation |
Expected |
Result |
Drop a granted kind (issuelabels) |
"activated but the Role does not grant it" |
fired, naming the kind |
| Grant a kind nothing activates |
"which no ManagedResourceActivationPolicy activates" |
fired, naming the kind |
Restore resources: ['*'] |
the explicit wildcard guard |
fired |
The file restores clean and the test passes again afterwards, so the ablations were reversible and
the pass is not stale. The script's fail-closed floors (< 5 on either side) mean a vacuous read
from a yq change or a path typo errors rather than comparing two empty sets.
Direction of the change. Strictly a tightening: every resource the new rules admit, the wildcard
already admitted. providerconfigs is added under the bare github.m.upbound.io group for the
ProviderConfig the tenant applies; that group is deliberately outside the parity check because it
carries no managed resource, and ProviderConfigUsage is correctly left out as controller-written.
CI at this head: 0 failing, 0 pending, mergeStateStatus: CLEAN, 0 unresolved threads. The
earlier reds on this branch were inherited from main (#3009) and cleared when #3008 merged.
Verdict: no P0/P1 findings
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
🤖 Generated by the Agentic Engineer
Parked — do not re-queue. This PR is pentad-clear (CLEAN, green checks, 0 unresolved threads,
clean current-head review) and has still been evicted from the merge queue twice, at
2026-08-07T00:49Z and 02:12Z. Nothing is wrong with this change.
The blocker is repository-wide, not PR-specific: the root flux-system OCIRepository fails cosign
verification, so every merge_group deploy times out waiting for its artifact to be served and the
PR is evicted. Diagnosis and the structural fix are in #3013.
Re-queuing before that clears just repeats the eviction and burns a prod deploy plus a heal deploy
each time. Wait for the source to report SourceVerified=True.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Aug 9, 2026
devantler
added a commit
that referenced
this pull request
Aug 15, 2026
…-vulnerability
Resolves two conflicts:
- k8s/bases/apps/github-config/role.yaml — main #3004 already enumerated every
managed-resource kind explicitly, superseding this branch's split of the team
group out of a resources: ["*"] wildcard. Takes main's version and keeps only
the branch's explanatory comment, which now sits above main's team rule; the
branch's own team rule was a byte-identical duplicate of it.
- cluster-policies/kustomization.yaml — union of both new policy entries.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|