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

     1  package storage
     2  
     3  import (
     4  	"github.com/khulnasoft-lab/defsec/pkg/providers/google/iam"
     5  	defsecTypes "github.com/khulnasoft-lab/defsec/pkg/types"
     6  )
     7  
     8  type Storage struct {
     9  	Buckets []Bucket
    10  }
    11  
    12  type Bucket struct {
    13  	Metadata                       defsecTypes.Metadata
    14  	Name                           defsecTypes.StringValue
    15  	Location                       defsecTypes.StringValue
    16  	EnableUniformBucketLevelAccess defsecTypes.BoolValue
    17  	Members                        []iam.Member
    18  	Bindings                       []iam.Binding
    19  	Encryption                     BucketEncryption
    20  }
    21  
    22  type BucketEncryption struct {
    23  	Metadata          defsecTypes.Metadata
    24  	DefaultKMSKeyName defsecTypes.StringValue
    25  }