Google Cloud IAM role created

Goal

Detect when a Google Cloud IAM role is created.

Strategy

Monitor Google Cloud IAM activity audit logs to determine when the following method is invoked:

  • google.iam.admin.v1.CreateRole

Triage and response

  1. Investigate the user {{@usr.id}} who created the IAM role {{@data.protoPayload.resourceName}} and ensure the permissions in @data.protoPayload.response.included_permissions are scoped properly.
  2. Review the users associated with the role and ensure they should have the permissions attached to the role.