Discover GCP Accounts
Tenable Cloud Security can automatically discover your GCP projects. If you want to onboard all projects in a GCP organizatio, provide the role details of the organization administrator for Tenable Cloud Security to automatically discover the projects in the organization. After Tenable Cloud Security discovers the GCP projects in that organization, you must configure them by providing the credentials before you can run a cloud scan for detecting misconfigurations in the cloud account. To onboard GCP projects, perform the following tasks:
To discover GCP cloud accounts:
Before you begin:
-
Create a service account for Tenable Cloud Security in Google cloud and then provide read-only access for this service account to your Google cloud project. For more information, see Create a GCP Service Account and Activate the GCP Service Account.
-
Click Projects and Connections.
-
Click Cloud Accounts.
The Cloud Accounts page appears listing all onboarded cloud accounts.
-
Click Discover accounts > GCP.
The Configure GCP Service Account(s) window appears.
-
Onboard a single or multiple GCP service accounts.
-
In the Project type section, select one of the following:
-
Single for onboarding a single GCP project.
-
Multiple for onboarding all projects in a GCP organization.
-
-
Click Upload to upload the service account credential file in the JSON format.
-
(Optional) Click
to add more accounts.
-
Click Discover.
For multiple accounts, Tenable Cloud Security discovers and shows all projects under the GCP organization account with the status as Discovered. The GCP organization account appears with the
icon next to it.
For multiple project type, Tenable Cloud Security schedules discovery every 24 hours and automatically discovers any new project in the GCP organization. All accounts discovered in the last 7 days show thelabel until they are configured or ignored.
-
Configure discovered GCP accounts
Configure the discovered GCP projects before you can run a cloud scan to assess the resources in the project for misconfigurations. To configure a GCP project, upload the credentials file and assign it to a project in Tenable Cloud Security.
-
In the row of service account you want to configure, click
> Configure.
The Configure GCP Account window appears.
-
Click Upload to upload the service account credential file in the JSON format.
-
Click Next.
-
In the Assign a Project or Create a New Project section, do one of the following:
-
Select a project from the list of GCP projects.
You can search for a project in the Search projects box.
-
Click New Project to create a new GCP project.
-
Enter a Project name for your new project.
-
Select GCP for the provider.
-
Click Create New Project.
Tenable Cloud Security creates the new project and Tenable Cloud Security automatically selects this project for onboarding the GCP project.
-
-
-
Click Save.
The Cloud Accounts page appears and shows the project assigned to the GCP project.
-
Repeat these steps for all the discovered accounts you want to configure.
What to do next:
-
Go to the Projects tab and run a cloud scan for the project. For more information, see Run a Cloud Scan.