s3

package
v0.86.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2023 License: MIT Imports: 2 Imported by: 1

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
}

func (*Bucket) HasPublicExposureACL

func (b *Bucket) HasPublicExposureACL() bool

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.69.0

func NewPublicAccessBlock(metadata defsecTypes.Metadata) PublicAccessBlock

type S3

type S3 struct {
	Buckets []Bucket
}

type Versioning

type Versioning struct {
	Metadata  defsecTypes.Metadata
	Enabled   defsecTypes.BoolValue
	MFADelete defsecTypes.BoolValue
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL