MCPcopy Create free account

hub / github.com/HarshVaragiya/aws-redteam-kit / functions

Functions29 in github.com/HarshVaragiya/aws-redteam-kit

↓ 3 callersFunctiongetUserConfirmation
(action string)
KeySwitch/cmd/utils.go:27
↓ 2 callersMethodGetAllEbsVolumes
(ctx context.Context)
KeySwitch/libebs/volumes.go:14
↓ 2 callersMethodGetAllSnapshots
(ctx context.Context)
KeySwitch/libebs/snapshots.go:89
↓ 1 callersMethodCreateEncryptedVolumeFromSnapshot
(ctx context.Context, snapshotIds chan string, kmsKeyArn string, volumeIds chan string, wg *sync.WaitGroup)
KeySwitch/libebs/volumes.go:44
↓ 1 callersMethodCreateSnapshotsRequestForVolume
(ctx context.Context, volumeIds []string)
KeySwitch/libebs/snapshots.go:31
↓ 1 callersMethodDeleteAllSnapshots
(ctx context.Context, wg *sync.WaitGroup)
KeySwitch/libebs/snapshots.go:117
↓ 1 callersFunctionPerformEbsReencryption
()
KeySwitch/cmd/ebs.go:52
↓ 1 callersFunctionSetupKmsKeyWithCks
(ctx context.Context)
KeySwitch/cmd/kms.go:57
↓ 1 callersFunctionSetupXks
(ctx context.Context)
KeySwitch/cmd/setup.go:61
↓ 1 callersMethodWaitForAvailableSnapshots
(ctx context.Context, snapshotIds []string, availableSnapshotIds chan string, wg *sync.WaitGroup)
KeySwitch/libebs/snapshots.go:50
↓ 1 callersFunctionsanityCheckVariables
()
KeySwitch/cmd/utils.go:11
↓ 1 callersFunctionsetDebugLevel
()
KeySwitch/cmd/utils.go:21
MethodDeleteVolumes
(ctx context.Context, volumes []string, wg *sync.WaitGroup)
KeySwitch/libebs/volumes.go:66
MethodDetachAllEbsVolumes
(ctx context.Context)
KeySwitch/libebs/volumes.go:82
FunctionExecute
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the r
KeySwitch/cmd/root.go:46
FunctionGetDefaultAwsClientConfig
We have this centralized so we can modify it if required.
KeySwitch/libswitch/awsconf.go:11
FunctionGetEbsVolumeIds
(volumes []types.Volume)
KeySwitch/libebs/utils.go:8
MethodListAllEc2Instances
(ctx context.Context)
KeySwitch/libebs/ec2.go:12
FunctionNewComputeKeySwitcher
(region string)
KeySwitch/libebs/snapshots.go:18
MethodStopAllEc2Instances
(instanceIDs []string)
KeySwitch/libebs/ec2.go:44
Functioninit
()
KeySwitch/cmd/setup.go:52
Functioninit
()
KeySwitch/cmd/dynamodb.go:45
Functioninit
()
KeySwitch/cmd/s3.go:45
Functioninit
()
KeySwitch/cmd/root.go:53
Functioninit
()
KeySwitch/cmd/kms.go:50
Functioninit
()
KeySwitch/cmd/ebs.go:48
Functioninit
()
KeySwitch/cmd/rds.go:45
Functioninit
()
KeySwitch/liblogger/init.go:11
Functionmain
()
KeySwitch/main.go:26