Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ConsoleOnly bool
ConsoleOnly is a flag to indicate whether to filter out accounts that do not have console access.
View Source
var Days int
Days holds the amount of days to search for.
View Source
var Debug bool
Debug controls whether or not debug messages should be printed.
View Source
var Resource string
Resource holds the type of AWS resource we are going to look for.
View Source
var Used bool
Used is a bool to invert the search if needed.
Functions ¶
Types ¶
type CloudformationAPI ¶ added in v0.1.44
type CloudformationAPI interface { ListStacks(params *cloudformation.ListStacksInput) (*cloudformation.ListStacksOutput, error) ListStackResources(params *cloudformation.ListStackResourcesInput) (*cloudformation.ListStackResourcesOutput, error) }
type DynamoDBAPI ¶ added in v0.1.44
type DynamoDBAPI interface {
ListTables(params *dynamodb.ListTablesInput) (*dynamodb.ListTablesOutput, error)
}
type ExtendedAccessKeyMetadata ¶
type ExtendedAccessKeyMetadata struct { AccessKeyID string CreateDate *time.Time LastUsed *time.Time Status string UserName string Arn string Age int ConsoleEnabled bool }
ExtendedAccessKeyMetadata extends the key metadata struct.
type KinesisAPI ¶ added in v0.1.44
type KinesisAPI interface {
ListStreams(params *kinesis.ListStreamsInput) (*kinesis.ListStreamsOutput, error)
}
type KmsAPI ¶ added in v0.1.44
type KmsAPI interface { ListKeys(params *kms.ListKeysInput) (*kms.ListKeysOutput, error) DescribeKey(params *kms.DescribeKeyInput) (*kms.DescribeKeyOutput, error) }
type LambdaAPI ¶ added in v0.1.44
type LambdaAPI interface {
GetFunction(params *lambda.GetFunctionInput) (*lambda.GetFunctionOutput, error)
}
type LogsAPI ¶ added in v0.1.44
type LogsAPI interface { DescribeLogGroups(params *cloudwatchlogs.DescribeLogGroupsInput) (*cloudwatchlogs.DescribeLogGroupsOutput, error) DescribeLogStreams(params *cloudwatchlogs.DescribeLogStreamsInput) (*cloudwatchlogs.DescribeLogStreamsOutput, error) }
type S3API ¶ added in v0.1.44
type S3API interface {
ListBuckets(params *s3.ListBucketsInput) (*s3.ListBucketsOutput, error)
}
Click to show internal directories.
Click to hide internal directories.