Problem Statment:
I have an EC2 machine that is running, and today I found someone removed one
of the Security Group
attached to the EC2 machine.
I wanted to know, how can we check who
removed the security group from the EC2 machine.
Solution Tried so far(CloudTrail):
- Checked
RevokeSecurityGroupIngress
andRevokeSecurityGroupEgress
but that is only giving what is edited(Add/Remove/Edit) in particular security group. - Checked
ModifySecurityGroupRules
.
Note: Cannot use Insights and Query due to business restrictions.