pubsub/WARN/2023_005

Pub/Sub service account has BigQuery Permissions if BigQuery Subscription(s) exist.

Product: Cloud Pub/Sub
Rule class: WARN - Something that is possibly wrong

Description

For any BigQuery subscriptions to deliver messages successfully, they should have the appropriate BigQuery Editor permissions to the appropriate service.

Remediation

Assign the roles/bigquery.dataEditor role to the Pub/Sub Service Account to assign BigQuery Editor Permissions.

Further information

The full list of permissions available in this role can be found at the Big Query Permissions.