RQL query to check for any Change in role for Instance

Reply
L0 Member

RQL query to check for any Change in role for Instance

I am trying to create an RQL query, which will check if anyone attaches or modify roles to an AWS instance.

 

I am using the below Query :

event where cloud.account = 'My-AWS' AND operation = 'AddRoleToInstanceProfile'

I did some testing on one of the instances. However, I am not able to get any result.

Please help on the correct RQL

L4 Transporter

Re: RQL query to check for any Change in role for Instance

I was able to find results with that operation, so I don't think RQL is the issue.  Are you sure the events for your AWS instance is being ingested?

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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 Live Community as a whole!

The Live Community thanks you for your participation!