acm

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 CheckIfACMInUse

func CheckIfACMInUse(checkConfig commons.CheckConfig, certificates []types.CertificateDetail, testName string)

func CheckIfACMValid

func CheckIfACMValid(checkConfig commons.CheckConfig, certificates []types.CertificateDetail, testName string)

func CheckIfCertificateExpiresIn90Days

func CheckIfCertificateExpiresIn90Days(checkConfig commons.CheckConfig, certificates []types.CertificateDetail, testName string)

func GetCertificates

func GetCertificates(svc ACMGetObjectAPI) []types.CertificateDetail

func RunChecks

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

Types

type ACMGetObjectAPI

type ACMGetObjectAPI interface {
	ListCertificates(ctx context.Context, params *acm.ListCertificatesInput, optFns ...func(*acm.Options)) (*acm.ListCertificatesOutput, error)
	DescribeCertificate(ctx context.Context, params *acm.DescribeCertificateInput, optFns ...func(*acm.Options)) (*acm.DescribeCertificateOutput, error)
}

Jump to

Keyboard shortcuts

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