-
-
Notifications
You must be signed in to change notification settings - Fork 54
/
searchers_by_service_id.go
30 lines (28 loc) · 1.5 KB
/
searchers_by_service_id.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package searchers
var cloudFormationStackSearcher = &CloudFormationStackSearcher{}
var cloudWatchLogGroupSearcher = &CloudWatchLogGroupSearcher{}
var ec2InstanceSearcher = &EC2InstanceSearcher{}
var ec2SecurityGroupSearcher = &EC2SecurityGroupSearcher{}
var elasticBeanstalkEnvironmentSearcher = &ElasticBeanstalkEnvironmentSearcher{}
var lambdaFunctionSearcher = &LambdaFunctionSearcher{}
var s3BucketSearcher = &S3BucketSearcher{}
var wafWebACLSearcher = &WAFWebACLSearcher{}
var wafIPSetSearcher = &WAFIPSetSearcher{}
var SearchersByServiceId map[string]Searcher = map[string]Searcher{
"cloudformation": cloudFormationStackSearcher,
"cloudformation_stacks": cloudFormationStackSearcher,
"cloudwatch": cloudWatchLogGroupSearcher,
"cloudwatch_loggroups": cloudWatchLogGroupSearcher,
"ec2": ec2InstanceSearcher,
"ec2_instances": ec2InstanceSearcher,
"ec2_securitygroups": ec2SecurityGroupSearcher,
"elasticbeanstalk": elasticBeanstalkEnvironmentSearcher,
"elasticbeanstalk_environments": elasticBeanstalkEnvironmentSearcher,
"lambda": lambdaFunctionSearcher,
"lambda_functions": lambdaFunctionSearcher,
"s3": s3BucketSearcher,
"s3_buckets": s3BucketSearcher,
"waf": wafWebACLSearcher,
"waf_webacls": wafWebACLSearcher,
"waf_ipsets": wafIPSetSearcher,
}