Connect Google Cloud
Create a read-only service account in a Google Cloud project, switch on a few APIs, download its key and upload it to ProofLayer.
Before you start
In Google Cloud your resources live in a project. A service account is a name for software (rather than a person) that can be given permissions. You create one, let it read your project, and give ProofLayer its key, which is a small file that proves its identity.
- ProofLayer only reads. The service account gets two read-only roles:
roles/viewerandroles/iam.securityReviewer. - You need the Project ID (shown on the Google Cloud console home page; it is not the same as the project name or number).
- The key file is sensitive. Treat it like a password: upload it to ProofLayer and then delete your copy.
- You need permission to create service accounts and grant roles. If that is not you, send this page to your IT or cloud colleague.
Step 1: Add the connection in ProofLayer
Open Connections and click New connection
Choose Google Cloud, name it (for example “Production GCP”) and enter the Project ID (for example
acme-prod).Open the new connection
Find the Google Cloud access card. You will use it in step 4.
Step 2: Create the service account
In the Google Cloud console, pick the right project
Use the project picker at the top and select the project whose ID you entered.
Open IAM & Admin → Service accounts → Create service account
Name it
prooflayer-collector. Click Create and continue.Grant the two read-only roles
In the Role box choose Viewer, click Add another role, and choose Security Reviewer. Click Continue, then Done. Do not grant any other role.
These are shown in ProofLayer as
roles/viewerandroles/iam.securityReviewer.
Step 3: Switch on the APIs ProofLayer reads
An API is the door ProofLayer uses to read one service. Each must be enabled once per project.
Open APIs & Services → Enabled APIs & services → Enable APIs and services
Enable each of these
Cloud Resource Manager API, Identity and Access Management (IAM) API, Cloud Storage (the Storage API), Compute Engine API and Cloud Logging API. Search each name and click Enable.
Step 4: Create the key and upload it
Open the service account and go to Keys
In IAM & Admin → Service accounts, click
prooflayer-collector, then the Keys tab.Click Add key → Create new key → JSON → Create
A
.jsonfile downloads to your computer.Some organisations block key creation with a policy. If you see an error, ask your administrator, or ask ProofLayer’s administrator about the in-account agent option below.
Paste the file contents into ProofLayer
On the Google Cloud access card, open the file in a text editor, copy everything, and paste it into Service account key (JSON).
Click Save access
ProofLayer stores the key encrypted and shows only the service account’s email afterwards. Now delete the downloaded file from your computer.
Check that it works
Click Test access
ProofLayer uses the key to read the project.
Success shows Access verified. A problem shows Access test failed with Google’s reason.
Run a scan
Start one from Runs. Results appear under Findings.
- External ID
- pl-7f3a9c2e1b4d… (copy)
- Role ARN
- arn:aws:iam::123456789012:role/ProofLayerReadOnly
- Last access test
- Passed 12 Nov 2026, 08:55 UTC
What ProofLayer reads
- Who has access: no access granted to “everyone on the internet”, a limited number of project owners, and service-account keys rotated within 90 days.
- Storage: buckets use uniform access, block public access, and stay in Indian regions.
- Logging: data-access audit logs are on for all services, and logs are kept at least 180 days.
- Servers: OS Login is enforced for SSH.
If something goes wrong
| What you see | Likely cause | What to do |
|---|---|---|
| Access test fails with “API has not been used” or “is disabled” | One of the APIs in step 3 is not enabled for this project | Enable the API named in the message, wait a minute and test again. |
| Permission denied | The service account is missing a role, or the wrong project ID was entered | Check the two roles on the project in IAM, and compare the Project ID on the connection with the console. |
| The key cannot be created | Your organisation blocks service-account keys | Ask an administrator to allow it for this project, or use the in-account agent option. |
| The JSON is rejected | Part of the file was missed when copying | Copy the whole file, from the first { to the last }, and paste again. |