heimdall_tools 1.3.38 → 1.3.39.pre1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/heimdall_tools/burpsuite_mapper.rb +1 -1
- data/lib/heimdall_tools/jfrog_xray_mapper.rb +1 -1
- data/lib/heimdall_tools/nessus_mapper.rb +1 -1
- data/lib/heimdall_tools/nikto_mapper.rb +1 -1
- data/lib/heimdall_tools/snyk_mapper.rb +1 -1
- data/lib/heimdall_tools/zap_mapper.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5bf59c85ab39e97a18e7ef7a18d0820541df75fc321a017e3b5b633270596e51
|
4
|
+
data.tar.gz: 25c4ab33be6805034e122fb4491a2241ad8bb2f993f90290cef0c2fefe8f81a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b05652317c333cc5e0ac9eee14cef1052438b0d4b0e71a5bd9a6cc5cc79c312a314d939b9bbde5eeba64cf15edeb7e53633d61eecf5f3d44f8a8522551204001
|
7
|
+
data.tar.gz: 62de5d7471629610a26b2074a0fd1088717f0b2cd6199ec15d7c8b89787c682511f00e3088e9f7df7135f860e279afb7baaf86901a82239b359d6ddcb47d8f82
|
@@ -63,7 +63,7 @@ module HeimdallTools
|
|
63
63
|
end
|
64
64
|
|
65
65
|
def nist_tag(cweid)
|
66
|
-
entries = @cwe_nist_mapping.select { |x| cweid.include?
|
66
|
+
entries = @cwe_nist_mapping.select { |x| cweid.include?(x[:cweid].to_s) && !x[:nistid].nil? }
|
67
67
|
tags = entries.map { |x| [x[:nistid], "Rev_#{x[:rev]}"] }
|
68
68
|
tags.empty? ? DEFAULT_NIST_TAG : tags.flatten.uniq
|
69
69
|
end
|
@@ -58,7 +58,7 @@ module HeimdallTools
|
|
58
58
|
end
|
59
59
|
|
60
60
|
def nist_tag(cweid)
|
61
|
-
entries = @cwe_nist_mapping.select { |x| cweid.include?
|
61
|
+
entries = @cwe_nist_mapping.select { |x| cweid.include?(x[:cweid].to_s) && !x[:nistid].nil? }
|
62
62
|
tags = entries.map { |x| x[:nistid] }
|
63
63
|
tags.empty? ? DEFAULT_NIST_TAG : tags.flatten.uniq
|
64
64
|
end
|
@@ -140,7 +140,7 @@ module HeimdallTools
|
|
140
140
|
end
|
141
141
|
|
142
142
|
def plugin_nist_tag(pluginfamily, pluginid)
|
143
|
-
entries = @cwe_nist_mapping.select { |x| (x[:pluginfamily].eql?(pluginfamily) && (x[:pluginid].eql?('*') || x[:pluginid].eql?(pluginid.to_i)) ) }
|
143
|
+
entries = @cwe_nist_mapping.select { |x| (x[:pluginfamily].eql?(pluginfamily) && (x[:pluginid].eql?('*') || x[:pluginid].eql?(pluginid.to_i)) ) && !x[:nistid].nil? }
|
144
144
|
tags = entries.map { |x| [x[:nistid].split('|'), "Rev_#{x[:rev]}"] }
|
145
145
|
tags.empty? ? DEFAULT_NIST_TAG : tags.flatten.uniq
|
146
146
|
end
|
@@ -71,7 +71,7 @@ module HeimdallTools
|
|
71
71
|
end
|
72
72
|
|
73
73
|
def nist_tag(niktoid)
|
74
|
-
entries = @nikto_nist_mapping.select { |x| niktoid.eql?(x[:niktoid].to_s) }
|
74
|
+
entries = @nikto_nist_mapping.select { |x| niktoid.eql?(x[:niktoid].to_s) && !x[:nistid].nil? }
|
75
75
|
tags = entries.map { |x| x[:nistid] }
|
76
76
|
tags.empty? ? DEFAULT_NIST_TAG : tags.flatten.uniq
|
77
77
|
end
|
@@ -74,7 +74,7 @@ module HeimdallTools
|
|
74
74
|
end
|
75
75
|
|
76
76
|
def nist_tag(cweid)
|
77
|
-
entries = @cwe_nist_mapping.select { |x| cweid.include?
|
77
|
+
entries = @cwe_nist_mapping.select { |x| cweid.include?(x[:cweid].to_s) && !x[:nistid].nil? }
|
78
78
|
tags = entries.map { |x| x[:nistid] }
|
79
79
|
tags.empty? ? DEFAULT_NIST_TAG : tags.flatten.uniq
|
80
80
|
end
|
@@ -65,7 +65,7 @@ module HeimdallTools
|
|
65
65
|
end
|
66
66
|
|
67
67
|
def nist_tag(cweid)
|
68
|
-
entries = @cwe_nist_mapping.select { |x| x[:cweid].to_s.eql?(cweid.to_s) }
|
68
|
+
entries = @cwe_nist_mapping.select { |x| x[:cweid].to_s.eql?(cweid.to_s) && !x[:nistid].nil? }
|
69
69
|
tags = entries.map { |x| [x[:nistid], "Rev_#{x[:rev]}"] }
|
70
70
|
tags.empty? ? DEFAULT_NIST_TAG : tags.flatten.uniq
|
71
71
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: heimdall_tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.39.pre1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robert Thew
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date: 2021-03-
|
13
|
+
date: 2021-03-11 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: aws-sdk-configservice
|
@@ -242,9 +242,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
242
242
|
version: '0'
|
243
243
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
244
244
|
requirements:
|
245
|
-
- - "
|
245
|
+
- - ">"
|
246
246
|
- !ruby/object:Gem::Version
|
247
|
-
version:
|
247
|
+
version: 1.3.1
|
248
248
|
requirements: []
|
249
249
|
rubygems_version: 3.2.3
|
250
250
|
signing_key:
|