aws_recon 0.5.11 → 0.5.15

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b36afd6476827dbf5a2adaefc02adc5e936f6757634a6309d3e33eeeca8794f1
4
- data.tar.gz: df21a116d19d6e44981633ec00213e9033e332b03bac8b36a1a55d3e2078e2a2
3
+ metadata.gz: cabf1c33f7f6e024886e95e1bbe607c78fc4dc7f6859e7b0278c3e34a427a999
4
+ data.tar.gz: c0b5ac8e68fe938a6ba4821afab6e3099ced531b89651f899b002ff56646ac7c
5
5
  SHA512:
6
- metadata.gz: 9ad331ae1f7c75d1640f7de804912bae3fec6e85ded6e2aee90b4cc3e34b6b085873660b231f4cec52cca421f430ad2fd82871947bfe293321d33a8a9240d6ea
7
- data.tar.gz: 6b96da64805694b2b4cf2b3cf23184c8a28ab9d65f56f855e51aecfc77c67745f0fd7df68d648f36426d6bd5ea67791ef4e1b7c4fff5f0ffcd5336203faa9450
6
+ metadata.gz: b57c21b414c285e06c8e32917613e4dd5d720a55bb8d9b767ea8dde5c823d4464fe27269f6ae6f29e898d7553ad15003eafa6c0c749d8493967ab596c75741d5
7
+ data.tar.gz: 930ae4f11f984d49c360e6cc68d5729d3cda5a4f4770b1a8100912521b339e4b08a1370fea590dc0c5c01492ad96e3dcabe060b1bbbcb083c1edb6bf852e6c01
@@ -37,6 +37,7 @@ class S3 < Mapper
37
37
  struct.location = 'us-east-1'
38
38
  @client
39
39
  else
40
+ location = 'eu-west-1' if location == 'EU'
40
41
  struct.location = location
41
42
  Aws::S3::Client.new({ region: location })
42
43
  end
@@ -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:
@@ -83,8 +81,6 @@
83
81
  - name: Shield
84
82
  global: true
85
83
  alias: shield
86
- excluded_regions:
87
- - ap-northeast-3
88
84
  - name: CloudFormation
89
85
  alias: cloudformation
90
86
  - name: SES
@@ -156,8 +152,6 @@
156
152
  alias: directconnect
157
153
  - name: DirectoryService
158
154
  alias: ds
159
- excluded_regions:
160
- - ap-northeast-3
161
155
  - name: DatabaseMigrationService
162
156
  alias: dms
163
157
  - name: XRay
@@ -1,3 +1,3 @@
1
1
  module AwsRecon
2
- VERSION = "0.5.11"
2
+ VERSION = "0.5.15"
3
3
  end
data/readme.md CHANGED
@@ -1,5 +1,6 @@
1
- [![GitHub Workflow Status (branch)](https://img.shields.io/github/workflow/status/darkbitio/aws-recon/smoke-test/main)](https://github.com/darkbitio/aws-recon/actions?query=branch%3Amain)
1
+ [![Docker Pulls](https://img.shields.io/docker/pulls/darkbitio/aws_recon?logo=docker)](https://hub.docker.com/r/darkbitio/aws_recon)
2
2
  [![Gem Version](https://badge.fury.io/rb/aws_recon.svg)](https://rubygems.org/gems/aws_recon)
3
+ [![GitHub Workflow Status (branch)](https://img.shields.io/github/workflow/status/darkbitio/aws-recon/smoke-test/main)](https://github.com/darkbitio/aws-recon/actions?query=branch%3Amain)
3
4
  [![AWS Service Regions](https://github.com/darkbitio/aws-recon/actions/workflows/check-aws-regions.yml/badge.svg?branch=main&event=schedule)](https://github.com/darkbitio/aws-recon/actions/workflows/check-aws-regions.yml)
4
5
  # AWS Recon
5
6
 
@@ -191,6 +192,15 @@ $ AWS_PROFILE=<profile> aws_recon \
191
192
 
192
193
  Example [OpenCSPM](https://github.com/OpenCSPM/opencspm) formatted (NDJSON) output.
193
194
 
195
+ ```
196
+ $ AWS_PROFILE=<profile> aws_recon -l \
197
+ -s S3,EC2 \
198
+ -r global,us-east-1,us-east-2 \
199
+ -f custom
200
+ ```
201
+
202
+ or
203
+
194
204
  ```
195
205
  $ AWS_PROFILE=<profile> aws_recon -j \
196
206
  -s S3,EC2 \
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.11
4
+ version: 0.5.15
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-05-21 00:00:00.000000000 Z
12
+ date: 2021-07-21 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.0.8
280
+ rubygems_version: 3.2.3
281
281
  signing_key:
282
282
  specification_version: 4
283
283
  summary: A multi-threaded AWS security-focused inventory collection tool.