heimdall_tools 1.3.30 → 1.3.31

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: 5738762155a6aa119a76fa10fb37dd96b211e63b2a653d35aa63c84b68f27178
4
- data.tar.gz: f5bdb6a6e70c176641c1633561c7b38764ca6bc5b82980a10bb600a40d1ceac9
3
+ metadata.gz: 1587fb5ef791c957076dc7864b026672d2c77a602ceba619087bf680a7ac79f2
4
+ data.tar.gz: f5209e76e38bc08d68699e1239a88618b0332fc34b25b3b54ca647529556c851
5
5
  SHA512:
6
- metadata.gz: 97969ccff8223206a395937eda85c09cc2e5025416f0a1592eca7f903d0969302a1de4f4c29bb7b00dd35e2e5fa0856643198eb5d9f8a80fbce1f911c979df3b
7
- data.tar.gz: ed9a7d6a861ed5adc7b6706c63c632d2b70b97c444bc3de12118b57efb4725e1e9cabb1acb4f8d74c610ac3240d9683fac071815e12bc180725c61d36b44145e
6
+ metadata.gz: 85f84e6ab53e0e04f397957fec62b87f04ec1dc31465aace772345de7648077d5a7480a7ccf0163309bc997e5f2b95d8ab79936f66779652a33c46f75b34e63b
7
+ data.tar.gz: 051ff77b344b0ba3123fedbe7d97692bf6311aec791236ccaabbd2a56b76a82f0d1fae7e9013b82c9041a42d436985bffe968eb763573d219e67d4b34b9a6245
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## [Unreleased](https://github.com/mitre/heimdall_tools/tree/HEAD)
4
+
5
+ [Full Changelog](https://github.com/mitre/heimdall_tools/compare/v1.3.30.pre1...HEAD)
6
+
7
+ **Closed issues:**
8
+
9
+ - nessus\_mapper CCI to NIST Mapping [\#54](https://github.com/mitre/heimdall_tools/issues/54)
10
+
11
+ **Merged pull requests:**
12
+
13
+ - Update to map NIST tags from CCI refs [\#55](https://github.com/mitre/heimdall_tools/pull/55) ([rx294](https://github.com/rx294))
14
+
15
+ ## [v1.3.30.pre1](https://github.com/mitre/heimdall_tools/tree/v1.3.30.pre1) (2020-06-12)
16
+
17
+ [Full Changelog](https://github.com/mitre/heimdall_tools/compare/v1.3.29...v1.3.30.pre1)
18
+
3
19
  ## [v1.3.29](https://github.com/mitre/heimdall_tools/tree/v1.3.29) (2020-05-28)
4
20
 
5
21
  [Full Changelog](https://github.com/mitre/heimdall_tools/compare/v1.3.28...v1.3.29)
@@ -87,6 +103,10 @@
87
103
 
88
104
  [Full Changelog](https://github.com/mitre/heimdall_tools/compare/v1.3.23.pre3...v1.3.23.pre4)
89
105
 
106
+ **Merged pull requests:**
107
+
108
+ - Cleanup GPR and Rubygems release flow [\#38](https://github.com/mitre/heimdall_tools/pull/38) ([rbclark](https://github.com/rbclark))
109
+
90
110
  ## [v1.3.23.pre3](https://github.com/mitre/heimdall_tools/tree/v1.3.23.pre3) (2020-03-31)
91
111
 
92
112
  [Full Changelog](https://github.com/mitre/heimdall_tools/compare/v1.3.23.pre2...v1.3.23.pre3)
@@ -217,7 +237,6 @@
217
237
 
218
238
  **Merged pull requests:**
219
239
 
220
- - Cleanup GPR and Rubygems release flow [\#38](https://github.com/mitre/heimdall_tools/pull/38) ([rbclark](https://github.com/rbclark))
221
240
  - Sonarqube authentication option [\#20](https://github.com/mitre/heimdall_tools/pull/20) ([rx294](https://github.com/rx294))
222
241
 
223
242
  ## [v1.3.2](https://github.com/mitre/heimdall_tools/tree/v1.3.2) (2019-12-27)
@@ -3,7 +3,6 @@ require 'csv'
3
3
  require 'heimdall_tools/hdf'
4
4
  require 'utilities/xml_to_hash'
5
5
  require 'nokogiri'
6
- require 'pp'
7
6
 
8
7
  RESOURCE_DIR = Pathname.new(__FILE__).join('../../data')
9
8
 
@@ -122,8 +121,7 @@ module HeimdallTools
122
121
  end
123
122
 
124
123
  def read_cci_xml
125
- cci_list_path = File.join(File.dirname(__FILE__), '../data/U_CCI_List.xml')
126
- @cci_xml = Nokogiri::XML(File.open(cci_list_path))
124
+ @cci_xml = Nokogiri::XML(File.open(U_CCI_LIST))
127
125
  @cci_xml.remove_namespaces!
128
126
  rescue StandardError => e
129
127
  puts "Exception: #{e.message}"
@@ -135,10 +133,8 @@ module HeimdallTools
135
133
  item_node = @cci_xml.xpath("//cci_list/cci_items/cci_item[@id='#{cci_ref}']")[0] unless @cci_xml.nil?
136
134
  unless item_node.nil?
137
135
  nist_ref = item_node.xpath('./references/reference[not(@version <= preceding-sibling::reference/@version) and not(@version <=following-sibling::reference/@version)]/@index').text
138
- nist_ver = item_node.xpath('./references/reference[not(@version <= preceding-sibling::reference/@version) and not(@version <=following-sibling::reference/@version)]/@version').text
139
136
  end
140
137
  nist_tags << nist_ref
141
- nist_tags << "Rev_#{nist_ver}"
142
138
  end
143
139
  nist_tags
144
140
  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.30
4
+ version: 1.3.31
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: 2020-06-12 00:00:00.000000000 Z
13
+ date: 2020-06-16 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: nokogiri