Services
All 13 Google Cloud services on GCP Hardening, by category: governance and logging, identity, network, data, compute and containers.
13 services / 5 categories / 143 controls
Governance and logging
The hierarchy and org policies every project inherits, the audit trail, and posture findings.
- 01Resource Manager and Organization PolicyHarden the Google Cloud organization: folder hierarchy, super admins, admin groups, default roles, liens, org policy constraints and a CIS audit workflow.
iam.managed.allowedPolicyMembersiam.managed.allowedPolicyMembers11 baseline controls - 02Cloud Audit Logs and Cloud LoggingEnable Data Access audit logs, route an org-wide sink to a locked, CMEK-protected log bucket, guard exclusions and build the CIS 2.5 to 2.12 alerts.
gcloud logging sinks create --include-childrengcloud logging sinks create --include-children12 baseline controls - 03Security Command CenterRun Security Command Center at org level: tiers, Security Health Analytics, threat detection, custom modules, mute rules, exports, postures and IAM.
gcloud scc muteconfigs creategcloud scc muteconfigs create10 baseline controls
Identity and secrets
Least-privilege IAM, workloads without long-lived keys, and secrets out of code and env vars.
- 04IAMLeast privilege in Google Cloud IAM: basic roles, recommendations, deny policies, PAM, service accounts and keys, Workload Identity Federation, API keys.
iam.managed.disableServiceAccountKeyCreationiam.managed.disableServiceAccountKeyCreation12 baseline controls - 05Secret ManagerHarden Secret Manager: per-secret IAM, replication and CMEK, rotation with Pub/Sub, version destruction, audit logs and Cloud Run or GKE consumption.
roles/secretmanager.secretAccessorroles/secretmanager.secretAccessor9 baseline controls
Network
Firewall policy, private egress and service perimeters around sensitive APIs.
- 06VPC and firewall rulesHarden VPC networks: default network, firewall policies, IAP for SSH and RDP, flow logs, Private Google Access, Cloud NAT, Cloud DNS and SSL policies.
compute.vmExternalIpAccesscompute.vmExternalIpAccess12 baseline controls - 07VPC Service ControlsBuild VPC Service Controls perimeters safely: access policies, access levels, ingress and egress rules, dry run, restricted VIP, violation analysis and CIS 3.8.
restricted.googleapis.comrestricted.googleapis.com9 baseline controls
Data
Buckets, encryption keys you control and databases without public endpoints.
- 08Cloud StorageSecure Cloud Storage buckets: public access prevention, uniform bucket-level access, precise IAM, HMAC keys, soft delete, Bucket Lock, CMEK and access logging.
storage.publicAccessPreventionstorage.publicAccessPrevention11 baseline controls - 09Cloud KMSHarden Cloud KMS and CMEK: key project layout, separation of duties, rotation, destruction safeguards, Autokey, org policies requiring CMEK, and key monitoring.
gcp.restrictNonCmekServicesgcp.restrictNonCmekServices10 baseline controls - 10Cloud SQLHarden Cloud SQL: private IP or PSC, no 0.0.0.0/0 authorized networks, SSL mode, Auth Proxy, IAM database auth, engine flags, pgAudit, backups and CMEK.
sql.restrictPublicIpsql.restrictPublicIp12 baseline controls
Compute and containers
Virtual machines, Kubernetes clusters and serverless services with hardened defaults.
- 11Compute EngineHarden Compute Engine VMs: dedicated service accounts, OS Login with 2SV, no external IPs, Shielded and Confidential VM, serial port, patching and CMEK disks.
enable-oslogin=TRUEenable-oslogin=TRUE12 baseline controls - 12GKEHarden GKE clusters: private nodes, DNS-based control plane, Workload Identity Federation, node service accounts, RBAC, Pod Security and secrets encryption.
--enable-private-nodes--enable-private-nodes12 baseline controls - 13Cloud Run and Cloud FunctionsHarden Cloud Run and Cloud Run functions: runtime service accounts, ingress, invoker IAM, IAP, VPC egress, secrets, Binary Authorization, CMEK and org policies.
run.allowedIngressrun.allowedIngress11 baseline controls