github.com/khulnasoft-lab/defsec@v1.0.5-0.20230827010352-5e9f46893d95/pkg/providers/aws/elasticache/elasticache.go (about) 1 package elasticache 2 3 import ( 4 defsecTypes "github.com/khulnasoft-lab/defsec/pkg/types" 5 ) 6 7 type ElastiCache struct { 8 Clusters []Cluster 9 ReplicationGroups []ReplicationGroup 10 SecurityGroups []SecurityGroup 11 } 12 13 type Cluster struct { 14 Metadata defsecTypes.Metadata 15 Engine defsecTypes.StringValue 16 NodeType defsecTypes.StringValue 17 SnapshotRetentionLimit defsecTypes.IntValue // days 18 } 19 20 type ReplicationGroup struct { 21 Metadata defsecTypes.Metadata 22 TransitEncryptionEnabled defsecTypes.BoolValue 23 AtRestEncryptionEnabled defsecTypes.BoolValue 24 } 25 26 type SecurityGroup struct { 27 Metadata defsecTypes.Metadata 28 Description defsecTypes.StringValue 29 }