AWS Security ChangesHomeSearch

AWS codecatalyst high security documentation change

Service: codecatalyst · 2025-08-28 · Security-related high

File: codecatalyst/latest/userguide/deploy-tut-ecs.md

Summary

Removed multiple JSON trust policy configurations with wildcard service principals

Security assessment

Multiple removals of permissive trust policies across ECS tutorial steps eliminate potential privilege escalation vectors through ambiguous service access.

Diff

diff --git a/codecatalyst/latest/userguide/deploy-tut-ecs.md b/codecatalyst/latest/userguide/deploy-tut-ecs.md
index ab9c1431d..fae47e52b 100644
--- a//codecatalyst/latest/userguide/deploy-tut-ecs.md
+++ b//codecatalyst/latest/userguide/deploy-tut-ecs.md
@@ -569,26 +568,0 @@ You have now created a permissions policy.
-JSON
-
-JSON
-    
-
-****
-    
-        
-                {
-            "Version": "2012-10-17",
-            "Statement": [
-                {
-                    "Sid": "",
-                    "Effect": "Allow",
-                    "Principal": {
-                        "Service":  [
-                           "-runner.amazonaws.com",
-                           ".amazonaws.com"
-                         ]
-                    },
-                    "Action": "sts:AssumeRole"
-                }
-            ]
-        }
-        
-
@@ -745,26 +718,0 @@ You have now created a permissions policy.
-JSON
-
-JSON
-    
-
-****
-    
-        
-                {
-            "Version": "2012-10-17",
-            "Statement": [
-                {
-                    "Sid": "",
-                    "Effect": "Allow",
-                    "Principal": {
-                        "Service":  [
-                           "-runner.amazonaws.com",
-                           ".amazonaws.com"
-                         ]
-                    },
-                    "Action": "sts:AssumeRole"
-                }
-            ]
-        }
-        
-
@@ -819,26 +766,0 @@ As `CodeCatalystECSUser`, in AWS CloudShell, create a trust policy file:
-JSON
-
-JSON
-    
-
-****
-    
-    
-        {
-        "Version": "2012-10-17",
-        "Statement": [
-            {
-                "Sid": "",
-                "Effect": "Allow",
-                "Principal": {
-                    "Service":  [
-                       "-runner.amazonaws.com",
-                       ".amazonaws.com"
-                     ]
-                },
-                "Action": "sts:AssumeRole"
-            }
-        ]
-    }
-    
-