Documentation ¶
Index ¶
- func GCSBucketEncryptionEnabled(resource commons.Resource) bool
- func GCSBucketNoPublicAccess(resource commons.Resource) bool
- func GCSBucketVersioningEnabled(resource commons.Resource) bool
- func GetBucketPolicy(account internal.GCPAccount, client *storage.Client, bucket string) iam.Policy
- func GetBuckets(account internal.GCPAccount, client *storage.Client) []storage.BucketAttrs
- func RunChecks(wa *sync.WaitGroup, account internal.GCPAccount, c *commons.Config, ...)
- type GCSBucket
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GCSBucketEncryptionEnabled ¶ added in v1.2.0
func GCSBucketNoPublicAccess ¶ added in v1.2.0
TODO: avoid to do one API call per bucket
func GCSBucketVersioningEnabled ¶ added in v1.2.0
func GetBucketPolicy ¶ added in v1.2.0
func GetBuckets ¶
func GetBuckets(account internal.GCPAccount, client *storage.Client) []storage.BucketAttrs
Types ¶
Click to show internal directories.
Click to hide internal directories.