github.com/khulnasoft-lab/defsec@v1.0.5-0.20230827010352-5e9f46893d95/avd_docs/github/branch_protections/AVD-GIT-0004/Terraform.md (about)

     1  
     2  Require signed commits
     3  
     4  ```hcl
     5   resource "github_branch_protection" "good_example" {
     6     repository_id = "example"
     7     pattern       = "main"
     8  
     9     require_signed_commits = true
    10   }
    11   
    12  ```
    13  
    14  #### Remediation Links
    15   - https://registry.terraform.io/providers/integrations/github/latest/docs/resources/branch_protection
    16