GeezerVison is showing github.com — security: pin the tenant RGD cosign subject to actions and a fixed ref by devantler · Pull Request #2821 · devantler-tech/platform
Conversation
🤖 Generated by the Agentic Engineer
Why
The tenant ResourceGraphDefinition is the template every new platform tenant is generated from, and its container-signature rule was still the old, loose one: it accepted the archived reusable-workflows repo as a valid signer, and it accepted an artifact signed from any ref — including a floating branch. The four live trust rules were tightened weeks ago; this copy was deliberately left behind because tightening it trips the authorization gate, which must be re-approved by hand.
So every tenant created since then has inherited the weak rule, and the earlier fix does not stick.
What
Brings the template's signer rule into line with the four live rules: only the shared actions workflow, and only when signed from a fixed commit or a release tag. Strictly a tightening — nothing the new rule accepts was rejected before.
Re-approves the two security fingerprints this necessarily moves, from a full measurement rather than by pasting the failing value: the rendered surface is identical in membership (509 documents both sides, zero added, removed or renamed) and exactly one entry's content moved — this RGD — whose rendered delta is the single subject: line. No permission-granting object changes anywhere in the surface.
Unblocks devantler-tech/gitops-tenant-template#117, whose contract test currently cannot pass in either direction because this file and the live rules disagree.
Fixes #2817
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
🤖 Generated by the Agentic Engineer
Per-entry membership measurement (the re-approval evidence)
main.go requires this before re-approving a moved hash, and #2817's stated blocker was that no Go toolchain was available to run it. That blocker is stale — Go 1.26.5 is installed on the agent host (symlinked 2026-07-26 17:29Z, ~4.5h after #2817 was filed), so the measurement ran in full.
Renderer: the CI-pinned kubectl v1.36.2 (kustomize v5.8.1), downloaded and SHA256-verified against the published checksum.
Control first: the validator passes on unmodified main (1b204ded) with this toolchain, which proves the local renderer reproduces CI's canonical hashes. Locally computed values are therefore authoritative, not guesses at what CI would say.
Membership — identical
|
base 1b204ded |
head |
| documents |
509 |
509 |
| added |
— |
0 |
| removed |
— |
0 |
| renamed |
— |
0 |
Content — exactly one entry moved
kro.run/v1alpha1|ResourceGraphDefinition|-|tenant.kro.run
and its rendered delta is a single line:
-subject: ^https://github\.com/devantler-tech/(reusable-workflows|actions)/\.github/workflows/publish-app\.yaml@.+$
+subject: ^https://github\.com/devantler-tech/actions/\.github/workflows/publish-app\.yaml@([0-9a-f]{40}|refs/tags/v.+)$
No Role, ClusterRole, RoleBinding, ClusterRoleBinding or ServiceAccount is added, removed or modified anywhere in the surface, and nothing granted to the aws/aws service account this validator protects is touched. The change is monotonic: every subject the new matcher accepts, the old one already accepted.
Two constants were re-approved from that one measurement — the individually pinned per-resource fingerprint for the RGD, and the aggregate expectedRenderedSurfaceSHA.
RED/GREEN
- GREEN —
go test ./scripts/validate-eks-ci-role-policy passes; go run ./scripts/validate-eks-ci-role-policy . reports the contract passed.
- RED — re-loosening the ref part back to
@.+$ is caught by both guards, so neither re-approval is vacuous:
unapproved rendered {…name:tenant.kro.run} fingerprint: 4f2c9654…
unapproved rendered authorization surface fingerprint: e0e0bf64…
Source restored and GREEN re-confirmed afterwards.
The unresolved Flux substitution lines in a failing run are diagnostic, not findings — main.go documents that they are emitted only alongside a mismatch to explain a hash that moved.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
⚠️ BASH / bash-exec - 1 error
Results of bash-exec linter (version 5.3.9)
See documentation on https://megalinter.io/9.6.0/descriptors/bash_bash_exec/
-----------------------------------------------
❌ [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/refresh-flux-ghcr-auth.sh
✅ [SUCCESS] scripts/run-ksail-prod-with-pull-auth.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/wait-for-platform-flux-revision.sh
⚠️ REPOSITORY / checkov - 70 errors
16 | - secretKey: red**********
Check: CKV_SECRET_6: "Base64 High Entropy String"
FAILED for resource: HIDDEN_BY_MEGALINTER File: /k8s/bases/apps/fleetdm/helm-release.yaml:328-329
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/secrets-policies/secrets-policy-index/git-secrets-6
328 | existingSecretPasswordKey: red**********
Check: CKV_SECRET_6: "Base64 High Entropy String"
FAILED for resource: HIDDEN_BY_MEGALINTER File: /k8s/bases/apps/headlamp/external-secret.yaml:15-16
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/secrets-policies/secrets-policy-index/git-secrets-6
15 | - secretKey: cli**********
Check: CKV_SECRET_6: "Base64 High Entropy String"
FAILED for resource: HIDDEN_BY_MEGALINTER File: /k8s/bases/apps/umami/helm-release.yaml:118-119
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/secrets-policies/secrets-policy-index/git-secrets-6
118 | existingSecret: umam**********
Check: CKV_SECRET_6: "Base64 High Entropy String"
FAILED for resource: HIDDEN_BY_MEGALINTER File: /k8s/bases/apps/wedding-app/external-secret-ghcr-auth.yaml:34-35
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/secrets-policies/secrets-policy-index/git-secrets-6
34 | - secretKey: dock**********
Check: CKV_SECRET_6: "Base64 High Entropy String"
FAILED for resource: HIDDEN_BY_MEGALINTER File: /k8s/bases/infrastructure/controllers/dex/external-secret.yaml:30-31
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/secrets-policies/secrets-policy-index/git-secrets-6
30 | - secretKey: cli**********
Check: CKV_SECRET_6: "Base64 High Entropy String"
FAILED for resource: HIDDEN_BY_MEGALINTER File: /k8s/bases/infrastructure/controllers/velero/helm-release.yaml:108-109
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/secrets-policies/secrets-policy-index/git-secrets-6
108 | existingSecret: veler**********
Check: CKV_SECRET_6: "Base64 High Entropy String"
FAILED for resource: HIDDEN_BY_MEGALINTER File: /k8s/bases/infrastructure/external-secrets/ghcr-auth.yaml:25-26
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/secrets-policies/secrets-policy-index/git-secrets-6
25 | - secretKey: dock**********
Check: CKV_SECRET_6: "Base64 High Entropy String"
FAILED for resource: HIDDEN_BY_MEGALINTER File: /k8s/bases/infrastructure/resource-graph-definitions/tenant/resource-graph-definition.yaml:166-167
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/secrets-policies/secrets-policy-index/git-secrets-6
166 | - secretKey: dock**********
Check: CKV_SECRET_6: "Base64 High Entropy String"
FAILED for resource: HIDDEN_BY_MEGALINTER File: /k8s/bases/infrastructure/vault-config/external-secret.yaml:15-16
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/secrets-policies/secrets-policy-index/git-secrets-6
15 | - secretKey: dex-**********
Check: CKV_SECRET_6: "Base64 High Entropy String"
FAILED for resource: HIDDEN_BY_MEGALINTER File: /k8s/bases/infrastructure/vault-seed/push-secret-seed-actual-budget-enablebanking.yaml:26-27
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/secrets-policies/secrets-policy-index/git-secrets-6
26 | secretKey: app**********
Check: CKV_SECRET_6: "Base64 High Entropy String"
FAILED for resource: HIDDEN_BY_MEGALINTER File: /k8s/bases/infrastructure/vault-seed/push-secret-seed-oauth2-proxy-cookie-secret.yaml:17-18
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/secrets-policies/secrets-policy-index/git-secrets-6
17 | secretKey: oauth2**********
Check: CKV_SECRET_6: "Base64 High Entropy String"
FAILED for resource: HIDDEN_BY_MEGALINTER File: /k8s/bases/infrastructure/vault-seed/push-secret-seed-r2-credentials.yaml:44-45
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/secrets-policies/secrets-policy-index/git-secrets-6
44 | secretKey: r2_a**********
Check: CKV_SECRET_6: "Base64 High Entropy String"
FAILED for resource: HIDDEN_BY_MEGALINTER File: /k8s/bases/infrastructure/vault-seed/push-secret-seed-r2-credentials.yaml:49-50
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/secrets-policies/secrets-policy-index/git-secrets-6
49 | secretKey: r2_se**********
Check: CKV_SECRET_6: "Base64 High Entropy String"
FAILED for resource: HIDDEN_BY_MEGALINTER File: /k8s/bases/infrastructure/vault-seed/push-secret-seed-velero-repo-credentials.yaml:36-37
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/secrets-policies/secrets-policy-index/git-secrets-6
36 | secretKey: repo**********
Check: CKV_SECRET_6: "Base64 High Entropy String"
FAILED for resource: HIDDEN_BY_MEGALINTER File: /k8s/bases/infrastructure/vault-seed/secret-actual-budget-encryption-placeholder.yaml:25-26
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/secrets-policies/secrets-policy-index/git-secrets-6
25 | password: PL**********
Check: CKV_SECRET_6: "Base64 High Entropy String"
FAILED for resource: HIDDEN_BY_MEGALINTER File: /k8s/providers/hetzner/apps/unifi/external-secret-wireguard.yaml:26-27
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/secrets-policies/secrets-policy-index/git-secrets-6
26 | - secretKey: pr**********
Check: CKV_SECRET_6: "Base64 High Entropy String"
FAILED for resource: HIDDEN_BY_MEGALINTER File: /k8s/providers/hetzner/apps/unifi/external-secret-wireguard.yaml:30-31
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/secrets-policies/secrets-policy-index/git-secrets-6
30 | - secretKey: pee**********
Check: CKV_SECRET_6: "Base64 High Entropy String"
FAILED for resource: HIDDEN_BY_MEGALINTER File: /k8s/providers/hetzner/infrastructure/cluster-issuers/cloudflare-api-token-external-secret.yaml:15-16
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/secrets-policies/secrets-policy-index/git-secrets-6
15 | - secretKey: ap**********
Check: CKV_SECRET_6: "Base64 High Entropy String"
FAILED for resource: HIDDEN_BY_MEGALINTER File: /k8s/providers/hetzner/infrastructure/external-dns/external-secret.yaml:24-25
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/secrets-policies/secrets-policy-index/git-secrets-6
24 | - secretKey: ap**********
github_actions scan results:
Passed checks: 175, Failed checks: 0, Skipped checks: 1
(Truncated to last 6666 characters out of 29064)
⚠️ SPELL / cspell - 1695 errors
"Bitwarden",
"CAROOT",
"CISA",
"CNPG",
"CNPG's",
"Ciphertext",
"Clusterwide",
"Cmdline",
"Coroot",
"Coroot's",
"Crossplane",
"Crossplane's",
"Crossview",
"DDNS",
"DNAT'd",
"Datapath",
"Descheduler",
"Devantler",
"ENOBUFS",
"FANOUT",
"Farah",
"Fulcio",
"Fulcio's",
"HSTS",
"Initialise",
"JSONSHA",
"KSAIL",
"KUBECONFIG",
"Karpenter",
"Kopia",
"Kubescape",
"Kubescape's",
"Kustomization",
"Kustomizations",
"Kyverno",
"Kyverno's",
"LOCALREGISTRY",
"LUKS",
"Opsgenie",
"PITR",
"Prereqs",
"Productionisation",
"Productionising",
"Rekor",
"SHFMT",
"SLSA",
"SNAT'd",
"SPIFFE",
"SPOF",
"SVID",
"SVIDs",
"SYFT",
"Shamir",
"Sigstore",
"Sigstore's",
"Synchronised",
"Syscall",
"TOCTOU",
"Testkube",
"Umami",
"VXLAN",
"Valkey",
"Velero",
"Velero's",
"Virt",
"WLANs",
"Yubi",
"ZIZMOR",
"alertmanager",
"alertname",
"analysed",
"anchore",
"antiaffinity",
"apid",
"apiserver",
"apiserver's",
"artipacked",
"ascoachingogvaner",
"ascoachingogvaner's",
"authorised",
"automerged",
"automount",
"autoscalers",
"backupstoragelocations",
"baselining",
"bcdfghjklmnpqrstvwxz",
"behaviour",
"behavioural",
"betterleaks",
"bitnami",
"blocklist",
"browsable",
"buildx",
"burstable",
"callsite",
"chokepoint",
"ciphertext",
"clickhouse",
"cloudnative",
"cloudprovider",
"clusterpolicies",
"clusterrolebindings",
"clusterroles",
"cmdline",
"cnpg",
"coderabbit",
"configmap",
"controlplane",
"controlplaneio",
"cooldown",
"coroot",
"crashloop",
"crashloops",
"creds",
"crossplane",
"crossview",
"curlrc",
"customise",
"cutover",
"cyclonedx",
"datapath",
"datreeio",
"dbname",
"defence",
"deletecollection",
"deploymentruntimeconfigs",
"descheduler",
"descheduling",
"devantler",
"diffable",
"dockerconfigjson",
"docstrings",
"dorny",
"dpkg",
"endgroup",
"envsubst",
"esac",
"etcdctl",
"externalsecret",
"externalsecrets",
"fanout",
"featureflagsource",
"fleetdm",
"gatewayapi",
"generatable",
"generatingpolicies",
"genkey",
"gethomepage",
"gitops",
"golangci",
"gosec",
"grjtvs",
"growfs",
"growpart",
"healthchecks",
"healthz",
"helmrelease",
"helmreleases",
"helmv",
"homelab",
"hostnames",
"httproute",
"imagetools",
"imranismail",
"inspectable",
"iscsi",
"keypair",
"kprobes",
"kptr",
"krew",
"ksail",
"ksail's",
"kubeconfig",
"kubeconform",
"kubeconform's",
"kubelet",
"kubelets",
"kubelogin",
"kubescape",
"kubespan",
"kubevirt",
"kubevuln",
"kustomization",
"kustomizations",
"kyverno",
"libc",
"libgnutls",
"lintable",
"livez",
"loadtester",
"luks",
"lycheeignore",
"machineconfig",
"materialise",
"materialised",
"materialises",
"maxage",
"maxbackup",
"maxsize",
"misconfigs",
"mktemp",
"mlock",
"mutatingpolicies",
"myapp",
"najsk",
"neighbour",
"netlink",
"netpol",
"netpols",
"nftables",
"nilnil",
"nodepod",
"nodeport",
"nolint",
"openbao",
"opencost",
"openfeature",
"oras",
"overprovisioning",
"parallelised",
"pasteable",
"permissioning",
"pipefail",
"policyignore",
"policyreports",
"portforward",
"preemptible",
"preservingly",
"prioritised",
"privesc",
"providerconfigs",
"pushsecret",
"pushsecrets",
"rdqwpktr",
"readyz",
"recognise",
"reconverges",
"regenerable",
"releaserc",
"rematerialise",
"rematerialised",
"repoint",
"repointed",
"repoints",
"repositoryrulesets",
"resizer",
"restrictor",
"retabbed",
"rmem",
"rolebindings",
"rollouts",
"rshared",
"scopeable",
"seccomp",
"secretbox",
"secretstore",
"seedable",
"serviceaccount",
"serviceaccounts",
"sgdisk",
"shellcheck",
"shfmt",
"siderolabs",
"siderolink",
"sigstore",
"skmde",
"spiffe",
"srole",
"startswith",
"statefulset",
"statemanager",
"stdlib",
"storageclass",
"syft",
"syft's",
"syscall",
"sysctls",
"talosconfig",
"talosctl",
"tanzu",
"templatesyncignore",
"thresholded",
"tostring",
"tracepoints",
"trixie",
"trustd",
"umami",
"umami's",
"uncertifiable",
"unifi",
"unmarshalling",
"unrecognised",
"unreviewed",
"unroutable",
"unshippable",
"untrackable",
"upbound",
"updatekeys",
"upjet",
"upstreaming",
"urlencode",
"userns",
"ushfn",
"validatable",
"vcunav",
"velero",
"volumesnapshot",
"vxlan",
"wffc",
"wgpolicyk",
"wmem",
"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 282621)
⚠️ COPYPASTE / jscpd - 84 errors
- .agents/skills/gitops-cluster-debug/assets/schemas/receiver-notification-v1.fields.txt [1:1 - 40:142] (40 lines, 1533 tokens)
.agents/skills/gitops-knowledge/assets/schemas/receiver-notification-v1.fields.txt [1:1 - 40:142]
Clone found (txt)
- .agents/skills/gitops-cluster-debug/assets/schemas/receiver-notification-v1.fields.txt [1:1 - 40:142] (40 lines, 1533 tokens)
.agents/skills/gitops-repo-audit/assets/schemas/receiver-notification-v1.fields.txt [1:1 - 40:142]
Clone found (txt)
- .agents/skills/gitops-cluster-debug/assets/schemas/resourceset-fluxcd-v1.fields.txt [1:1 - 62:177] (62 lines, 2110 tokens)
.agents/skills/gitops-knowledge/assets/schemas/resourceset-fluxcd-v1.fields.txt [1:1 - 62:177]
Clone found (txt)
- .agents/skills/gitops-cluster-debug/assets/schemas/resourceset-fluxcd-v1.fields.txt [1:1 - 62:177] (62 lines, 2110 tokens)
.agents/skills/gitops-repo-audit/assets/schemas/resourceset-fluxcd-v1.fields.txt [1:1 - 62:177]
Clone found (txt)
- .agents/skills/gitops-cluster-debug/assets/schemas/resourcesetinputprovider-fluxcd-v1.fields.txt [1:1 - 48:211] (48 lines, 1572 tokens)
.agents/skills/gitops-knowledge/assets/schemas/resourcesetinputprovider-fluxcd-v1.fields.txt [1:1 - 48:211]
Clone found (txt)
- .agents/skills/gitops-cluster-debug/assets/schemas/resourcesetinputprovider-fluxcd-v1.fields.txt [1:1 - 48:211] (48 lines, 1572 tokens)
.agents/skills/gitops-repo-audit/assets/schemas/resourcesetinputprovider-fluxcd-v1.fields.txt [1:1 - 48:211]
Clone found (bash)
- .agents/skills/gitops-repo-audit/scripts/check-deprecated.sh [57:1 - 71:2] (15 lines, 75 tokens)
.agents/skills/gitops-repo-audit/scripts/discover.sh [70:1 - 84:2]
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 [91:23 - 111:2]
Clone found (python)
- scripts/tests/test_refresh_flux_ghcr_auth.py [633:56 - 645:69] (13 lines, 81 tokens)
scripts/tests/test_refresh_flux_ghcr_auth.py [691:66 - 703:69]
Clone found (python)
- scripts/tests/test_refresh_flux_ghcr_auth.py [732:9 - 738:72] (7 lines, 66 tokens)
scripts/tests/test_refresh_flux_ghcr_auth.py [1153:9 - 1158:72]
Clone found (python)
- scripts/tests/test_refresh_flux_ghcr_auth.py [1274:58 - 1280:59] (7 lines, 52 tokens)
scripts/tests/test_refresh_flux_ghcr_auth.py [1327:43 - 1333: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-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 [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 [943:58 - 949: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 [1056:5 - 1062: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 [881:33 - 889:11] (9 lines, 118 tokens)
scripts/validate-eks-ci-role-policy/main_test.go [893:130 - 901:11]
Clone found (go)
- scripts/validate-eks-ci-role-policy/main_test.go [1088:47 - 1093:2] (6 lines, 166 tokens)
scripts/validate-eks-ci-role-policy/main_test.go [1142:46 - 1147:2]
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 │ 12 │ 2399 │ 9201 │ 3 │ 79 (3.29%) │ 344 (3.74%) │
├────────┼────────────────┼─────────────┼──────────────┼──────────────┼──────────────────┼───────────────────┤
│ go │ 7 │ 3966 │ 41938 │ 12 │ 84 (2.12%) │ 1569 (3.74%) │
├────────┼────────────────┼─────────────┼──────────────┼──────────────┼──────────────────┼───────────────────┤
│ python │ 5 │ 2551 │ 14243 │ 5 │ 38 (1.49%) │ 310 (2.18%) │
├────────┼────────────────┼─────────────┼──────────────┼──────────────┼──────────────────┼───────────────────┤
│ txt │ 57 │ 3378 │ 109125 │ 64 │ 2417 (71.55%) │ 80219 (73.51%) │
├────────┼────────────────┼─────────────┼──────────────┼──────────────┼──────────────────┼───────────────────┤
│ Total: │ 81 │ 12294 │ 174507 │ 84 │ 2618 (21.29%) │ 82442 (47.24%) │
└────────┴────────────────┴─────────────┴──────────────┴──────────────┴──────────────────┴───────────────────┘
Found 84 clones.
HTML report saved to megalinter-reports/copy-paste/jscpd-report.html
ERROR: jscpd found too many duplicates (21.3%) over threshold (0.0%)
time: 711.535ms
(Truncated to last 6666 characters out of 21206)
⚠️ MARKDOWN / markdownlint - 63 errors
hould 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:121:401 error MD013/line-length Line length [Expected: 400; Actual: 649]
AGENTS.md:123:401 error MD013/line-length Line length [Expected: 400; Actual: 971]
AGENTS.md:150:401 error MD013/line-length Line length [Expected: 400; Actual: 970]
AGENTS.md:153:401 error MD013/line-length Line length [Expected: 400; Actual: 453]
AGENTS.md:172:401 error MD013/line-length Line length [Expected: 400; Actual: 846]
AGENTS.md:241:401 error MD013/line-length Line length [Expected: 400; Actual: 491]
AGENTS.md:242:401 error MD013/line-length Line length [Expected: 400; Actual: 468]
AGENTS.md:248:401 error MD013/line-length Line length [Expected: 400; Actual: 532]
AGENTS.md:250:401 error MD013/line-length Line length [Expected: 400; Actual: 523]
AGENTS.md:253:401 error MD013/line-length Line length [Expected: 400; Actual: 613]
AGENTS.md:254:401 error MD013/line-length Line length [Expected: 400; Actual: 714]
AGENTS.md:258:401 error MD013/line-length Line length [Expected: 400; Actual: 502]
AGENTS.md:262:401 error MD013/line-length Line length [Expected: 400; Actual: 441]
AGENTS.md:267:401 error MD013/line-length Line length [Expected: 400; Actual: 427]
AGENTS.md:370:401 error MD013/line-length Line length [Expected: 400; Actual: 1012]
AGENTS.md:372:401 error MD013/line-length Line length [Expected: 400; Actual: 1240]
AGENTS.md:377:401 error MD013/line-length Line length [Expected: 400; Actual: 430]
AGENTS.md:388:401 error MD013/line-length Line length [Expected: 400; Actual: 1230]
AGENTS.md:399:401 error MD013/line-length Line length [Expected: 400; Actual: 790]
AGENTS.md:404: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:213: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:486: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 6992)
⚠️ REPOSITORY / trivy - 1 error
er/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: 118 (SUCCESSES: 116, FAILURES: 2)
Failures: 2 (UNKNOWN: 0, LOW: 1, 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
────────────────────────────────────────
KSV-0039 (LOW): A LimitRange policy with a default requests and limits for each container should be configured
════════════════════════════════════════
Ensure that a LimitRange policy is configured to limit resource usage for namespaces or nodes
See https://avd.aquasec.com/misconfig/ksv-0039
────────────────────────────────────────
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: 118 (SUCCESSES: 116, FAILURES: 2)
Failures: 2 (UNKNOWN: 0, LOW: 1, 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
────────────────────────────────────────
KSV-0039 (LOW): A LimitRange policy with a default requests and limits for each container should be configured
════════════════════════════════════════
Ensure that a LimitRange policy is configured to limit resource usage for namespaces or nodes
See https://avd.aquasec.com/misconfig/ksv-0039
────────────────────────────────────────
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: 118 (SUCCESSES: 116, FAILURES: 2)
Failures: 2 (UNKNOWN: 0, LOW: 1, 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
────────────────────────────────────────
KSV-0039 (LOW): A LimitRange policy with a default requests and limits for each container should be configured
════════════════════════════════════════
Ensure that a LimitRange policy is configured to limit resource usage for namespaces or nodes
See https://avd.aquasec.com/misconfig/ksv-0039
────────────────────────────────────────
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
────────────────────────────────────────
ksail.prod.yaml (kubernetes)
============================
Tests: 118 (SUCCESSES: 117, FAILURES: 1)
Failures: 1 (UNKNOWN: 0, LOW: 1, MEDIUM: 0, HIGH: 0, CRITICAL: 0)
KSV-0039 (LOW): A LimitRange policy with a default requests and limits for each container should be configured
════════════════════════════════════════
Ensure that a LimitRange policy is configured to limit resource usage for namespaces or nodes
See https://avd.aquasec.com/misconfig/ksv-0039
────────────────────────────────────────
ksail.prod.yaml:7-249
────────────────────────────────────────
7 ┌ name: prod
8 │ spec:
9 │ cluster:
10 │ distributionConfig: talos
11 │ connection:
12 │ context: admin@prod
13 │ timeout: 30m
14 │ distribution: Talos
15 └ provider: Hetzner
..
────────────────────────────────────────
ksail.yaml (kubernetes)
=======================
Tests: 118 (SUCCESSES: 117, FAILURES: 1)
Failures: 1 (UNKNOWN: 0, LOW: 1, MEDIUM: 0, HIGH: 0, CRITICAL: 0)
KSV-0039 (LOW): A LimitRange policy with a default requests and limits for each container should be configured
════════════════════════════════════════
Ensure that a LimitRange policy is configured to limit resource usage for namespaces or nodes
See https://avd.aquasec.com/misconfig/ksv-0039
────────────────────────────────────────
ksail.yaml:7-55
────────────────────────────────────────
7 ┌ name: local
8 │ spec:
9 │ cluster:
10 │ distributionConfig: talos-local
11 │ connection:
12 │ context: admin@local
13 │ timeout: 40m
14 │ distribution: Talos
15 └ provider: Docker
..
────────────────────────────────────────
📣 Notices:
- Version 0.72.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 795827)
✅ 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.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
coderabbitai
Bot
commented
Jul 27, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|
@devantler: Reviewing the changes and the provided authorization-surface evidence.
✅ 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
Jul 27, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|

📝 Walkthrough
Walkthrough
The tenant OCIRepository’s cosign keyless identity matcher was narrowed to the actions workflow path and to commit SHA or version-tag refs. The EKS authorization validator’s measurement comment and approved fingerprints were updated for the resulting rendered authorization surface and the tenant.kro.run ResourceGraphDefinition.
Possibly related PRs
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
| Check name |
Status |
Explanation |
| Linked Issues check |
✅ Passed |
The changes match #2817 by tightening the tenant RGD matcher and updating the rendered authorization fingerprints. |
| Out of Scope Changes check |
✅ Passed |
The validator hash updates are in scope because the issue requires re-approving the rendered authorization surface. |
| Docstring Coverage |
✅ Passed |
No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. |
| Title check |
✅ Passed |
The title accurately summarizes the main change: tightening the tenant RGD cosign subject to the shared actions workflow and a fixed ref. |
| Description check |
✅ Passed |
The description is clearly about the same tenant RGD signer-rule tightening and fingerprint re-approval reflected by the changeset. |
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
- Programmatically tested —
go test ./scripts/validate-eks-ci-role-policy ok; go vet clean; the validator itself reports the contract passed. RED/GREEN in the evidence comment above: re-loosening the ref part is caught by both the per-resource pin and the aggregate, so neither re-approval is vacuous. All 24 required checks green.
- Reviewed — CodeRabbit green at
5087442f, zero inline comments and no actionable finding section.
- Tried and evaluated as a user — the exercisable surface here is the validator, and it was run directly against both trees with the CI-pinned renderer: it passes on unmodified
main (proving my renderer reproduces CI's canonical hashes, so the re-approved values are measured rather than guessed) and passes on this branch.
What this becomes free to enact, checked before merging
The RGD is a template, so the question is whether tightening it can break a live verification. It cannot:
- No live tenant is generated from it. The docker overlay's
resources: is empty, the one Tenant CR is documented opt-in and unreferenced, and the 509-document production render contains zero kind: Tenant instances.
- The three live
publish-app tenants (wedding-app, ascoachingogvaner, doggy-countdown) carry hand-written OCIRepository rules that already hold the byte-identical tight matcher on main — so real artifacts are demonstrably signed in a way this matcher accepts.
- The archived
reusable-workflows repo no longer signs anything.
Promoting and merging.
|
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.
This was referenced Jul 28, 2026
This was referenced Aug 6, 2026
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.
|