Create a user policy.
Select .
A new window will open. You will attach this policy to the user
account that authorizes Data Security to scan the Amazon S3
accounts.
Click the JSON tab and copy and paste
the following configuration into the Policy Document section:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:Get*",
"s3:List*",
"s3:Put*",
"s3:Delete*",
"s3:CreateBucket",
"iam:GetUser",
"iam:GetRole",
"iam:GetUserPolicy",
"iam:ListUsers",
"cloudtrail:GetTrailStatus",
"cloudtrail:DescribeTrails",
"cloudtrail:LookupEvents",
"cloudtrail:ListTags",
"cloudtrail:ListPublicKeys",
"cloudtrail:GetEventSelectors",
"ec2:DescribeVpcEndpoints",
"ec2:DescribeVpcs",
"config:Get*",
"config:Describe*",
"config:Deliver*",
"config:List*"
],
"Resource": "*"
},
{
"Effect": "Allow",
"Action": "sts:AssumeRole",
"Resource": "arn:aws:iam::111111111:role/prisma-saas-s3-cross-account-access-role"
},
{
"Effect": "Allow",
"Action": "sts:AssumeRole",
"Resource": "arn:aws:iam::222222222:role/prisma-saas-s3-cross-account-access-role"
},
{
"Effect": "Allow",
"Action": "sts:AssumeRole",
"Resource": "arn:aws:iam::333333333:role/prisma-saas-s3-cross-account-access-role"
}
]
}
This policy document has three pseudo secondary
accounts 222222222,111111111,333333333 referenced in it. You will
need to edit the policy to reflect the account numbers of each of
your secondary accounts.