Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bucket ¶
type Bucket struct { Metadata defsecTypes.Metadata Name defsecTypes.StringValue PublicAccessBlock *PublicAccessBlock BucketPolicies []iam.Policy Encryption Encryption Versioning Versioning Logging Logging ACL defsecTypes.StringValue BucketLocation defsecTypes.StringValue AccelerateConfigurationStatus defsecTypes.StringValue LifecycleConfiguration []Rules Objects []Contents Website *Website }
func (*Bucket) HasPublicExposureACL ¶
type Contents ¶ added in v0.0.2
type Contents struct {
Metadata defsecTypes.Metadata
}
type Encryption ¶
type Encryption struct { Metadata defsecTypes.Metadata Enabled defsecTypes.BoolValue Algorithm defsecTypes.StringValue KMSKeyId defsecTypes.StringValue }
type Logging ¶
type Logging struct { Metadata defsecTypes.Metadata Enabled defsecTypes.BoolValue TargetBucket defsecTypes.StringValue }
type PublicAccessBlock ¶
type PublicAccessBlock struct { Metadata defsecTypes.Metadata BlockPublicACLs defsecTypes.BoolValue BlockPublicPolicy defsecTypes.BoolValue IgnorePublicACLs defsecTypes.BoolValue RestrictPublicBuckets defsecTypes.BoolValue }
func NewPublicAccessBlock ¶ added in v0.0.2
func NewPublicAccessBlock(metadata defsecTypes.Metadata) PublicAccessBlock
type Rules ¶ added in v0.0.2
type Rules struct { Metadata defsecTypes.Metadata Status defsecTypes.StringValue }
type Versioning ¶
type Versioning struct { Metadata defsecTypes.Metadata Enabled defsecTypes.BoolValue MFADelete defsecTypes.BoolValue }
type Website ¶ added in v0.0.2
type Website struct {
Metadata defsecTypes.Metadata
}
Click to show internal directories.
Click to hide internal directories.