Documentation
¶
Index ¶
- func CheckIfBucketInOneZone(checkConfig commons.CheckConfig, buckets BucketAndNotInRegion, testName string)
- func CheckIfBucketObjectVersioningEnabled(checkConfig commons.CheckConfig, buckets []S3ToVersioning, testName string)
- func CheckIfObjectLockConfigurationEnabled(checkConfig commons.CheckConfig, buckets []S3ToObjectLock, testName string)
- func CheckIfS3PublicAccessBlockEnabled(checkConfig commons.CheckConfig, s3toPublicBlockAccess []S3toPublicBlockAccess, ...)
- func CheckS3Location(s aws.Config, bucket, region string) bool
- func GetListS3(s aws.Config) []types.Bucket
- func GetListS3NotInRegion(s aws.Config, region string) []types.Bucket
- func OnlyBucketInRegion(BucketAndNotInRegion BucketAndNotInRegion) []types.Bucket
- func RunChecks(wa *sync.WaitGroup, s aws.Config, c *commons.Config, ...)
- type BucketAndNotInRegion
- type S3ToEncryption
- type S3ToObjectLock
- type S3ToVersioning
- type S3toPublicBlockAccess
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckIfBucketInOneZone ¶
func CheckIfBucketInOneZone(checkConfig commons.CheckConfig, buckets BucketAndNotInRegion, testName string)
func CheckIfBucketObjectVersioningEnabled ¶
func CheckIfBucketObjectVersioningEnabled(checkConfig commons.CheckConfig, buckets []S3ToVersioning, testName string)
func CheckIfObjectLockConfigurationEnabled ¶
func CheckIfObjectLockConfigurationEnabled(checkConfig commons.CheckConfig, buckets []S3ToObjectLock, testName string)
func CheckIfS3PublicAccessBlockEnabled ¶
func CheckIfS3PublicAccessBlockEnabled(checkConfig commons.CheckConfig, s3toPublicBlockAccess []S3toPublicBlockAccess, testName string)
func OnlyBucketInRegion ¶
func OnlyBucketInRegion(BucketAndNotInRegion BucketAndNotInRegion) []types.Bucket
Types ¶
type BucketAndNotInRegion ¶
type S3ToEncryption ¶
func GetS3ToEncryption ¶
func GetS3ToEncryption(s aws.Config, b []types.Bucket) []S3ToEncryption
type S3ToObjectLock ¶
func GetS3ToObjectLock ¶
func GetS3ToObjectLock(s aws.Config, b []types.Bucket) []S3ToObjectLock
type S3ToVersioning ¶
func GetS3ToVersioning ¶
func GetS3ToVersioning(s aws.Config, b []types.Bucket) []S3ToVersioning
type S3toPublicBlockAccess ¶
func GetS3ToPublicBlockAccess ¶
func GetS3ToPublicBlockAccess(s aws.Config, b []types.Bucket) []S3toPublicBlockAccess
Click to show internal directories.
Click to hide internal directories.