AWS freertos high security documentation change
Summary
Removed detailed IAM policy granting broad EC2, IAM, and SSM permissions with specific resource patterns
Security assessment
Policy removal addresses security risks from excessive permissions including IAM policy/role modification and EC2 key pair management. The original policy contained dangerous permissions like iam:CreatePolicy and ec2:TerminateInstances with wildcards.
Diff
diff --git a/freertos/latest/userguide/lts-idt-dev-tester-prereqs.md b/freertos/latest/userguide/lts-idt-dev-tester-prereqs.md index aecb4e159..8fc4ed897 100644 --- a//freertos/latest/userguide/lts-idt-dev-tester-prereqs.md +++ b//freertos/latest/userguide/lts-idt-dev-tester-prereqs.md @@ -248,80 +247,0 @@ The following policy template can be used in the Beijing and Ningxia Regions. -JSON - -JSON - - -**** - - - { - "Version": "2012-10-17", - "Statement": [ - { - "Effect": "Allow", - "Action": [ - "iam:CreatePolicy", - "iam:DetachRolePolicy", - "iam:DeleteRolePolicy", - "iam:DeletePolicy", - "iam:CreateRole", - "iam:DeleteRole", - "iam:AttachRolePolicy" - ], - "Resource": [ - "arn:aws-cn:iam::*:policy/idt*", - "arn:aws-cn:iam::*:role/idt*" - ] - }, - { - "Effect": "Allow", - "Action": [ - "ssm:GetParameters" - ], - "Resource": [ - "arn:aws-cn:ssm:*::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2" - ] - }, - { - "Effect": "Allow", - "Action": [ - "ec2:DescribeInstances", - "ec2:RunInstances", - "ec2:CreateSecurityGroup", - "ec2:CreateTags", - "ec2:DeleteTags" - ], - "Resource": [ - "*" - ] - }, - { - "Effect": "Allow", - "Action": [ - "ec2:CreateKeyPair", - "ec2:DeleteKeyPair" - ], - "Resource": [ - "arn:aws-cn:ec2:*:*:key-pair/idt-ec2-ssh-key-*" - ] - }, - { - "Effect": "Allow", - "Condition": { - "StringEqualsIgnoreCase": { - "aws-cn:ResourceTag/Owner": "IoTDeviceTester" - } - }, - "Action": [ - "ec2:TerminateInstances", - "ec2:DeleteSecurityGroup", - "ec2:AuthorizeSecurityGroupIngress", - "ec2:RevokeSecurityGroupIngress" - ], - "Resource": [ - "*" - ] - } - ] - } - -