Documentation ¶
Index ¶
- Variables
- type AccessKey
- type AccessKeysOptions
- type AccessKeysRecon
- type AfterRunHookFunc
- type BeforeHookFunc
- type Bucket
- type BucketsOptions
- type BucketsRecon
- type Endpoint
- type EndpointsOptions
- type EndpointsRecon
- type Env
- type EnvsOptions
- type EnvsRecon
- type FileSystem
- type FileSystemsOptions
- type FileSystemsRecon
- type Function
- type FunctionsOptions
- type FunctionsRecon
- type IMDS
- type Instance
- type InstancesOptions
- type InstancesRecon
- type Log
- type LogsOptions
- type LogsRecon
- type Output
- type Parameter
- type Principal
- type PrincipalsOptions
- type PrincipalsRecon
- type Record
- type RecordsOptions
- type RecordsRecon
- type Repo
- type ReposOptions
- type ReposRecon
- type Resource
- type RoleTrust
- type RoleTrustsOptions
- type RoleTrustsRecon
- type Secret
- type SecretsOptions
- type SecretsRecon
- type Stack
- type StacksOptions
- type StacksRecon
- type Tag
- type TagsOptions
- type TagsRecon
- type Visibility
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultGroupNamePrefix = "/aws/lambda" DefaultStreamNamePrefix = fmt.Sprintf("%d", time.Now().Year()) )
View Source
var AWSRegions = []string{"us-east-1", "us-east-2", "us-west-1", "us-west-2", "af-south-1", "ap-east-1", "ap-south-1", "ap-northeast-3", "ap-northeast-2", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ca-central-1", "eu-central-1", "eu-west-1", "eu-west-2", "eu-south-1", "eu-west-3", "eu-north-1", "me-south-1", "sa-east-1"}
Functions ¶
This section is empty.
Types ¶
type AccessKeysOptions ¶ added in v0.0.17
type AccessKeysOptions struct { UserNames []string IDs []string BeforeHook BeforeHookFunc AfterRunHook AfterRunHookFunc }
type AccessKeysRecon ¶ added in v0.0.17
type AccessKeysRecon struct {
// contains filtered or unexported fields
}
func NewAccessKeysRecon ¶ added in v0.0.17
func NewAccessKeysRecon(cfg *config.Config, optFns ...func(o *AccessKeysOptions)) *AccessKeysRecon
type AfterRunHookFunc ¶ added in v0.0.13
type BeforeHookFunc ¶ added in v0.0.13
type BucketsOptions ¶
type BucketsOptions struct { Names []string BeforeHook BeforeHookFunc AfterRunHook AfterRunHookFunc }
type BucketsRecon ¶
type BucketsRecon struct {
// contains filtered or unexported fields
}
func NewBucketsRecon ¶
func NewBucketsRecon(cfg *config.Config, optFns ...func(o *BucketsOptions)) *BucketsRecon
type EndpointsOptions ¶ added in v0.0.10
type EndpointsOptions struct { IgnoreServices []string BeforeHook BeforeHookFunc AfterRunHook AfterRunHookFunc }
type EndpointsRecon ¶
type EndpointsRecon struct {
// contains filtered or unexported fields
}
func NewEndpointsRecon ¶
func NewEndpointsRecon(cfg *config.Config, optFns ...func(o *EndpointsOptions)) *EndpointsRecon
type EnvsOptions ¶
type EnvsOptions struct { Entropy float64 Verify bool HighEntropyThreshold float64 IgnoreServices []string BeforeHook BeforeHookFunc AfterRunHook AfterRunHookFunc }
type EnvsRecon ¶
type EnvsRecon struct {
// contains filtered or unexported fields
}
func NewEnvsRecon ¶
func NewEnvsRecon(cfg *config.Config, optFns ...func(o *EnvsOptions)) *EnvsRecon
type FileSystem ¶ added in v0.0.10
type FileSystemsOptions ¶ added in v0.0.10
type FileSystemsOptions struct { IgnoreServices []string BeforeHook BeforeHookFunc AfterRunHook AfterRunHookFunc }
type FileSystemsRecon ¶ added in v0.0.10
type FileSystemsRecon struct {
// contains filtered or unexported fields
}
func NewFileSystemsRecon ¶ added in v0.0.10
func NewFileSystemsRecon(cfg *config.Config, optFns ...func(o *FileSystemsOptions)) *FileSystemsRecon
type FunctionsOptions ¶ added in v0.0.11
type FunctionsOptions struct { Names []string BeforeHook BeforeHookFunc AfterRunHook AfterRunHookFunc }
type FunctionsRecon ¶ added in v0.0.11
type FunctionsRecon struct {
// contains filtered or unexported fields
}
func NewFunctionsRecon ¶ added in v0.0.11
func NewFunctionsRecon(cfg *config.Config, optFns ...func(o *FunctionsOptions)) *FunctionsRecon
type Instance ¶
type Instance struct { AWSService string Region string ID string Name string State string VPCID string AvailabilityZone string PublicIP string PrivateIP string SGAudit *securitygroup.Audit Platform string Architecture string InstanceType string NitroEnclaveState string UserDataState string IMDS IMDS InstanceProfile string Hints []string }
type InstancesOptions ¶
type InstancesOptions struct { InstanceStates []string Verify bool HighEntropyThreshold float64 MyIP net.IP BeforeHook BeforeHookFunc AfterRunHook AfterRunHookFunc }
type InstancesRecon ¶
type InstancesRecon struct {
// contains filtered or unexported fields
}
func NewInstancesRecon ¶
func NewInstancesRecon(cfg *config.Config, optFns ...func(o *InstancesOptions)) *InstancesRecon
type LogsOptions ¶ added in v0.0.9
type LogsOptions struct { GroupNamePrefix string StreamNamePrefix string FilterPattern string StartTime int64 EndTime int64 Verify bool BeforeHook BeforeHookFunc AfterRunHook AfterRunHookFunc }
type LogsRecon ¶ added in v0.0.9
type LogsRecon struct {
// contains filtered or unexported fields
}
func NewLogsRecon ¶ added in v0.0.9
func NewLogsRecon(cfg *config.Config, optFns ...func(o *LogsOptions)) *LogsRecon
type Principal ¶
type Principal struct { AWSService string Type string ARN string Name string AttachedPolicies []iamTypes.AttachedPolicy InlinePolicies []iamTypes.PolicyDetail Findings []string }
type PrincipalsOptions ¶ added in v0.0.13
type PrincipalsOptions struct { IgnoreServices []string BeforeHook BeforeHookFunc AfterRunHook AfterRunHookFunc }
type PrincipalsRecon ¶
type PrincipalsRecon struct {
// contains filtered or unexported fields
}
func NewPrincipalsRecon ¶
func NewPrincipalsRecon(cfg *config.Config, optFns ...func(o *PrincipalsOptions)) (*PrincipalsRecon, error)
type RecordsOptions ¶
type RecordsOptions struct { Verify bool BeforeHook BeforeHookFunc AfterRunHook AfterRunHookFunc }
type RecordsRecon ¶
type RecordsRecon struct {
// contains filtered or unexported fields
}
func NewRecordsRecon ¶
func NewRecordsRecon(cfg *config.Config, optFns ...func(o *RecordsOptions)) *RecordsRecon
type ReposOptions ¶
type ReposOptions struct { Entropy float64 Verify bool HighEntropyThreshold float64 BeforeHook BeforeHookFunc AfterRunHook AfterRunHookFunc }
type ReposRecon ¶
type ReposRecon struct {
// contains filtered or unexported fields
}
func NewReposRecon ¶
func NewReposRecon(cfg *config.Config, optFns ...func(o *ReposOptions)) *ReposRecon
type RoleTrustsOptions ¶ added in v0.0.20
type RoleTrustsOptions struct { IgnoreServiceLinkRoles bool BeforeHook BeforeHookFunc AfterRunHook AfterRunHookFunc }
type RoleTrustsRecon ¶ added in v0.0.20
type RoleTrustsRecon struct {
// contains filtered or unexported fields
}
func NewRoleTrustsRecon ¶ added in v0.0.20
func NewRoleTrustsRecon(cfg *config.Config, optFns ...func(o *RoleTrustsOptions)) *RoleTrustsRecon
type SecretsOptions ¶
type SecretsOptions struct { Entropy float64 WithDecryption bool Verify bool HighEntropyThreshold float64 IgnoreServices []string BeforeHook BeforeHookFunc AfterRunHook AfterRunHookFunc }
type SecretsRecon ¶
type SecretsRecon struct {
// contains filtered or unexported fields
}
func NewSecretsRecon ¶
func NewSecretsRecon(cfg *config.Config, optFns ...func(o *SecretsOptions)) *SecretsRecon
type StacksOptions ¶
type StacksOptions struct { Entropy float64 Verify bool HighEntropyThreshold float64 IgnoreCDKAssetParameters bool BeforeHook BeforeHookFunc AfterRunHook AfterRunHookFunc }
type StacksRecon ¶
type StacksRecon struct {
// contains filtered or unexported fields
}
func NewStacksRecon ¶
func NewStacksRecon(cfg *config.Config, optFns ...func(o *StacksOptions)) *StacksRecon
type TagsOptions ¶
type TagsOptions struct { Entropy float64 Verify bool HighEntropyThreshold float64 BeforeHook BeforeHookFunc AfterRunHook AfterRunHookFunc }
type TagsRecon ¶
type TagsRecon struct {
// contains filtered or unexported fields
}
func NewTagsRecon ¶
func NewTagsRecon(cfg *config.Config, optFns ...func(o *TagsOptions)) *TagsRecon
type Visibility ¶
type Visibility string
const ( VisibilityPublic Visibility = "public" VisibiltyPrivate Visibility = "private" VisibilityUnknown Visibility = "unknown" )
Click to show internal directories.
Click to hide internal directories.