Google Cloud · Enterprise security

Google Cloud Security Best Practices for Enterprise

Start with one application: separate its identities, protect its data paths and prove that responders can investigate.

Start with the permission that creates the risk

Harborlane, the illustrative company in this guide, finds an old service-account key in its delivery pipeline. The identity can deploy the customer portal and read unrelated customer documents. If the key escapes, a successful deployment offers little reassurance.

Optional overview: What is Security Command Center?, Google Cloud Tech, March 2024. The video introduces risk management; check current edition and activation details before expecting a particular feature.

The team’s first task is to remove that unnecessary access while keeping the service working. Use the same sequence for your review: identify the asset, constrain the actor, test the boundary and retain evidence.

Map the application and inherited controls

List production projects, runtimes, data stores, delivery systems, dependencies and owners. Classify important data and record the consequence of its loss or exposure.

Inspect effective IAM and organisation policies across organisation, folder and project levels. Parent-level grants can override the intended separation in a local design. Record who can change those controls and where production, test, networks and central logs belong.

Separate human, delivery and runtime access

Three identities with separate permissionsAn engineer receives approved temporary access. Delivery automation releases an approved image. The running application reads only required data and secrets. Each action needs protected audit evidence.EngineerDelivery automationRunning applicationManaged human identityApproved temporary accessScoped deployment identityRelease the approved imageDedicated runtime identityRequired data and secrets onlyProtect audit evidence · test allowed and denied actions
Read the diagram

Keep the engineer, delivery pipeline and running application as separate identities with separate permissions. Give each only the access required for its task, and keep protected audit evidence of consequential actions.

Constrain roles, impersonation and resource access for each identity, then test the boundary.

For people, use managed identities, strong authentication and group-based access. Limit broad basic roles; consider Privileged Access Manager for approved, time-bound administration.

Give delivery automation only its release permissions. For external CI, evaluate Workload Identity Federation with restricted issuers and workload attributes. Give the running application a separate identity for its required APIs, data and secrets.

In non-production, Harborlane tests the replacement pipeline and verifies that it cannot read customer documents. After identifying dependencies and recovery steps, it retires the old credential through a monitored change.

Prevent repeatable configuration mistakes

Use Organisation Policy for supported configuration guardrails, such as restrictions on service-account keys, exposure, locations or sharing. Check each constraint’s scope and effect on existing resources; adding a restriction may not repair what is already deployed.

Test an allowed and a prohibited configuration before wider enforcement. Put approved patterns into project templates and infrastructure review. Give every exception an owner, reason and review date.

Protect each data path

Document who initiates each connection, its destination and the required authorisation. Use suitable private connectivity for internal dependencies. For public traffic, apply supported Cloud Armor controls and test whether alternate backend paths bypass the intended edge.

For sensitive data in supported Google services, evaluate VPC Service Controls. Start in dry run and resolve legitimate workflows before enforcement. It adds a data perimeter alongside IAM; it does not replace application authorisation or packet firewall policy.

Operate secrets and keys deliberately

Store required third-party credentials in Secret Manager, restrict access and rehearse rotation without exposing replacements in logs. Where possible, eliminate downloaded service-account keys instead of relocating them.

Google Cloud encrypts customer content at rest by default. Choose customer-managed keys when a specific requirement justifies the additional ownership and recovery work. Loss or revocation of a required key can affect availability; include that dependency in recovery planning.

Test the runtime that actually serves users

Runtime evidence to collect
RuntimeVerify
Compute EnginePatched images, approved administration, intended exposure and attached identity.
GKECluster and Kubernetes access, workload identity and privileged-workload restrictions.
Cloud RunIngress, invocation policy, runtime identity, secrets and alternate entry paths.
AI agentUser context, tool authorisation, sensitive-data boundaries and required approvals.

Scan and test release artifacts, review infrastructure changes and deploy an identified image. Consider Binary Authorization where supported to enforce deployment policy. Retain runtime and recovery checks: an allowed image can still have application defects.

Give findings an owner and a response

Choose Security Command Center capabilities for your activation scope and edition. For each important finding, identify the affected service, exposure, sensitive data or permission, accountable owner and next action.

Prioritise demonstrated paths to valuable assets. Verify the risk after remediation and review exceptions rather than treating a closed ticket as evidence.

Prove the investigation path

Route important logs to protected destinations with deliberate access and retention. Confirm new projects are included. Cloud Audit Logs separates Admin Activity, Data Access, System Event and Policy Denied logs. Data Access logging is off by default for most services, with documented exceptions including BigQuery; check coverage and cost.

Using test data, make one authorised request and one deliberately denied request. Ask a responder to identify the actor, resource, time, action and result in the expected logs. Record gaps and the person responsible for fixing them.

Keep AI tool permissions outside the model

Retrieved documents can contain hostile instructions. They must not grant permission to retrieve records or change resources. Authorise tool calls in the tool or application layer, constrain inputs and require approval for consequential actions where appropriate.

Model Armor screens supported prompt and response risks; keep IAM, data boundaries and tool-side checks. Test prohibited actions and sensitive-data handling. Continue with the ADK and MCP production guide.

Turn the review into a short action list

  1. Baseline: inventory assets, effective access, exposure, credentials and logging gaps.
  2. Reduce risk: remove unnecessary privilege and credentials through tested changes.
  3. Prevent recurrence: add guardrails, templates and delivery checks with reviewed exceptions.
  4. Prove response: rehearse investigation, containment and recovery.

Give each action an owner and evidence of success. Use the production readiness checklist and architecture guide to connect these controls to the full service.

Official references for the controls you choose

Check the exact product, edition and configuration requirements before implementation.

Leave a Comment

Your email address will not be published. Required fields are marked *