Creating Service Account and Access in GCP Account
Step 1: Create a Service Account and Assign Roles
Login to Google cloud console
Select the Project you want to integrate
Click on IAM & Admin and then Service Accounts
Click on Create service account
Enter the Name and Description, then click on Create and continue
Under Grant this service account access to project section, add the following Roles and click on Continue
Artifactregistry Viewer
Cloud Build Viewer
Cloud Functions Viewer
Cloud Run Viewer
Cloud Storage for Firebase Viewer
Cloud Task Viewer (Beta)
Compute Viewer
DNS Viewer
Firebase Viewer
IAM Viewer
Pub/Sub Viewer
Secret Manager Viewer
View Service Accounts
Click on Done in the button
Note: Grant users access to this service account can left optional
Step 2: Generate a JSON Key
Click and open the Service Account created go to Keys tab
Add Key and Create new key
Select JSON format and click on Create
.json file will be downloaded to the local
Step 3: Enabling APIs
Navigate to API & Services and then Library
Search for the following APIs and make sure they are enabled
cloudasset.googleapis.com
iam.googleapis.com
cloudresourcemanager.googleapis.com
Onboarding GCP account to aps1.icompaas.com
Step 1: Sign in to the https://app.icompaas.com portal.
Step 2: On the left pane, click on Account settings, click Onboarding, and select GCP(Google Cloud Platform
Step 3: Give your GCP environment a meaningful name and upload the JSON we have downloaded in the step2
Step 4: Then click on the Save & start scan.