Onboard Google Cloud Projects

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

You can choose four onboarding methods to add new Google Cloud projects. The first involves using scripts, while the others do not. The onboarding method you select also determines whether changes made to account resources after onboarding are automatically synced from Google Cloud Platform to your environment.

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

Onboarding Methods

*Automatically syncs changes from GCP to ACE after onboarding.
Onboarding Method Description Automatic sync*
With script (via wizard) Uses scripts to onboard Google Cloud resources Yes
No script (via wizard) Onboard Google Cloud resources without using scripts Yes
API (single account) Onboard a single Google Cloud via API No
Terraform Onboard Google Cloud resources using Terraform Yes

Notes:

  • To add Google Projects 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.

  • Any changes to projects in an onboarded Google Cloud folder or organization will automatically sync with ACE once every hour.

Note: For more information about the GCP onboarding script, see Inside the Google Onboarding Script.

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:

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.

Offboard Google Cloud projects from ACE

You can offboard Google Cloud projects from ACE with the following methods:

 

â See also: