Overview
This integration guide provides the steps to begin sending Google Cloud Platform (GCP) Audit logs to Blumira. This guide assumes that you have one or more GCP projects with billing enabled and that you are an owner within the project or have an administrator role that can create Service Accounts.
Before you begin
To configure the Blumira Cloud Connector, you must gather these required credentials:
- Project name
- JSON private key created for the project’s service account
Configuring GCP and gathering your credentials
To create a GCP Service Account and gather the JSON key file, do the following:
- Log in to https://console.cloud.google.com/.
- Enable the Cloud Logging API by visiting the Enable API wizard and confirming the project you want to ingest logs from.
- Enable the IAM Service Account Credentials API by clicking Enable here.
- In the Project dropdown menu, select the project you want to integrate with.
- Navigate to IAM & Admin > Service Accounts.
- Click + Create Service Account.
- Type a unique service account name.
- (Optional) Type a service description.
- Click Create and continue.
- Under “Grant this service account access to project,” click Select A Role.
- Search for and select Private Logs Viewer.
- Click Done.
- Select your new service account from the list.
- Click the KEYS tab.
- Click Add Key > Create New Key.
- Under Key type, select JSON.
- Click Create.
- Open the downloaded JSON Key file on your local machine in a plain text editor.
- Find the Client_ID and copy the number to use in Step 6 of Link APIs to the service account.
Note: You will need the entire JSON file's contents when configuring the Cloud Connector.
To link APIs to the service account, do the following:
- Log in to https://admin.google.com as a super admin.
- Navigate to Security > Access and data control > API Controls.
- Scroll to the bottom section called “Domain-Wide Delegation.”
- Click Manage Domain Wide Delegation.
- Click Add New.
- In the Add a new Client ID window, paste the Client_ID you copied from the JSON file in the previous steps.
- In the OAuth Scopes section, paste the following:
https://www.googleapis.com/auth/admin.reports.audit.readonly,https://www.googleapis.com/auth/iam,https://www.googleapis.com/auth/logging.read
- Click Authorize.
Configuring the Cloud Connector
Cloud Connectors automate the configuration of your integrations without requiring you to use a sensor. After you obtain your integration's configuration parameters, you can then enable Blumira to collect your logs.
To configure the Blumira Cloud Connector:
- In the Blumira app, navigate to Settings > Cloud Connectors.
- Click + Add Cloud Connector.
- In the Available Cloud Connectors window, click the connector you want to add.
- In the Cloud Connector Name box, type a name to help identify the specific integration.
- Enter the credentials that you collected in the previous steps.
- Click Connect.