github.com/khulnasoft-lab/defsec@v1.0.5-0.20230827010352-5e9f46893d95/rules/cloud/policies/github/branch_protections/require_signed_commits.tf.go (about) 1 package branch_protections 2 3 var terraformRequireSignedCommitsGoodExamples = []string{ 4 ` 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 var terraformRequireSignedCommitsBadExamples = []string{ 15 ` 16 resource "github_branch_protection" "good_example" { 17 repository_id = "example" 18 pattern = "main" 19 20 require_signed_commits = false 21 } 22 `, 23 } 24 25 var terraformRequireSignedCommitsLinks = []string{ 26 `https://registry.terraform.io/providers/integrations/github/latest/docs/resources/branch_protection`, 27 } 28 29 var terraformRequireSignedCommitsRemediationMarkdown = ``