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.
This commit is contained in:
Priamo Germosen authored and GitHub committed 2026-10-26 21:43:57 -05:00
1 parent 0cc4984356
commit 1520e436ae
1 file changed
+3 -2
@@ -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",