AWS diagnostic-tools medium security documentation change
Summary
Removed IAM policy examples and rephrased execution permissions guidance
Security assessment
Deleted concrete IAM policy examples that demonstrated least-privilege permissions for Diagnostic Tools. Removal could lead to users creating overly broad policies without reference examples.
Diff
diff --git a/diagnostic-tools/latest/userguide/security_iam_id-based-policy-examples.md b/diagnostic-tools/latest/userguide/security_iam_id-based-policy-examples.md index 59007c5d5..f9788d281 100644 --- a//diagnostic-tools/latest/userguide/security_iam_id-based-policy-examples.md +++ b//diagnostic-tools/latest/userguide/security_iam_id-based-policy-examples.md @@ -61,24 +60,0 @@ In this example, you want to grant an IAM user in your AWS account access to run - - { - "Version": "2012-10-17", - "Statement": [ - { - "Action": [ - "ts:GetExecution", - "ts:GetExecutionOutput", - "ts:GetTool", - "ts:ListExecutions", - "ts:ListTools", - "ts:StartExecution", - "ts:TagResource", - "ts:UntagResource", - "ts:ListTagsForResource", - "iam:PassRole" - ], - "Effect": "Allow", - "Resource": "*" - } - ] - } - - @@ -88,0 +65 @@ In this example, you want to grant an IAM user in your AWS account access to run +## Allowing ` StartExecution ` using a specific `IAM user` @@ -90,15 +67 @@ In this example, you want to grant an IAM user in your AWS account access to run - { - "Version": "2012-10-17", - "Statement": [ - { - "Effect": "Allow", - "Action": "ts:StartExecution", - "Resource": "arn:aws:ts::aws:tool/Ec2SystemManager" - }, - { - "Effect": "Allow", - "Action": ["iam:PassRole"], - "Resource": "*" - } - ] - } +In this example, you want to grant an IAM user in your AWS account access to run all tools using a specific passrole. This policy includes permissions to complete this action on the console or programmatically using the AWS CLI or AWS API. @@ -105,0 +69 @@ In this example, you want to grant an IAM user in your AWS account access to run +JSON @@ -107 +70,0 @@ In this example, you want to grant an IAM user in your AWS account access to run -## Allowing ` StartExecution ` using a specific `IAM user` @@ -109 +72,2 @@ In this example, you want to grant an IAM user in your AWS account access to run -In this example, you want to grant an IAM user in your AWS account access to run all tools using a specific passrole. This policy includes permissions to complete this action on the console or programmatically using the AWS CLI or AWS API. +**** +