AWS entityresolution medium security documentation change
Summary
Removed JSON policy example with S3/Glue permissions containing wildcard resource placeholders
Security assessment
Eliminating policy examples with {{input-buckets}}/* wildcards reduces risk of over-permissive resource policies being implemented, aligning with least privilege principles.
Diff
diff --git a/entityresolution/latest/userguide/create-workflow-job-role.md b/entityresolution/latest/userguide/create-workflow-job-role.md index ce6caf3ad..d485b0359 100644 --- a//entityresolution/latest/userguide/create-workflow-job-role.md +++ b//entityresolution/latest/userguide/create-workflow-job-role.md @@ -61,68 +60,0 @@ You don't need to grant AWS KMS permissions if your data sources aren't encrypte -JSON - - -**** - - - { - "Version": "2012-10-17", - "Statement": [ - { - "Effect": "Allow", - "Action": [ - "s3:GetObject", - "s3:ListBucket", - "s3:GetBucketLocation" - ], - "Resource": [ - "arn:aws:s3:::{{input-buckets}}", - "arn:aws:s3:::{{input-buckets}}/*" - ], - "Condition": { - "StringEquals": { - "s3:ResourceAccount": [ - "{{accountId}}" - ] - } - } - }, - { - "Effect": "Allow", - "Action": [ - "s3:PutObject", - "s3:ListBucket", - "s3:GetBucketLocation" - ], - "Resource": [ - "arn:aws:s3:::{{output-bucket}}", - "arn:aws:s3:::{{output-bucket}}/*" - ], - "Condition": { - "StringEquals": { - "s3:ResourceAccount": [ - "{{accountId}}" - ] - } - } - }, - { - "Effect": "Allow", - "Action": [ - "glue:GetDatabase", - "glue:GetTable", - "glue:GetPartition", - "glue:GetPartitions", - "glue:GetSchema", - "glue:GetSchemaVersion", - "glue:BatchGetPartition" - ], - "Resource": [ - "arn:aws:glue:us-east-1:{{accountId}}:database/{{input-databases}}", - "arn:aws:glue:us-east-1:{{accountId}}:table/{{input-database}}/{{input-tables}}", - "arn:aws:glue:us-east-1:{{accountId}}:catalog" - ] - } - ] - } - -