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

     1  package bigquery
     2  
     3  import (
     4  	defsecTypes "github.com/khulnasoft-lab/defsec/pkg/types"
     5  )
     6  
     7  type BigQuery struct {
     8  	Datasets []Dataset
     9  }
    10  
    11  type Dataset struct {
    12  	Metadata     defsecTypes.Metadata
    13  	ID           defsecTypes.StringValue
    14  	AccessGrants []AccessGrant
    15  }
    16  
    17  const (
    18  	SpecialGroupAllAuthenticatedUsers = "allAuthenticatedUsers"
    19  )
    20  
    21  type AccessGrant struct {
    22  	Metadata     defsecTypes.Metadata
    23  	Role         defsecTypes.StringValue
    24  	Domain       defsecTypes.StringValue
    25  	SpecialGroup defsecTypes.StringValue
    26  }