What it does for you
Scanbe4 maps what your organization exposes to the internet. This connector adds what Google Cloud knows about yourcloud instances, so coverage gaps sit in the same workspace as your attack surface.
Every instance, every zone
Each Compute Engine instance in every zone of the projects you list (by default the key’s own project), with its internal and external IPs, its status and its zone.
Cloud machines with no agent
Instances are listed as devices without an agent. With an EDR connector, an instance that no EDR device matches by host name stays under No agent, so you see which cloud machines your EDR does not cover.
Host names that line up
The host name is the instance name, which is the default host name inside the machine and what an EDR agent reports, so the same machine is counted once.
Inventory, not coverage
Instances add devices, never coverage, and are never flagged Not in <tool>. Running, stopped or suspended is the instance status, not a protection status: it does not count as Offline or Needs attention.
What Scanbe4 reads
Read-only calls to the vendor’s cloud API, and nothing else:
- Sign-in
A token request signed with the key’s private key, at
oauth2.googleapis.com, for thecompute.readonlyscopeFields: None stored: sign-in only returns a short-lived access token, and the private key is never sent
- Compute Engine instances
GET /compute/v1/projects/<project>/aggregated/instancesoncompute.googleapis.com, every zone, 500 per page, for each projectFields: Instance ID, name, status, zone, project, internal and external IPs of every network interface, OS from the disk licence name when present
Scanbe4 stores only the fields above, and each sync replaces the previous rows. This connector never:
- Install anything on your devices or send traffic to them. Only the tool’s own API is called: the vendor’s cloud API, or for VMware vCenter and Proxmox VE the API of your own server, at the address you give.
- Change a setting, isolate a device, start a scan in your tool or uninstall an agent. It only calls read endpoints, and the setup asks for a read-only key.
- Read alerts, incidents, detections, files or e-mail.
Permissions you grant
Compute Viewer (roles/compute.viewer)IAM role for the service account, on each project (or a folder or organization above them)Read-only access to Compute Engine resources. Scanbe4 only lists instances.
- The service account needs no other role, and the connector asks Google only for the
compute.readonlyscope. - If your organization blocks service-account key creation (the
iam.disableServiceAccountKeyCreationpolicy), an administrator has to allow it for the project that holds the service account.
Projects: the key’s own project by default, or the project IDs you list (for example prod-web-123, shared-infra).
Set it up
In the Google Cloud console
- Open IAM & Admin › Service accounts › Create service account and name it “scanbe4-readonly”.
- Grant it the role Compute Viewer (
roles/compute.viewer) on each project to read, or on the folder or organization above them. - Open the service account’s Keys › Add key › Create new key, choose JSON, and keep the file that downloads.
Useful links: Google Cloud console: Service accounts · Google guide: create a service-account key
In Scanbe4
- Open Connectors (pinned in the sidebar), pick the tool and click Connect.
- Paste the whole JSON key file, from
{to}, and the project IDs to read if there are more than the key’s own project. Click Test connection: it connects and reads up to 5 rows per part, and saves nothing. - Click Save and sync. The first sync starts at once; devices appear on Assets and the dashboard when it finishes.
Setup for every connector is also covered in the connector documentation.
Sync and freshness
- Each connector syncs about every 24 hours. Sync now on the Connectors page starts one at once.
- Each sync replaces the rows of every part that worked. A part that fails keeps its last good rows, dated, and the connector card shows the error. Nothing is set to zero because a vendor API was down.
- Changing a setting or the secret starts a new sync. Pause stops syncing and keeps the data; Remove deletes the connector together with every device and account it brought in.
- An account can hold up to 10 connectors, including several of the same tool (one per tenant, for example).
Where the data appears
- Assets › Endpoints
Every device from your connectors (computers with an EDR agent, managed devices, virtual machines and cloud instances), counted once across tools: agent (installed or none), health, the tools that report it, OS, addresses and last-seen time. Filters for No agent, Needs attention, Offline 7+ days and, with two or more EDR connectors, Not in <tool>. Exports to CSV.
- Dashboard › Coverage
Devices reported, seen without an agent, needing attention and offline, each count linking to the filtered table.
- Connectors
Status (Connected, Partly working, Not working or Paused), the device count, time of the last sync, the last four characters of the secret, and the error of any part that failed.
The Endpoints and Identities tabs and the Coverage panel appear once a connector exists. Connector data belongs to your account as a whole, not to one monitored domain.
How the secret is stored
- The secret is encrypted with AES-256-GCM before it is stored.
- The API never returns it and the app never shows it again: at most its last four characters appear, so you can tell which key is in use.
- It is used only to authenticate to the vendor’s own API. It is never put in a URL or in an error message.
- Scanbe4 calls only the tool’s own hosts: fixed addresses for most vendors, and only host names that match the vendor’s pattern for the others (Cortex XDR, Sophos, SentinelOne, Bitdefender, Okta). Paging links are followed only on the host where paging started.
- VMware vCenter and Proxmox VE are called at the address you give, over HTTPS only, and only that address: no redirect is followed, and an address that points to Scanbe4’s own servers or networks, to a loopback or link-local address or to a cloud metadata service is refused. A certificate from your own authority is accepted only if you paste that authority’s certificate.
- Connecting, editing and removing a connector, and every Sync now, are written to the audit log. You see your own entries under Settings › My activity.
More on data handling on the security page.
Limitations
- Projects are not discovered: list every project ID to read. A role granted on a folder or organization still needs the projects named.
- Service-account JSON keys only: no workload identity federation.
- Only Compute Engine instances are read: not external IP addresses on their own, load balancers, Cloud DNS zones, Cloud Storage buckets, firewall rules, IAM or costs.
- Instances are not added as scan targets. Your scans keep covering the domains you monitor; adding cloud machines to them is on the roadmap.
- An instance given a custom host name reports that name to an EDR agent, not its instance name, so it can appear twice: once from Google Cloud, once from the EDR tool.
- A project that fails is reported on the connector card and the instances of the other projects are kept. For separate organizations, add one connector each (up to 10 connectors per account).
- Devices from connectors are listed next to the assets your scans find, not matched to them: Scanbe4 does not say which internet-facing host is which managed device.
- Devices are matched across tools by short host name, so
PC-042in one tool andpc-042.corp.localin another count as one device. Two different machines that share a short name are counted once too. - Data is as fresh as the last sync: about every 24 hours, or when you click Sync now.
- Each part reads up to 100,000 rows per sync (fewer for VMware vCenter and Proxmox VE, see their pages). The Assets tables list the first 5,000 rows; the counts include every row.
- Connector data is shown in the app and in its CSV exports. It is not part of the PDF report.
Frequently asked questions
Which role does the service account need?
roles/compute.viewer (Compute Viewer) on each project to read, or on a folder or organization above them. It is read-only.
Which projects are read?
The project the key belongs to, unless you list project IDs; then exactly those are read. Scanbe4 does not look for other projects on its own.
What do we paste?
The whole service-account JSON key file, from { to }. Its private key signs a short-lived token request to Google and is never sent. The key is stored encrypted and never shown again.
Will Scanbe4 scan our instances?
No. The connector only lists them; it sends no traffic to them and does not add them as scan targets. Scans cover the domains you monitor. Adding cloud machines to scans is on the roadmap.
How does Scanbe4 know an instance has no EDR agent?
Devices are matched across connectors by short host name. An instance whose name matches no device from your EDR connector is listed under No agent. Without an EDR connector, every instance is listed without an agent.
Can Scanbe4 start, stop or change our instances?
No. Compute Viewer cannot, the token Scanbe4 requests is limited to the compute.readonly scope, and it only lists instances.
Another question about Google Cloud? Ask the team.