What we check · Google Cloud
What we check in Google Cloud — and what we never read
Create a service account with the Viewer and Security Reviewer roles (on the project, or the organisation to cover every project) and paste its JSON key. Both roles are read-only; delete the key any time to cut access.
How results work
- Every failure names the exact thing — the repository, the account, the pull request — and gives the fix.
- If we can’t read something — a missing permission, more than we could read in one scan — the check says “can’t tell” and why. It never passes by default.
- Anything can be marked out of scope with a reason and a review date. The reason is kept as audit evidence.
- Checks marked “good to know” are shown but never raise an alert or hold back a framework.
Identity & access
- Three or fewer project owners
Owners can do anything in a project, including deleting it and its backups. Three or fewer, with narrower roles for day-to-day work, is the usual bar.
POST /v1/projects/{id}:getIamPolicy
- Nothing is granted to everyone on the internet
A role granted to allUsers or allAuthenticatedUsers on a project hands that access to anyone with a Google account.
POST /v1/projects/{id}:getIamPolicy
- No personal Gmail accounts with accessgood to know
A personal @gmail.com account outside your Workspace isn't covered by your 2-step verification, offboarding or password rules — and stays when the person leaves.
POST /v1/projects/{id}:getIamPolicy
- No service account holds Owner or Editor
A service account's key in a CI system or on a laptop is a password that never expires — with Owner or Editor it can change anything.
POST /v1/projects/{id}:getIamPolicy
- Service-account keys are rotated within 90 days
Downloaded keys never expire on their own. Old ones are the ones nobody remembers giving out.
GET /v1/projects/{id}/serviceAccounts · GET /v1/projects/{id}/serviceAccounts/{sa}/keys?keyTypes=USER_MANAGED
Internet exposure
- No storage bucket is public
A bucket readable by allUsers is a data breach waiting for someone to find the name.
GET /storage/v1/b?project={id} · GET /storage/v1/b/{bucket}/iam
- SSH and RDP aren't open to the internet
Port 22 or 3389 open to 0.0.0.0/0 is scanned and brute-forced within minutes of going live.
GET /compute/v1/projects/{id}/global/firewalls
Databases & backups
- Databases aren't reachable from anywhere
A Cloud SQL instance with a public IP open to 0.0.0.0/0, or without SSL required, puts your data one password away from the internet.
GET /sql/v1/projects/{id}/instances
- Databases have automated backups
Without automated backups a bad migration or a deleted table is permanent.
GET /sql/v1/projects/{id}/instances
What we read
- Viewer (roles/viewer) — project IAM, buckets, firewall rules, Cloud SQL settings — no data inside them
- Security Reviewer (roles/iam.securityReviewer) — service accounts and when their keys were created
What we never read or do
- Data inside buckets, databases or VMs — Viewer and Security Reviewer only see configuration.
- Change anything: both roles are read-only.