github.com/khulnasoft-lab/defsec@v1.0.5-0.20230827010352-5e9f46893d95/rules/cloud/policies/aws/ssm/secret_use_customer_key.cf.go (about) 1 package ssm 2 3 var cloudFormationSecretUseCustomerKeyGoodExamples = []string{ 4 `--- 5 AWSTemplateFormatVersion: 2010-09-09 6 Description: Good example of ingress rule 7 Resources: 8 Secret: 9 Type: AWS::SecretsManager::Secret 10 Properties: 11 Description: "secret" 12 KmsKeyId: "my-key-id" 13 Name: "blah" 14 SecretString: "don't tell anyone" 15 `, 16 } 17 18 var cloudFormationSecretUseCustomerKeyBadExamples = []string{ 19 `--- 20 AWSTemplateFormatVersion: 2010-09-09 21 Description: Bad example of secret 22 Resources: 23 BadSecret: 24 Type: AWS::SecretsManager::Secret 25 Properties: 26 Description: "secret" 27 Name: "blah" 28 SecretString: "don't tell anyone" 29 `, 30 } 31 32 var cloudFormationSecretUseCustomerKeyLinks = []string{} 33 34 var cloudFormationSecretUseCustomerKeyRemediationMarkdown = ``