github.com/khulnasoft-lab/defsec@v1.0.5-0.20230827010352-5e9f46893d95/avd_docs/google/gke/AVD-GCP-0047/Terraform.md (about)

     1  
     2  Use security policies for pods to restrict permissions to those needed to be effective
     3  
     4  ```hcl
     5   resource "google_container_cluster" "good_example" {
     6   	pod_security_policy_config {
     7           enabled = "true"
     8   	}
     9   }
    10  ```
    11  
    12  #### Remediation Links
    13   - https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/container_cluster#pod_security_policy_config
    14