Skip to content

hashicorp/policy-library-gcp-compute-terraform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

GCP Compute Sentinel Policies for Terraform

This library, provides prescriptive Terraform policies that can be used to establish secure Terraform configuration for Google Cloud Platform. The policies that are contained in this library are based on the CIS Google Cloud Computing Platform Benchmarks. Terraform Cloud/Enterprise users can use the policies in this library to establish a foundational level of security for the services that they are adopting in Google Cloud Platform.

NOTE:

This Policy Library is not an exhaustive list of all of possible security configurations and architecture that is available in Google Cloud Platform. If you have questions, comments, or have identified ways for us to improve this library, please create a new GitHub issue.

Alternatively, We welcome any contributions that improve the quality of this library! To learn more about contributing and suggesting changes to this library, refer to the contributing guide.


Policies included

  • Ensure VM disks for critical VMs are encrypted with Customer- Supplied Encryption Keys (CSEK) (docs | code)
  • Ensure oslogin is enabled for a Project (docs | code)
  • Ensure 'Enable connecting to serial ports' is not enabled for VM Instance (docs | code)
  • Ensure "Block Project-wide SSH keys" enabled for VM instances (docs | code)
  • Ensure that IP forwarding is not enabled on Instances (docs | code)

About

Prescriptive Sentinel policies that can be used to establish secure Terraform configuration for compute infrastructure on Google Cloud Platform.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published