GCP Connector
Flare connects to GCP via OAuth to read your Cloud Audit Logs. The connection is read-only - Flare cannot modify your GCP resources.What Flare accesses
Core access withroles/logging.viewer covers the standard audit streams available to that role. Data Access is an optional, higher-volume stream with an additional permission requirement.
Required permissions
For core audit analysis, the Google account you authenticate with needs this IAM role on the GCP project:_Default log bucket.
For Data Access analysis, the account also needs:
Granting access
If you don’t haveroles/logging.viewer, ask your GCP admin to run:
Connecting
- Go to Connectors in Flare
- Select Google Cloud Platform
- Click Connect with Google
- Sign in with your Google account on Google’s OAuth consent screen
- Grant Flare access to read your Cloud Audit Logs
OAuth scopes
Flare requests a single OAuth scope:
Flare does not request write, admin, or billing scopes.
Finding your GCP Project ID
When running an analysis, you’ll need your GCP Project ID. To find it:- Open the GCP Console
- Click the project selector dropdown at the top of the page
- Your Project ID is shown in the ID column (e.g.,
my-project-123)
The Project ID is different from the Project Name. The ID is the lowercase, hyphenated identifier (e.g.,
flare-prod-2026), not the display name.Token refresh
Flare automatically refreshes your OAuth token when it expires. You don’t need to reconnect manually unless:- You revoke Flare’s access in your Google Account permissions
- Your Google account password changes and invalidates active sessions
- Your GCP organization enforces session policies that expire OAuth tokens
Reconnecting
If your connection expires or is revoked, Flare shows the connector status as Expired with a red indicator. To reconnect:- Go to Connectors
- Click Reconnect GCP
- Complete the Google OAuth flow again
Disconnecting
To remove your GCP connection:- Go to Connectors
- Click Disconnect below the connected status
Troubleshooting
403 Permission Denied when running analysis
403 Permission Denied when running analysis
Confirm the correct Project ID and
roles/logging.viewer for core audit logs. If the failure is limited to Data Access logs, confirm that category is enabled and the account has roles/logging.privateLogViewer or access to the selected log view.Connection shows as Expired
Connection shows as Expired
Your OAuth token was revoked or expired. Click Reconnect GCP on the Connectors page to re-authenticate.
No logs returned
No logs returned
Verify the Project ID and try a wider time window. Admin Activity logs are always on, but Data Access logs may need to be explicitly enabled and require private-log access. A successful core connection alone does not confirm Data Access coverage.
Wrong project or no results for time window
Wrong project or no results for time window
Verify the Project ID matches the project where your workloads run. Also try a wider time window - if there’s little activity, “Last 1h” may return zero logs.