github.com/khulnasoft-lab/defsec@v1.0.5-0.20230827010352-5e9f46893d95/rules/cloud/policies/aws/kms/auto_rotate_keys.tf.go (about)

     1  package kms
     2  
     3  var terraformAutoRotateKeysGoodExamples = []string{
     4  	`
     5   resource "aws_kms_key" "good_example" {
     6   	enable_key_rotation = true
     7   }
     8   `,
     9  }
    10  
    11  var terraformAutoRotateKeysBadExamples = []string{
    12  	`
    13   resource "aws_kms_key" "bad_example" {
    14   	enable_key_rotation = false
    15   }
    16   `,
    17  }
    18  
    19  var terraformAutoRotateKeysLinks = []string{
    20  	`https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/kms_key#enable_key_rotation`,
    21  }
    22  
    23  var terraformAutoRotateKeysRemediationMarkdown = ``