- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
08-14-2025 04:33 PM
Hello
We offer many out of the box policies for unused AWS IAM roles.
ex. A more specific policy is "AWS Users and Machine Identities with IAM Data Write permissions are unused for 90 days"
config from iam where source.cloud.type = 'AWS' and action.access.level = 'Data Write' and action.lastaccess.days > 90
A more general RQL is:
config from iam where source.idp.service = 'AWS Identity Center' AND action.lastaccess.days > 30
If you tell me exactly what you are looking for I can tailor the RQL further.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!