Onboard Google Cloud Projects

This topic describes how to add Google Cloud projects to ACE Cloud Network Security.

How Google Cloud Onboarding Works

ACE connects to Google Cloud using a secure, service-account-based access model.

During onboarding, a Google Cloud administrator creates or configures the service account, IAM role, and permissions required for ACE to read Google Cloud networking and security configuration. Depending on the onboarding method, this is done by running a Google Cloud Shell script, deploying Terraform configuration, following the no-script workflow, or using the REST API.

After onboarding is complete, ACE can discover Google Cloud resources such as:

  • VPC networks

  • Subnets

  • Network interfaces

  • Virtual machines

  • Firewall rules

  • Firewall policies

  • Routers

  • Interconnect-related resources

ACE uses a service account and IAM permissions to discover and continuously synchronize Google Cloud networking and security resources.

Google Cloud Onboarding Flow (Via Wizard)

  1. In ACE, start the Google Cloud onboarding wizard.

  1. Choose an onboarding method. See below Onboarding Methods for Google Cloud Projects:

  1. Select the Google Cloud scope to onboard:

    • Project

    • Folder

    • Organization

  1. Create or configure the required service account, IAM role, and role assignment.

  2. ACE uses the service account permissions to securely access Google Cloud configuration data.

  3. Google Cloud resources are discovered and imported into ACE.

  4. If automatic synchronization is enabled, ACE periodically detects and imports changes made in Google Cloud.

Note: ASMS does not connect directly to Google Cloud APIs. Google Cloud data is collected through ACE, and ASMS receives the relevant data through the ACE integration.

Who Performs Google Cloud Onboarding?

Google Cloud onboarding typically requires collaboration between:

  • A Google Cloud administrator, who creates or approves the required service account and IAM permissions.

  • An ACE administrator, who initiates the onboarding process and verifies the connection.

The onboarding process creates or configures the service account and IAM permissions required for ACE to access Google Cloud configuration data.

Choosing an Onboarding Scope

The scope selected during onboarding determines which Google Cloud resources ACE can discover.

Scope Typical Use Case
Project Proof of concept (POC) or onboarding a single Google Cloud project
Folder Production environments where multiple projects are grouped under a folder
Organization Broad discovery across all projects in a Google Cloud organization

For most production deployments, onboarding at the folder or organization level allows ACE to discover and synchronize projects within that scope automatically.

Onboarding Methods for Google Cloud Projects

Note: Depending on which onboarding method you choose, changes to onboarded account resources may be automatically synced every hour.

 
Onboarding Method Description Automatic synchronization
Cloud Shell script (via wizard) Via the onboarding wizard: Generates and runs a Google Cloud Shell script Yes
No script Onboard Google Cloud resources manually through the Google Cloud console Yes
Terraform Via the onboarding wizard: Uses Terraform to deploy the required Google Cloud permissions and onboarding configuration No
REST API (single project) Onboard a single Google Cloud project via API No

Notes:

  • To add Google Projects to ACE , you need Google Cloud service account credentials.

  • Onboarding means giving access to ACE to collect data from your Google Cloud projects. To stop data collection (delete your project), you must withdraw access to ACE by revoking the ACE permissions within your cloud vendor environment.

  • Project IDs must be unique across all organizations for the onboarding process to complete successfully.

  • Discovery of projects might take some time after initial onboarding, especially if done on the organization level.

Note:

Automatic Synchronization

  • Cloud Shell and No Script onboarding methods support automatic synchronization.

  • When these methods are used, ACE can automatically discover Google Cloud projects added under the onboarded folder or organization scope and synchronize configuration changes.

  • REST API onboarding is limited to a single Google Cloud project and does not support automatic discovery or synchronization of additional projects.

  • Terraform-onboarded projects are not auto-discovered by ACE. Terraform onboarding is limited to the specific project where the template is deployed, making account management the customer's responsibility.

Before you start

To connect a Google Cloud account that is managed by an organization, make sure you are logged on to Google Cloud console.

Required permissions and roles

To onboard multiple projects in a Google Cloud account, make sure you have the following roles enabled:

To learn more about the roles and APIs required by Cloud App Analyzer, see Permissions Required for Google Cloud Projects.

Onboarding Google Cloud Projects

Onboard Google Cloud resources using your preferred method:

Open Permissions Diagnostics to confirm that the account/subscription/project meets the requirements for the ACE scan types you want to run, and use the remediation links to complete any required setup.

Permissions required for Google Cloud

Notes:

  • When using the "With script" onboarding method: APIs are automatically enabled. If you want to remove the write permission serviceusage.serviceUsageAdmin, you can do so, but you will need to manually enable the following APIs for each Project.

  • When using the "No script" onboarding method, the following APIs must be enabled for each Project before adding the Google Cloud permissions listed in the table below. For details, see Step 2 in To Onboard Google Cloud resources | No script.

Important: Missing permissions can cause ACE to malfunction and lead to data inconsistencies. AlgoSec is not responsible for any issues arising from missing permissions.

See Permissions Required for Google Cloud Projects.

Enable Google Cloud logs

By enabling Google Cloud logs, ACE can retrieve and analyze logs. This provides data, shown on the Risks page and Network Policy page, such as the date each rule was last used.

Do the following:

  1. In the Google Cloud console, select VPC network > Firewall.

  2. Click the firewall selector at the top of the page.

    The Select From dialog appears.

  3. Select the firewall whose rules you want to log.

  4. Select the rules.

 

â See also: