github.com/khulnasoft-lab/defsec@v1.0.5-0.20230827010352-5e9f46893d95/pkg/providers/aws/documentdb/documentdb.go (about)

     1  package documentdb
     2  
     3  import (
     4  	defsecTypes "github.com/khulnasoft-lab/defsec/pkg/types"
     5  )
     6  
     7  type DocumentDB struct {
     8  	Clusters []Cluster
     9  }
    10  
    11  const (
    12  	LogExportAudit    = "audit"
    13  	LogExportProfiler = "profiler"
    14  )
    15  
    16  type Cluster struct {
    17  	Metadata              defsecTypes.Metadata
    18  	Identifier            defsecTypes.StringValue
    19  	EnabledLogExports     []defsecTypes.StringValue
    20  	BackupRetentionPeriod defsecTypes.IntValue
    21  	Instances             []Instance
    22  	StorageEncrypted      defsecTypes.BoolValue
    23  	KMSKeyID              defsecTypes.StringValue
    24  }
    25  
    26  type Instance struct {
    27  	Metadata defsecTypes.Metadata
    28  	KMSKeyID defsecTypes.StringValue
    29  }