Documentation
¶
Index ¶
- func CheckIfACLUsed(checkConfig commons.CheckConfig, d []SummaryToConfig, testName string)
- func CheckIfCloudfrontTLS1_2Minimum(checkConfig commons.CheckConfig, d []types.DistributionSummary, ...)
- func CheckIfCookieLogginEnabled(checkConfig commons.CheckConfig, d []SummaryToConfig, testName string)
- func CheckIfHTTPSOnly(checkConfig commons.CheckConfig, d []types.DistributionSummary, ...)
- func CheckIfStandardLogginEnabled(checkConfig commons.CheckConfig, d []SummaryToConfig, testName string)
- func GetAllCloudfront(svc CloudfrontGetObjectApi) []types.DistributionSummary
- func RunChecks(wa *sync.WaitGroup, s aws.Config, c *commons.Config, ...)
- type CloudfrontGetObjectApi
- type SummaryToConfig
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 GetAllCloudfront ¶
func GetAllCloudfront(svc CloudfrontGetObjectApi) []types.DistributionSummary
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
}
func GetAllDistributionConfig ¶
func GetAllDistributionConfig(svc CloudfrontGetObjectApi, ds []types.DistributionSummary) []SummaryToConfig
Click to show internal directories.
Click to hide internal directories.