Documentation Index
Fetch the complete documentation index at: https://docs.tryflare.ai/llms.txt
Use this file to discover all available pages before exploring further.
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
Flare reads three types of GCP Cloud Audit Logs:| Log type | What it captures |
|---|---|
| Admin Activity | API calls that modify resource configuration or metadata (always enabled in GCP) |
| Data Access | API calls that read or write user-provided data |
| System Events | GCP-generated administrative actions on resources |
Required permissions
The Google account you authenticate with needs the following IAM role on the GCP project you want to analyze: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:| Scope | Purpose |
|---|---|
https://www.googleapis.com/auth/logging.read | Read-only access to Cloud Logging |
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
Your Google account doesn’t have
roles/logging.viewer on the project you’re trying to analyze. Ask your GCP admin to grant the role, or verify you’re using the correct Project ID.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
Check that Cloud Audit Logs are enabled for your project. Admin Activity logs are always on, but Data Access logs may need to be explicitly enabled.
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.