Connect GCP Project
Follow these simple steps to complete the setup modal and securely input your GCP project details and JSON key.1. Basic Configuration Follow below steps
- Once you logged in you will navigate to Dashboard.
- Go to the integration and click on Connect button to add GCP Datasource.
- Enter Data Source Name (e.g., Production-AWS, Staging-Environment).
- Select Environment: Click the dropdown menu and select the environment type (e.g., Production, Staging, Development).
- Enter GCP Project ID (For details click on view guide).
- Select Regions from dropdown.
- Enter Service Account JSON.(For details click on view guide ).
- Click on Verify Integration.
π View Setup Guide
π View Setup Guide
How to generate GCP Project ID
Step 1 : Find the Project ID
- Sign in to the Google Cloud Console.
- Select your project from the Project Selector.
- On the Dashboard or Project Info page, copy the Project ID.
Enter the Project ID in the integration form.
Step 2: Select Regions
Choose the regions where your GCP resources are deployed.Common regions include:us-central1us-east1us-west1europe-west1asia-south1(Mumbai)asia-east1asia-southeast1
Note: If youβre unsure which regions your resources use, select All Regions (if supported by your application).
Step 3: Create a Service Account
- Open Google Cloud Console.
- Navigate to IAM & Admin β Service Accounts.
- Click Create Service Account.
- Enter a service account name (for example,
security-audit-sa). - Click Create and Continue.
Step 4: Assign Read-Only Roles
Grant only the minimum permissions required for security scanning.Assign the following roles:Note: If your security platform requires additional permissions, assign only the roles documented by the platform.
Step 5: Create the JSON Key
- Open the newly created Service Account.
- Go to the Keys tab.
- Click Add Key β Create New Key.
- Select JSON.
- Click Create.
- A JSON key file will be downloaded automatically.
Important: Store the JSON key securely. It provides access to your GCP project and should never be shared publicly.
Final Step
Return to your application and provide:- Project ID
- Selected Region(s)
- Upload the downloaded JSON Key file
2. Create a Service Account
- In the Google Cloud Console, navigate to IAM & Admin β Service Accounts.
- Create a Service Account with Viewer (or the required read-only) permissions.
- Ensure the account has access to the resources you want Zero-X to analyze.
3. Generate Service Account JSON Key
- Open the created Service Account.
- Go to the Keys tab.
- Click Add Key β Create New Key.
- Select JSON.
- Download the generated Service Account JSON key securely.