awsconnector

package
v0.0.0-...-b2aad83 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2024 License: GPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ActionsMap  map[string][]string
	ActionsList []string // len(unique(ActionList)) ~= 13k
	Conditions  map[string]string
)
View Source
var IAMActionResourceMap = map[string]string{}/* 159 elements not displayed */

This is far from perfect: only User, Group, Role and Policy is supported and action with multiple targets are simply "*"

Functions

func SetActions

func SetActions()

Types

type AWSConfig

type AWSConfig struct {
	Profile string
	aws.Config
	// contains filtered or unexported fields
}

func InitAWSConfiguration

func InitAWSConfiguration(profile string, awsEndpoint string) (awsc *AWSConfig)

func (*AWSConfig) DumpAll

func (ac *AWSConfig) DumpAll() map[string]interface{}

func (*AWSConfig) DumpBuckets

func (ac *AWSConfig) DumpBuckets() interface{}

func (*AWSConfig) DumpCredentialReport

func (ac *AWSConfig) DumpCredentialReport() interface{}

func (*AWSConfig) DumpDynamoDBs

func (ac *AWSConfig) DumpDynamoDBs() interface{}

func (*AWSConfig) DumpEC2Instances

func (ac *AWSConfig) DumpEC2Instances() interface{}

func (*AWSConfig) DumpIAMGroups

func (ac *AWSConfig) DumpIAMGroups() interface{}

func (*AWSConfig) DumpIAMRoles

func (ac *AWSConfig) DumpIAMRoles() interface{}

func (*AWSConfig) DumpIAMUsers

func (ac *AWSConfig) DumpIAMUsers() interface{}

func (*AWSConfig) DumpLambdas

func (ac *AWSConfig) DumpLambdas() interface{}

func (*AWSConfig) DumpRDS

func (ac *AWSConfig) DumpRDS() interface{}

func (*AWSConfig) DumpRedshiftDBs

func (ac *AWSConfig) DumpRedshiftDBs() interface{}

func (*AWSConfig) DumpVpcs

func (ac *AWSConfig) DumpVpcs() interface{}

func (*AWSConfig) DumpWhoami

func (ac *AWSConfig) DumpWhoami() interface{}

func (*AWSConfig) TestConnection

func (ac *AWSConfig) TestConnection() bool

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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