Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BucketAuditor ¶
type BucketAuditor struct{}
func New ¶
func New() *BucketAuditor
func (*BucketAuditor) Report ¶
func (auditor *BucketAuditor) Report(bucketName string, accountID string, region string) BucketReport
type BucketReport ¶
type BucketReport struct { Name string `json:"name"` AccountID string `json:"accountId"` Region string `json:"region"` ServerSideEncryptionEnabled bool `json:"serverSideEncryptionEnabled"` // EncryptionKeyType KeyType `json:"-"` CustomerManagedKey bool `json:"customerManagedKey"` VersioningEnabled bool `json:"versioningEnabled"` MFADelete bool `json:"mfaDelete"` PolicyDenyHTTP bool `json:"policyDenyHttp"` BlockPublicAccess struct { BlockPublicAcls bool `json:"blockPublicAcls"` BlockPublicPolicy bool `json:"blockPublicPolicy"` IgnorePublicAcls bool `json:"ignorePublicAcls"` RestrictPublicBuckets bool `json:"restrictPublicBuckets"` } }
Click to show internal directories.
Click to hide internal directories.