2

I tried but could not figure out that how to find out who added a user or modified IAM roles of a specific user in GCP.

is anyone aware of any method?

d.s
  • 110
  • 8

1 Answers1

2

You can see this information through Logs Viewer please check the following URL for Logs Viewer query interfaces where you can find more information

And for this specific event you can use the following query to search it in your project:

  1. Go to Logs Viewer
  2. Select a Google Cloud project.
  3. Use the advanced query interface: enter image description here
  4. Paste the following query:
protoPayload.authorizationInfo.permission="resourcemanager.projects.setIamPolicy"
protoPayload.response.bindings.members="user:emailuser@gmail.com"

Change the emailuser@gmail.com for the user you are looking for.

  1. Click on the start button.

enter image description here

And you will see something like:

enter image description here

On View Options you can click on Expand All for more information:

enter image description here

Also you can see those events on the Activity tab

enter image description here

I hope this information would be useful to you