AWS fis medium security documentation change
Summary
Added VPC Endpoint disruption action, updated IAM policies, and expanded experiment template with security group/VPC endpoint controls
Security assessment
Introduces new security-related action (aws:network:disrupt-vpc-endpoint) and adds granular IAM permissions for security group/VPC endpoint management. Changes include security-focused resource tagging conditions and explicit permissions for modifying network security components, which directly impact access control and security posture during fault injection experiments.
Diff
diff --git a/fis/latest/userguide/cross-region-scenario.md b/fis/latest/userguide/cross-region-scenario.md index c9a5ede67..1089e54b2 100644 --- a//fis/latest/userguide/cross-region-scenario.md +++ b//fis/latest/userguide/cross-region-scenario.md @@ -28,0 +29,6 @@ This action targets subnets in the experiment Region. By default, it targets sub +### Disrupt VPC Endpoint Connectivity + +Cross Region: Connectivity includes [aws:network:disrupt-vpc-endpoint](https://docs.aws.amazon.com/fis/latest/userguide/fis-actions-reference.html#network-actions-reference) disrupt connectivity to a service associated with the target VPC endpoints. For example, if a VPC endpoint creates a Private Link to com.amazonaws.us-east-1.ec2, then the connectivity to that service will be disrupted. + +This action targets VPC endpoints in the experiment region. By default, it targets interface VPC endpoints with a [tag](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html) named DisruptVpcEndpoint with a value `Allowed`. You can add this tag to your VPC endpoints or replace the default tag with your own tag in the experiment template. By default, if no valid VPC endpoints are found this action will be skipped. + @@ -67,6 +72,0 @@ The following policy grants AWS FIS the necessary permissions to execute an expe -JSON - - -**** - - @@ -200,12 +200,4 @@ JSON - "Action": "ec2:DeleteManagedPrefixList", - "Resource": "arn:aws:ec2:*:*:prefix-list/*", - "Condition": { - "StringEquals": { - "ec2:ResourceTag/managedByFIS": "true" - } - } - }, - { - "Sid": "RouteTableDisruptConnectivity12", - "Effect": "Allow", - "Action": "ec2:ModifyManagedPrefixList", + "Action": [ + "ec2:DeleteManagedPrefixList", + "ec2:ModifyManagedPrefixList" + ], @@ -215 +207 @@ JSON - "ec2:ResourceTag/managedByFIS": "true" + "aws:ResourceTag/managedByFIS": "true" @@ -220 +212 @@ JSON - "Sid": "RouteTableDisruptConnectivity13", + "Sid": "EC2DescribeResources", @@ -229 +221,5 @@ JSON - "ec2:DescribeVpcEndpoints" + "ec2:DescribeVpcEndpoints", + "ec2:DescribeTransitGatewayPeeringAttachments", + "ec2:DescribeTransitGatewayAttachments", + "ec2:DescribeTransitGateways", + "ec2:DescribeSecurityGroups" @@ -261,3 +257 @@ JSON - "Resource": [ - "arn:aws:ec2:*:*:route-table/*" - ], + "Resource": "arn:aws:ec2:*:*:route-table/*", @@ -274,3 +268 @@ JSON - "Resource": [ - "arn:aws:ec2:*:*:subnet/*" - ] + "Resource": "arn:aws:ec2:*:*:subnet/*" @@ -282,3 +274 @@ JSON - "Resource": [ - "arn:aws:ec2:*:*:route-table/*" - ], + "Resource": "arn:aws:ec2:*:*:route-table/*", @@ -291,8 +280,0 @@ JSON - { - "Sid": "RouteTableDisruptConnectivity20", - "Effect": "Allow", - "Action": "ec2:ModifyVpcEndpoint", - "Resource": [ - "arn:aws:ec2:*:*:vpc-endpoint/*" - ] - }, @@ -311,10 +292,0 @@ JSON - { - "Sid": "TransitGatewayDisruptConnectivity2", - "Effect": "Allow", - "Action": [ - "ec2:DescribeTransitGatewayPeeringAttachments", - "ec2:DescribeTransitGatewayAttachments", - "ec2:DescribeTransitGateways" - ], - "Resource": "*" - }, @@ -324,3 +296 @@ JSON - "Action": [ - "s3:ListAllMyBuckets" - ], + "Action": "s3:ListAllMyBuckets", @@ -332,3 +302 @@ JSON - "Action": [ - "s3:PauseReplication" - ], + "Action": "s3:PauseReplication", @@ -372,3 +340 @@ JSON - "Action": [ - "tag:GetResources" - ], + "Action": "tag:GetResources", @@ -386,0 +353,50 @@ JSON + }, + { + "Sid": "DisruptVPCE1", + "Effect": "Allow", + "Action": "ec2:CreateSecurityGroup", + "Resource": [ + "arn:aws:ec2:*:*:vpc/*", + "arn:aws:ec2:*:*:security-group/*" + ] + }, + { + "Sid": "DisruptVPCE2", + "Effect": "Allow", + "Action": "ec2:CreateTags", + "Resource": "arn:aws:ec2:*:*:security-group/*", + "Condition": { + "StringEquals": { + "ec2:CreateAction": "CreateSecurityGroup", + "aws:RequestTag/managedByFIS": "true" + } + } + }, + { + "Sid": "DisruptVPCE3", + "Effect": "Allow", + "Action": [ + "ec2:DeleteSecurityGroup", + "ec2:RevokeSecurityGroupEgress" + ], + "Resource": "arn:aws:ec2:*:*:security-group/*", + "Condition": { + "StringEquals": { + "aws:ResourceTag/managedByFIS": "true" + } + } + }, + { + "Sid": "DisruptVPCE4", + "Effect": "Allow", + "Action": "vpce:AllowMultiRegion", + "Resource": "arn:aws:ec2:*:*:vpc-endpoint/*" + }, + { + "Sid": "ModifyVPCE", + "Effect": "Allow", + "Action": "ec2:ModifyVpcEndpoint", + "Resource": [ + "arn:aws:ec2:*:*:vpc-endpoint/*", + "arn:aws:ec2:*:*:security-group/*" + ] @@ -413,0 +429,7 @@ The following content defines the scenario. This JSON can be saved and used to c + "VPC-Endpoint": { + "resourceType": "aws:ec2:vpc-endpoint", + "resourceTags": { + "DisruptPrivateLink": "Allowed" + }, + "selectionMode": "ALL" + }, @@ -464,0 +487,9 @@ The following content defines the scenario. This JSON can be saved and used to c + "Disrupt-Vpc-Endpoint": { + "actionId": "aws:network:disrupt-vpc-endpoint", + "parameters": { + "duration": "PT3H" + }, + "targets": { + "VPCEndpoints": "VPC-Endpoint" + } + },