Getting Started with GCP on Prowler Cloud¶
Set up your GCP project to enable security scanning using Prowler Cloud.
Requirements¶
To configure your GCP project, you’ll need:
- Get the
Project ID
- Access to Prowler Cloud
-
Configure authentication in GCP:
3.1 Retrieve credentials from Google Cloud
-
Add the credentials to Prowler Cloud
Step 1: Get the Project ID¶
- Go to the GCP Console
- Locate your Project ID on the welcome screen
Step 2: Access Prowler Cloud¶
- Go to Prowler Cloud
-
Navigate to
Configuration
>Cloud Providers
-
Click
Add Cloud Provider
-
Select
Google Cloud Platform
-
Add the Project ID and optionally provide a provider alias, then click
Next
Step 3: Configure Authentication in GCP¶
Retrieve Credentials from Google Cloud¶
-
In the GCP Console, click on
Activate Cloud Shell
-
Click
Authorize Cloud Shell
-
Run the following command:
- Type
Y
when prompted
- Type
-
Open the authentication URL provided in a browser and select your Google account
-
Follow the steps to obtain the authentication code
-
Paste the authentication code back in Cloud Shell
-
Use
cat <file_name>
to view the temporary credentials file -
Extract the following values for Prowler Cloud:
client_id
client_secret
refresh_token
Step 4: Add Credentials to Prowler Cloud¶
-
Go back to Prowler Cloud and enter the required credentials, then click
Next
-
Click
Launch Scan
to begin scanning your GCP environment