Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HarshVaragiya/aws-redteam-kit
/ functions
Functions
29 in github.com/HarshVaragiya/aws-redteam-kit
⨍
Functions
29
◇
Types & classes
1
↓ 3 callers
Function
getUserConfirmation
(action string)
KeySwitch/cmd/utils.go:27
↓ 2 callers
Method
GetAllEbsVolumes
(ctx context.Context)
KeySwitch/libebs/volumes.go:14
↓ 2 callers
Method
GetAllSnapshots
(ctx context.Context)
KeySwitch/libebs/snapshots.go:89
↓ 1 callers
Method
CreateEncryptedVolumeFromSnapshot
(ctx context.Context, snapshotIds chan string, kmsKeyArn string, volumeIds chan string, wg *sync.WaitGroup)
KeySwitch/libebs/volumes.go:44
↓ 1 callers
Method
CreateSnapshotsRequestForVolume
(ctx context.Context, volumeIds []string)
KeySwitch/libebs/snapshots.go:31
↓ 1 callers
Method
DeleteAllSnapshots
(ctx context.Context, wg *sync.WaitGroup)
KeySwitch/libebs/snapshots.go:117
↓ 1 callers
Function
PerformEbsReencryption
()
KeySwitch/cmd/ebs.go:52
↓ 1 callers
Function
SetupKmsKeyWithCks
(ctx context.Context)
KeySwitch/cmd/kms.go:57
↓ 1 callers
Function
SetupXks
(ctx context.Context)
KeySwitch/cmd/setup.go:61
↓ 1 callers
Method
WaitForAvailableSnapshots
(ctx context.Context, snapshotIds []string, availableSnapshotIds chan string, wg *sync.WaitGroup)
KeySwitch/libebs/snapshots.go:50
↓ 1 callers
Function
sanityCheckVariables
()
KeySwitch/cmd/utils.go:11
↓ 1 callers
Function
setDebugLevel
()
KeySwitch/cmd/utils.go:21
Method
DeleteVolumes
(ctx context.Context, volumes []string, wg *sync.WaitGroup)
KeySwitch/libebs/volumes.go:66
Method
DetachAllEbsVolumes
(ctx context.Context)
KeySwitch/libebs/volumes.go:82
Function
Execute
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
Function
GetDefaultAwsClientConfig
We have this centralized so we can modify it if required.
KeySwitch/libswitch/awsconf.go:11
Function
GetEbsVolumeIds
(volumes []types.Volume)
KeySwitch/libebs/utils.go:8
Method
ListAllEc2Instances
(ctx context.Context)
KeySwitch/libebs/ec2.go:12
Function
NewComputeKeySwitcher
(region string)
KeySwitch/libebs/snapshots.go:18
Method
StopAllEc2Instances
(instanceIDs []string)
KeySwitch/libebs/ec2.go:44
Function
init
()
KeySwitch/cmd/setup.go:52
Function
init
()
KeySwitch/cmd/dynamodb.go:45
Function
init
()
KeySwitch/cmd/s3.go:45
Function
init
()
KeySwitch/cmd/root.go:53
Function
init
()
KeySwitch/cmd/kms.go:50
Function
init
()
KeySwitch/cmd/ebs.go:48
Function
init
()
KeySwitch/cmd/rds.go:45
Function
init
()
KeySwitch/liblogger/init.go:11
Function
main
()
KeySwitch/main.go:26