aws_recon 0.5.14 → 0.5.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws_recon/collectors/ec2.rb +30 -0
- data/lib/aws_recon/services.yaml +0 -6
- data/lib/aws_recon/version.rb +1 -1
- data/readme.md +25 -4
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c15eafbd64e2a41405c27df26f663d967fb600fe92928414a45f7278ce4a2f55
|
4
|
+
data.tar.gz: 71455e2d1dfc37993303ec58704ddffd87a05cd3713562c8b3bd42177bdfb7ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fe48606bd7de9da79ddadf19c6414492282395e5776eec11f5be3dbe6fc01167436af2447c92db88dd3cf2956f05f020e8ef558a3392544b0eb5c1ae626c3ba2
|
7
|
+
data.tar.gz: d82ad1c04091c3137f33a82d9485ecfd6e78a35ba7068e3e8cc59ffe9307dc910fa21fbb567b6da11b2f6cde4374d111cf911cc73923359585aa29bddfb863b6
|
@@ -318,6 +318,36 @@ class EC2 < Mapper
|
|
318
318
|
resources.push(struct.to_h)
|
319
319
|
end
|
320
320
|
end
|
321
|
+
|
322
|
+
#
|
323
|
+
# describe_vpc_endpoints
|
324
|
+
#
|
325
|
+
@client.describe_vpc_endpoints.each_with_index do |response, page|
|
326
|
+
log(response.context.operation_name, page)
|
327
|
+
|
328
|
+
response.vpc_endpoints.each do |point|
|
329
|
+
struct = OpenStruct.new(point.to_h)
|
330
|
+
struct.type = 'vpc_endpoint'
|
331
|
+
struct.arn = "arn:aws:ec2:#{@region}:#{@account}:vpc_endpoint/#{point.vpc_endpoint_id}" # no true ARN
|
332
|
+
|
333
|
+
resources.push(struct.to_h)
|
334
|
+
end
|
335
|
+
end
|
336
|
+
|
337
|
+
#
|
338
|
+
# describe_managed_prefix_lists
|
339
|
+
#
|
340
|
+
@client.describe_managed_prefix_lists.each_with_index do |response, page|
|
341
|
+
log(response.context.operation_name, page)
|
342
|
+
|
343
|
+
response.prefix_lists.each do |list|
|
344
|
+
struct = OpenStruct.new(list.to_h)
|
345
|
+
struct.type = 'prefix_list'
|
346
|
+
struct.arn = list.prefix_list_arn
|
347
|
+
|
348
|
+
resources.push(struct.to_h)
|
349
|
+
end
|
350
|
+
end
|
321
351
|
end
|
322
352
|
|
323
353
|
resources
|
data/lib/aws_recon/services.yaml
CHANGED
@@ -12,8 +12,6 @@
|
|
12
12
|
alias: config
|
13
13
|
- name: CodeBuild
|
14
14
|
alias: codebuild
|
15
|
-
excluded_regions:
|
16
|
-
- ap-northeast-3
|
17
15
|
- name: CodePipeline
|
18
16
|
alias: codepipeline
|
19
17
|
excluded_regions:
|
@@ -112,8 +110,6 @@
|
|
112
110
|
alias: guardduty
|
113
111
|
- name: Athena
|
114
112
|
alias: athena
|
115
|
-
excluded_regions:
|
116
|
-
- ap-northeast-3
|
117
113
|
- name: EFS
|
118
114
|
alias: efs
|
119
115
|
- name: Firehose
|
@@ -142,8 +138,6 @@
|
|
142
138
|
- us-west-1
|
143
139
|
- name: SageMaker
|
144
140
|
alias: sagemaker
|
145
|
-
excluded_regions:
|
146
|
-
- ap-northeast-3
|
147
141
|
- name: ServiceQuotas
|
148
142
|
alias: servicequotas
|
149
143
|
- name: Transfer
|
data/lib/aws_recon/version.rb
CHANGED
data/readme.md
CHANGED
@@ -20,6 +20,27 @@ AWS Recon handles collection from large accounts by taking advantage of automati
|
|
20
20
|
- Efficient (multi-threaded, rate limited, automatic retries, and automatic result paging)
|
21
21
|
- Easy to maintain and extend
|
22
22
|
|
23
|
+
## Awesome companies using AWS Recon**
|
24
|
+
|
25
|
+
- [Netflix](https://www.netflix.com/)
|
26
|
+
- [Hashicorp](https://www.hashicorp.com/)
|
27
|
+
- [Workday](https://www.workday.com/)
|
28
|
+
- [Stripe](https://stripe.com/)
|
29
|
+
- [PayPal](https://paypal.com/)
|
30
|
+
- [Typeform](https://typeform.com/)
|
31
|
+
- [Amazon Web Services](https://aws.amazon.com/)
|
32
|
+
- [Plaid](https://plaid.com/)
|
33
|
+
- [Expel](https://expel.io/)
|
34
|
+
- [Mozilla](https://www.mozilla.org/)
|
35
|
+
- [Bugcrowd](https://www.bugcrowd.com/)
|
36
|
+
- [Dropbox](https://www.dropbox.com/)
|
37
|
+
- [Pinterest](https://www.pinterest.com/)
|
38
|
+
- [HackerOne](https://www.hackerone.com/)
|
39
|
+
- [MuleSoft](https://www.mulesoft.com/)
|
40
|
+
- [Drata](https://drata.com/)
|
41
|
+
|
42
|
+
> ** usage does not imply endorsement
|
43
|
+
|
23
44
|
## Setup
|
24
45
|
|
25
46
|
### Requirements
|
@@ -55,13 +76,13 @@ To run locally, first install the gem:
|
|
55
76
|
|
56
77
|
```
|
57
78
|
$ gem install aws_recon
|
58
|
-
Fetching aws_recon-0.5.
|
79
|
+
Fetching aws_recon-0.5.17.gem
|
59
80
|
Fetching aws-sdk-3.0.1.gem
|
60
81
|
Fetching parallel-1.20.1.gem
|
61
82
|
...
|
62
83
|
Successfully installed aws-sdk-3.0.1
|
63
84
|
Successfully installed parallel-1.20.1
|
64
|
-
Successfully installed aws_recon-0.5.
|
85
|
+
Successfully installed aws_recon-0.5.17
|
65
86
|
```
|
66
87
|
|
67
88
|
Or add it to your Gemfile using `bundle`:
|
@@ -73,7 +94,7 @@ Resolving dependencies...
|
|
73
94
|
...
|
74
95
|
Using aws-sdk 3.0.1
|
75
96
|
Using parallel-1.20.1
|
76
|
-
Using aws_recon 0.5.
|
97
|
+
Using aws_recon 0.5.17
|
77
98
|
```
|
78
99
|
|
79
100
|
## Usage
|
@@ -259,7 +280,7 @@ Most users will want to limit collection to relevant services and regions. Runni
|
|
259
280
|
```
|
260
281
|
$ aws_recon -h
|
261
282
|
|
262
|
-
AWS Recon - AWS Inventory Collector (0.5.
|
283
|
+
AWS Recon - AWS Inventory Collector (0.5.17)
|
263
284
|
|
264
285
|
Usage: aws_recon [options]
|
265
286
|
-r, --regions [REGIONS] Regions to scan, separated by comma (default: all)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws_recon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.18
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josh Larsen
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2021-
|
12
|
+
date: 2021-09-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: aws-sdk
|
@@ -277,7 +277,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
277
277
|
- !ruby/object:Gem::Version
|
278
278
|
version: '0'
|
279
279
|
requirements: []
|
280
|
-
rubygems_version: 3.
|
280
|
+
rubygems_version: 3.0.8
|
281
281
|
signing_key:
|
282
282
|
specification_version: 4
|
283
283
|
summary: A multi-threaded AWS security-focused inventory collection tool.
|