aws_recon 0.2.35 → 0.2.36
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 62093b7a66219dac2bd3ccc799808c28c1581b7e94ea3eebc3f86b7263e8e82c
|
4
|
+
data.tar.gz: 64f2ff5a86901e57fa5786c180251dd72ba0c8672ca38e1aba93f3eb65d5efec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5611e7a73ebdab34a6b71079d7d59159d4f48317f96a811a91a7f3eef5720941b71f8c8c328a95aaea361c457d47f680dfa80afa79655a439afb8dd616b2d5a4
|
7
|
+
data.tar.gz: fa6cf46957c186d0808d7932280ce8fba1707fdb71ad68443ddb979f9d89d42cc05c2c54ce6acc4e4c187f74eb5ddd1d26c43e5ca832bbcaaa7087157878eb2e
|
@@ -19,7 +19,7 @@ class SES < Mapper
|
|
19
19
|
response.identities.each do |identity|
|
20
20
|
struct = OpenStruct.new
|
21
21
|
struct.type = 'identity'
|
22
|
-
struct.arn = "aws:ses:#{@region}:#{@account}:identity/#{identity}"
|
22
|
+
struct.arn = "arn:aws:ses:#{@region}:#{@account}:identity/#{identity}"
|
23
23
|
|
24
24
|
# get_identity_dkim_attributes
|
25
25
|
struct.dkim_attributes = @client.get_identity_dkim_attributes({ identities: [identity] }).dkim_attributes[identity].to_h
|
@@ -34,14 +34,14 @@ class WAFV2 < Mapper
|
|
34
34
|
}
|
35
35
|
|
36
36
|
# get_web_acl
|
37
|
-
@client.get_web_acl(params).each do |
|
38
|
-
struct.arn =
|
39
|
-
struct.details =
|
37
|
+
@client.get_web_acl(params).each do |r|
|
38
|
+
struct.arn = r.web_acl.arn
|
39
|
+
struct.details = r.web_acl
|
40
40
|
end
|
41
41
|
|
42
42
|
# list_resources_for_web_acl
|
43
|
-
@client.list_resources_for_web_acl({ web_acl_arn: 'ResourceArn' }).each do |
|
44
|
-
struct.resources =
|
43
|
+
@client.list_resources_for_web_acl({ web_acl_arn: 'ResourceArn' }).each do |r|
|
44
|
+
struct.resources = r.resource_arns.map(&:to_h)
|
45
45
|
end
|
46
46
|
|
47
47
|
resources.push(struct.to_h)
|
data/lib/aws_recon/version.rb
CHANGED
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.2.
|
4
|
+
version: 0.2.36
|
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-02-
|
12
|
+
date: 2021-02-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: aws-sdk
|