cloudfront

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckIfACLUsed

func CheckIfACLUsed(checkConfig commons.CheckConfig, d []SummaryToConfig, testName string)

func CheckIfCloudfrontTLS1_2Minimum

func CheckIfCloudfrontTLS1_2Minimum(checkConfig commons.CheckConfig, d []types.DistributionSummary, testName string)

func CheckIfCookieLogginEnabled

func CheckIfCookieLogginEnabled(checkConfig commons.CheckConfig, d []SummaryToConfig, testName string)

func CheckIfHTTPSOnly

func CheckIfHTTPSOnly(checkConfig commons.CheckConfig, d []types.DistributionSummary, testName string)

func CheckIfStandardLogginEnabled

func CheckIfStandardLogginEnabled(checkConfig commons.CheckConfig, d []SummaryToConfig, testName string)

func RunChecks

func RunChecks(wa *sync.WaitGroup, s aws.Config, c *commons.Config, queue chan []commons.Check)

Types

type CloudfrontGetObjectApi

type CloudfrontGetObjectApi interface {
	GetDistributionConfig(ctx context.Context, params *cloudfront.GetDistributionConfigInput, optFns ...func(*cloudfront.Options)) (*cloudfront.GetDistributionConfigOutput, error)
	ListDistributions(ctx context.Context, params *cloudfront.ListDistributionsInput, optFns ...func(*cloudfront.Options)) (*cloudfront.ListDistributionsOutput, error)
}

type SummaryToConfig

type SummaryToConfig struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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