What problem does it solve?
Cloud environments often drift into risky configurations because individual projects can enable public IPs, weak IAM practices, or unapproved regions. This Skill provides the commands, Terraform code, and verification steps to enforce organization-wide guardrails in GCP so security policies apply consistently at organization, folder, and project levels.
Core Features & Use Cases
- Essential Security Constraints: Ready-to-use policies for blocking VM external IPs, restricting resource locations, disabling service account key creation, requiring OS Login, and enforcing uniform bucket-level access.
- Terraform and gcloud Implementations: Apply constraints via infrastructure-as-code or CLI, including dry-run testing with Policy Intelligence before enforcement.
- Misconfiguration Detection: Guidance for auditing dry-run-only policies, child overrides that weaken org guardrails, and inverted list constraints using effective-policy queries.
- Use Case: A security engineer needs to prevent any VM in the organization from receiving a public IP. Use this Skill to set the compute.vmExternalIpAccess deny policy at the org level, test it in dry-run mode, and verify enforcement with Cloud Asset Inventory.
Quick Start
Ask the AI to generate a GCP organization policy that denies external IP addresses on all VMs and show how to verify it is enforced.