utils

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BlockBuckets

func BlockBuckets(ctx context.Context, s3Client *s3.Client, bucketsToBlock []string, dryRun bool)

func Complement

func Complement[T comparable](slice []T, toRemove []T) []T

func FindBucketsToBlock

func FindBucketsToBlock(ctx context.Context, securityHubClient *securityhub.Client, s3Client *s3.Client, cfnClient *cloudformation.Client, bucketCount int32, exclusions []string) ([]string, error)

func LoadDefaultConfig

func LoadDefaultConfig(ctx context.Context, profile string, region string) (aws.Config, error)

func ParseArgs

func ParseArgs() cliArgs

func SplitAndTrim

func SplitAndTrim(str string) []string

Types

This section is empty.

Jump to

Keyboard shortcuts

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