Skip to content

Commit

Permalink
Update EC2 IAM Profile to least privilege required (trailofbits#14417)
Browse files Browse the repository at this point in the history
Change overly permissive IAM Profile from using wildcard in list of
actions required. Explictly define the 4 required ec2:Associate*
Realized while investigating issue trailofbits#14383, though change does not
resolve that issue
  • Loading branch information
glennschler authored Feb 16, 2022
1 parent a103d8d commit b29b310
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs/deploy-from-ansible.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,12 @@ Additional variables:
"ec2:CreateVpc",
"ec2:DescribeInternetGateways",
"ec2:ModifyVpcAttribute",
"ec2:createTags",
"ec2:CreateTags",
"ec2:CreateSubnet",
"ec2:Associate*",
"ec2:AssociateVpcCidrBlock",
"ec2:AssociateSubnetCidrBlock",
"ec2:AssociateRouteTable",
"ec2:AssociateAddress",
"ec2:CreateRouteTable",
"ec2:AttachInternetGateway",
"ec2:DescribeRouteTables",
Expand Down

0 comments on commit b29b310

Please sign in to comment.