s3

package
v0.94.1 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2024 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
	BucketLocation                defsecTypes.StringValue
	AccelerateConfigurationStatus defsecTypes.StringValue
	LifecycleConfiguration        []Rules
	Objects                       []Contents
	Website                       *Website
}

func (*Bucket) HasPublicExposureACL

func (b *Bucket) HasPublicExposureACL() bool

type Contents added in v0.87.0

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

func NewPublicAccessBlock(metadata defsecTypes.Metadata) PublicAccessBlock

type Rules added in v0.87.0

type Rules struct {
	Metadata defsecTypes.Metadata
	Status   defsecTypes.StringValue
}

type S3

type S3 struct {
	Buckets []Bucket
}

type Versioning

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

type Website added in v0.87.0

type Website struct {
	Metadata defsecTypes.Metadata
}

Jump to

Keyboard shortcuts

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