Once a user has been invited to OpsCompass they can add an account to be monitored by OpsCompass as long as they are an administrator in GCP.
1a.) If this is your first connection skip to step 2.
1b.) If you are adding additional GCP accounts, first click the "Add Account" button at the bottom of the dashboard.
2.) Click the "Add Project" button for Google Cloud Platform.
3.) Copy the OpsCompass Service Account information
Note: We will use this account information in the GCP console in a minute.
4.) Navigate to GCP (https://console.cloud.google.com) and navigate to the project you would like to add to OpsCompass.
5.) Search for "IAM" and select "IAM & Admin" from the results.
6.) Click the "+ ADD" button. Paste the Service Account information into the "New Members" text field and click "Select a role".
7.) Add the role "Viewer" under "Project" > "Viewer". Click "Save".
8.) Navigate to the GCP Dashboard for your project, and copy the "Project ID".
9.) Navigate back to OpsCompass, and paste the "Project ID" into the text field. Click the "Connect" button.
OpsCompass will begin to scan the environment. You will see the accounts added to the dashboard, and a compliance score will begin to be assigned as we analysis the resources.