Documentation ¶
Index ¶
- func CheckIfBucketNoReplicationOtherRegion(checkConfig commons.CheckConfig, buckets []S3ToReplicationOtherRegion, ...)
- 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, string)
- 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 S3ToReplicationOtherRegion
- type S3ToVersioning
- type S3toPublicBlockAccess
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckIfBucketNoReplicationOtherRegion ¶ added in v1.6.0
func CheckIfBucketNoReplicationOtherRegion(checkConfig commons.CheckConfig, buckets []S3ToReplicationOtherRegion, 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 CheckS3Location ¶
Return true if the bucket is in the region, false with the correct region if not
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 S3ToReplicationOtherRegion ¶ added in v1.6.0
type S3ToReplicationOtherRegion struct { BucketName string ReplicatedOtherRegion bool OtherRegion string }
func GetS3ToReplicationOtherRegion ¶ added in v1.6.0
func GetS3ToReplicationOtherRegion(s aws.Config, b []types.Bucket) []S3ToReplicationOtherRegion
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.