From 1520e436ae66a8a0d62949fe7bb9a35a5d88cb99 Mon Sep 17 00:00:00 2001 From: Priamo Germosen <6233424+pgermosen@users.noreply.github.com> Date: Mon, 26 Oct 2026 22:43:57 -0400 Subject: [PATCH] fix(iam): drop the codestar namespace AWS no longer publishes (#6706) The vendored IAM service namespace list, generated from AWS's Service Reference index, names `codestar`, which the index no longer lists; it still lists `codestar-connections` and `codestar-notifications`. The upstream drift check therefore fails, on the weekly run and on every pull request it checks the list for: the file claims a namespace AWS does not publish. Regenerated with `make iam-namespaces-sync`, no entry edited by hand. `codestar` goes, and `assurance` and `continuum`, which AWS has published since the file was last generated on 2026-10-10, come in: 456 namespaces to 457. The list is what GetServiceLastAccessedDetails expands a grant naming no namespace against, `"Action": "*"`, a globbed prefix or a NotAction. Such a grant is no longer reported as reaching `codestar`, and is reported as reaching the two new namespaces. A policy naming `codestar:` outright still reports it, as a namespace written out is kept whether or not the list knows it. --- src/main/resources/aws/iam-service-namespaces.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/resources/aws/iam-service-namespaces.json b/src/main/resources/aws/iam-service-namespaces.json index 392a25ca8b..74bcb79930 100644 --- a/src/main/resources/aws/iam-service-namespaces.json +++ b/src/main/resources/aws/iam-service-namespaces.json @@ -2,7 +2,7 @@ "_source": { "generator": "tools/aws/regen_service_namespaces.py", "index": "https://servicereference.us-east-1.amazonaws.com/", - "retrieved": "2026-10-10", + "retrieved": "2026-10-27", "note": "make iam-namespaces-verify checks every entry still exists upstream." }, "serviceNamespaces": [ @@ -48,6 +48,7 @@ "arc-zonal-shift", "arsenal", "artifact", + "assurance", "athena", "auditmanager", "autoscaling", @@ -106,7 +107,6 @@ "codeguru-reviewer", "codeguru-security", "codepipeline", - "codestar", "codestar-connections", "codestar-notifications", "codewhisperer", @@ -121,6 +121,7 @@ "connect-campaigns", "consoleapp", "consolidatedbilling", + "continuum", "controlcatalog", "controltower", "cost-optimization-hub",