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

     1  package kinesis
     2  
     3  var cloudFormationEnableInTransitEncryptionGoodExamples = []string{
     4  	`---
     5  Resources:
     6    GoodExample:
     7      Type: AWS::Kinesis::Stream
     8      Properties:
     9        Name: GoodExample
    10        RetentionPeriodHours: 168
    11        ShardCount: 3
    12        StreamEncryption:
    13          EncryptionType: KMS
    14          KeyId: alis/key
    15        Tags:
    16          -
    17            Key: Environment 
    18            Value: Production
    19  `,
    20  }
    21  
    22  var cloudFormationEnableInTransitEncryptionBadExamples = []string{
    23  	`---
    24  Resources:
    25    BadExample:
    26      Type: AWS::Kinesis::Stream
    27      Properties:
    28        Name: BadExample
    29        RetentionPeriodHours: 168
    30        ShardCount: 3
    31        Tags:
    32          -
    33            Key: Environment 
    34            Value: Production
    35  
    36  `,
    37  }
    38  
    39  var cloudFormationEnableInTransitEncryptionLinks = []string{}
    40  
    41  var cloudFormationEnableInTransitEncryptionRemediationMarkdown = ``