aws_recon 0.5.15 → 0.5.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws_recon/collectors/ec2.rb +30 -0
- data/lib/aws_recon/services.yaml +0 -5
- data/lib/aws_recon/version.rb +1 -1
- data/readme.md +25 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ad9424a430c12245df3339fbc2356755911e011b3535e64023ea407dfac9e5b
|
4
|
+
data.tar.gz: df268326477fe481c0e81bd40cb28322a00fd3e21f9151334ef93e93c6e1bf33
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c1a16352d62d9c48a19b7e30b4b263a94c9cece99e05abbebfc88eaac54384748b6626e4b35514153797bab09b5a967910602d8805a3bedfc93005811dd58cc7
|
7
|
+
data.tar.gz: 89e8f6630f7486ea8f4aecfc50f19143fe5e0caa6d0e0de77d15f63b1a8bdbbb1b7ecb84810713eeb5ce3610976d11556bb40928914db9d68b9e260a22c04ae9
|
@@ -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
@@ -87,7 +87,6 @@
|
|
87
87
|
alias: ses
|
88
88
|
excluded_regions:
|
89
89
|
- ap-east-1
|
90
|
-
- ap-northeast-3
|
91
90
|
- name: CloudWatch
|
92
91
|
alias: cloudwatch
|
93
92
|
- name: CloudWatchLogs
|
@@ -110,8 +109,6 @@
|
|
110
109
|
alias: guardduty
|
111
110
|
- name: Athena
|
112
111
|
alias: athena
|
113
|
-
excluded_regions:
|
114
|
-
- ap-northeast-3
|
115
112
|
- name: EFS
|
116
113
|
alias: efs
|
117
114
|
- name: Firehose
|
@@ -140,8 +137,6 @@
|
|
140
137
|
- us-west-1
|
141
138
|
- name: SageMaker
|
142
139
|
alias: sagemaker
|
143
|
-
excluded_regions:
|
144
|
-
- ap-northeast-3
|
145
140
|
- name: ServiceQuotas
|
146
141
|
alias: servicequotas
|
147
142
|
- 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.19
|
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-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: aws-sdk
|