github.com/khulnasoft-lab/defsec@v1.0.5-0.20230827010352-5e9f46893d95/rules/cloud/policies/aws/athena/enable_at_rest_encryption.cf.go (about)

     1  package athena
     2  
     3  var cloudFormationEnableAtRestEncryptionGoodExamples = []string{
     4  	`---
     5  Resources:
     6    GoodExample:
     7      Properties:
     8        Name: goodExample
     9        WorkGroupConfiguration:
    10          ResultConfiguration:
    11            EncryptionConfiguration:
    12              EncryptionOption: SSE_KMS
    13      Type: AWS::Athena::WorkGroup
    14  `,
    15  }
    16  
    17  var cloudFormationEnableAtRestEncryptionBadExamples = []string{
    18  	`---
    19  Resources:
    20    BadExample:
    21      Properties:
    22        Name: badExample
    23        WorkGroupConfiguration:
    24          ResultConfiguration:
    25      Type: AWS::Athena::WorkGroup
    26  `,
    27  }
    28  
    29  var cloudFormationEnableAtRestEncryptionLinks = []string{}
    30  
    31  var cloudFormationEnableAtRestEncryptionRemediationMarkdown = ``