What Proofline reads from Google Cloud#
- Cloud Run services and revisions: nonsecret configuration, scaling, readiness, desired and serving traffic, and environment variable names with the secret references they use.
- Cloud SQL instances: engine and version, lifecycle state, tier, availability, backups, network and SSL settings, and connection-related database flags such as
max_connections. - Compute Engine VPC firewall rules, and the Cloud Routers and Cloud NAT settings in the project's region. It reads no instances.
- Pub/Sub topics and subscriptions by name, with the IAM policy on each.
- Cloud Build builds that wait for a deployment gate's approval, with their status, trigger, service account, source revision and substitutions.
Kian reads Cloud Run, Cloud SQL, Compute Engine and Pub/Sub only in a project you enroll. Check the scope of each integration.
A pool that outgrows the database#
In this illustrative example, a pull request raises the database pool of an orders service on Cloud Run from 10 to 25 connections per instance.
Kian's inventory records a maximum of 10 instances for the service, and max_connections set to 200 on the project's Cloud SQL instance. At full scale, the service's pools could open 250 connections, more than the instance accepts.
The finding cites the pool setting in the diff, the service's instance limit and the database flag. It suggests a smaller pool, a lower instance limit or a higher connection limit. Configuration alone does not show how many instances run at once or how many connections other clients hold.
Access without a stored key#
The Google Cloud setup gives you an installer to review and apply in your own project. It creates a workload identity pool and a service account with read permissions.
Proofline exchanges its own identity for a short-lived Google token each time it reads. It stores no Google key, and it never caches the token.
When a source cannot be read, Proofline marks the review incomplete and names that source.
Questions#
Does Proofline store a Google Cloud service account key?
No. Proofline uses workload identity federation to get a short-lived token for each read, and keeps no key.
Can Proofline see secret values in Cloud Run?
No. Proofline reads Cloud Run environment variable names, and for secret-backed variables the secret and version they reference. It never reads the values.
Which Google Cloud services can Proofline read?
Kian reads Cloud Run, Cloud SQL, Compute Engine firewall rules and Cloud NAT, and Pub/Sub topics and subscriptions in an enrolled project. A deployment gate reads the Cloud Build build it holds.