We have one role which has 8 policies attached to it. One policy has been removed by someone, now how to identify when it was removed. How to check from cloud trail?
Asked
Active
Viewed 705 times
2 Answers
3
There are two possible event types, depending on if a managed policy or an inline policy has been removed from the role:
- DetachRolePolicy for managed policies
- DeleteRolePolicy for inline policies
You can filter the CloudTrail event history by either of these to find and analyze the respective events.
Please note that if you haven’t explicitly created a trail in AWS CloudTrail, the events are only retained for 90 days.

Dennis Traub
- 50,557
- 7
- 93
- 108