Permissions for Google cloud error reporting

639 Views Asked by At

The google cloud error reporting documentation states that the service account permission should be 'project > owner', this does work however this seems to be a possible security issue and bad practice. However I could not find any other permission level that allows to report errors with the error reporting library. If somebody has a more secure solution I would love to hear it.

1

There are 1 best solutions below

1
On

You are right is a bad practice to use a project owner role in a service account. If you want to use your service account to report errors with the error reporting library you can update your service account in the console going to "IAM & admin" -> "ROLES" -> click to edit your service account and adding the "Error Reporting Admin" role, this should work for you.