inspec_tools 2.0.6 → 2.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/Rakefile +74 -8
- data/lib/data/cis_to_nist_critical_controls +0 -0
- data/lib/data/cis_to_nist_mapping +0 -0
- data/lib/inspec_tools/pdf.rb +2 -13
- data/lib/inspec_tools/xlsx_tool.rb +2 -15
- data/lib/utilities/cis_to_nist.rb +11 -0
- metadata +5 -6
- data/CHANGELOG.md +0 -736
- data/lib/data/NIST_Map_02052020_CIS_Controls_Version_7.1_Implementation_Groups_1.2.xlsx +0 -0
- data/lib/data/NIST_Map_09212017B_CSC-CIS_Critical_Security_Controls_VER_6.1_Excel_9.1.2016.xlsx +0 -0
- data/lib/utilities/extract_nist_cis_mapping.rb +0 -57
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c551987d4bfca9ae4d14630f4beb3f4dd6cbe78314a2f229d5df49b4c72cd0e2
|
4
|
+
data.tar.gz: d0553cb380d6103f21b879fdb43d39c502ba94d80cc6b30ae8c69cf246464f4d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ffb7fa2a36d380a08c193fc0b1295c74a9479ef54ac5085cf3f36072509d67d235603c6fb589e81ce6c1d52544793fab3b91d37153e303923e7c99bb843f4510
|
7
|
+
data.tar.gz: 8e10eacec2b81f6a7c57198cc817050ee501ede1a390e347be50c80429d3834d506eb1f417b9f659ef0c620240d36e15cd65e118ea59fbbaa5481131cba4eb38
|
data/README.md
CHANGED
@@ -295,7 +295,7 @@ FLAGS:
|
|
295
295
|
-s --separate-files [true | false] : output the resulting controls as multiple files (default: true) [optional]
|
296
296
|
-d --debug : debug run [optional]
|
297
297
|
|
298
|
-
example: inspec_tools pdf2inspec -p
|
298
|
+
example: inspec_tools pdf2inspec -p examples/CIS_Ubuntu_Linux_16.04_LTS_Benchmark_v1.0.0.pdf -o /path/to/myprofile -f ruby -s true
|
299
299
|
```
|
300
300
|
|
301
301
|
## xlsx2inspec
|
data/Rakefile
CHANGED
@@ -1,10 +1,9 @@
|
|
1
|
-
require
|
2
|
-
require "rake/testtask"
|
1
|
+
require 'rake/testtask'
|
3
2
|
require File.expand_path('../lib/inspec_tools/version', __FILE__)
|
4
3
|
|
5
4
|
Rake::TestTask.new(:test) do |t|
|
6
|
-
t.libs <<
|
7
|
-
t.libs <<
|
5
|
+
t.libs << 'test'
|
6
|
+
t.libs << 'lib'
|
8
7
|
t.test_files = FileList['test/**/*_test.rb']
|
9
8
|
end
|
10
9
|
|
@@ -22,9 +21,76 @@ namespace :test do
|
|
22
21
|
end
|
23
22
|
end
|
24
23
|
|
25
|
-
desc 'Build
|
26
|
-
task
|
27
|
-
|
24
|
+
desc 'Build for release'
|
25
|
+
task :build_release do
|
26
|
+
|
27
|
+
Rake::Task["generate_mapping_objects"].reenable
|
28
|
+
Rake::Task["generate_mapping_objects"].invoke
|
29
|
+
|
30
|
+
system('gem build inspec_tools.gemspec')
|
28
31
|
end
|
29
32
|
|
30
|
-
|
33
|
+
desc 'Generate mapping objects'
|
34
|
+
task :generate_mapping_objects do
|
35
|
+
require 'roo'
|
36
|
+
|
37
|
+
nist_mapping_cis_controls = ENV['NIST_MAPPING_CIS_CONTROLS'] || 'NIST_Map_02052020_CIS_Controls_Version_7.1_Implementation_Groups_1.2.xlsx'.freeze
|
38
|
+
nist_mapping_cis_critical_controls = ENV['NIST_MAPPING_CIS_CRITICAL_CONTROLS'] || 'NIST_Map_09212017B_CSC-CIS_Critical_Security_Controls_VER_6.1_Excel_9.1.2016.xlsx'.freeze
|
39
|
+
|
40
|
+
data_root_path = File.join(File.expand_path(__dir__), 'lib', 'data')
|
41
|
+
cis_controls_path = File.join(data_root_path, nist_mapping_cis_controls)
|
42
|
+
cis_critical_controls_path = File.join(data_root_path, nist_mapping_cis_critical_controls)
|
43
|
+
|
44
|
+
raise "#{cis_controls_path} does not exist" unless File.exist?(cis_controls_path)
|
45
|
+
|
46
|
+
raise "#{cis_critical_controls_path} does not exist" unless File.exist?(cis_critical_controls_path)
|
47
|
+
|
48
|
+
marshal_cis_controls(cis_controls_path, data_root_path)
|
49
|
+
marshal_cis_critical_controls(cis_critical_controls_path, data_root_path)
|
50
|
+
end
|
51
|
+
|
52
|
+
def marshal_cis_controls(cis_controls_path, data_root_path)
|
53
|
+
cis_to_nist = {}
|
54
|
+
Roo::Spreadsheet.open(cis_controls_path).sheet(3).each do |row|
|
55
|
+
if row[3].is_a?(Numeric)
|
56
|
+
cis_to_nist[row[3].to_s] = row[0]
|
57
|
+
else
|
58
|
+
cis_to_nist[row[2].to_s] = row[0] unless (row[2] == '') || row[2].to_i.nil?
|
59
|
+
end
|
60
|
+
end
|
61
|
+
output_file = File.new(File.join(data_root_path, 'cis_to_nist_mapping'), 'w')
|
62
|
+
Marshal.dump(cis_to_nist, output_file)
|
63
|
+
output_file.close
|
64
|
+
end
|
65
|
+
|
66
|
+
def marshal_cis_critical_controls(cis_critical_controls_path, data_root_path)
|
67
|
+
controls_spreadsheet = Roo::Spreadsheet.open(cis_critical_controls_path)
|
68
|
+
controls_spreadsheet.default_sheet = 'VER 6.1 Controls'
|
69
|
+
headings = {}
|
70
|
+
controls_spreadsheet.row(3).each_with_index { |header, idx| headings[header] = idx }
|
71
|
+
|
72
|
+
nist_ver = 4
|
73
|
+
cis_ver = controls_spreadsheet.row(2)[4].split(' ')[-1]
|
74
|
+
control_count = 1
|
75
|
+
mapping = []
|
76
|
+
((controls_spreadsheet.first_row + 3)..controls_spreadsheet.last_row).each do |row_value|
|
77
|
+
current_row = {}
|
78
|
+
if controls_spreadsheet.row(row_value)[headings['NIST SP 800-53 Control #']].to_s != ''
|
79
|
+
current_row[:nist] = controls_spreadsheet.row(row_value)[headings['NIST SP 800-53 Control #']].to_s
|
80
|
+
else
|
81
|
+
current_row[:nist] = 'Not Mapped'
|
82
|
+
end
|
83
|
+
current_row[:nist_ver] = nist_ver
|
84
|
+
if controls_spreadsheet.row(row_value)[headings['Control']].to_s == ''
|
85
|
+
current_row[:cis] = control_count.to_s
|
86
|
+
control_count += 1
|
87
|
+
else
|
88
|
+
current_row[:cis] = controls_spreadsheet.row(row_value)[headings['Control']].to_s
|
89
|
+
end
|
90
|
+
current_row[:cis_ver] = cis_ver
|
91
|
+
mapping << current_row
|
92
|
+
end
|
93
|
+
output_file = File.new(File.join(data_root_path, 'cis_to_nist_critical_controls'), 'w')
|
94
|
+
Marshal.dump(mapping, output_file)
|
95
|
+
output_file.close
|
96
|
+
end
|
Binary file
|
Binary file
|
data/lib/inspec_tools/pdf.rb
CHANGED
@@ -2,9 +2,9 @@ require 'digest'
|
|
2
2
|
|
3
3
|
require_relative '../utilities/inspec_util'
|
4
4
|
require_relative '../utilities/extract_pdf_text'
|
5
|
-
require_relative '../utilities/extract_nist_cis_mapping'
|
6
5
|
require_relative '../utilities/parser'
|
7
6
|
require_relative '../utilities/text_cleaner'
|
7
|
+
require_relative '../utilities/cis_to_nist'
|
8
8
|
|
9
9
|
# rubocop:disable Metrics/AbcSize
|
10
10
|
# rubocop:disable Metrics/PerceivedComplexity
|
@@ -24,7 +24,7 @@ module InspecTools
|
|
24
24
|
@controls = []
|
25
25
|
@csv_handle = nil
|
26
26
|
@cci_xml = nil
|
27
|
-
@nist_mapping =
|
27
|
+
@nist_mapping = Utils::CisToNist.get_mapping('cis_to_nist_critical_controls')
|
28
28
|
@pdf_text = ''
|
29
29
|
@clean_text = ''
|
30
30
|
@transformed_data = ''
|
@@ -33,7 +33,6 @@ module InspecTools
|
|
33
33
|
@title ||= extract_title
|
34
34
|
clean_pdf_text
|
35
35
|
transform_data
|
36
|
-
read_excl
|
37
36
|
insert_json_metadata
|
38
37
|
@profile['controls'] = parse_controls
|
39
38
|
@profile['sha256'] = Digest::SHA256.hexdigest @profile.to_s
|
@@ -122,15 +121,5 @@ module InspecTools
|
|
122
121
|
def write_clean_text
|
123
122
|
File.write('debug_text', @clean_text)
|
124
123
|
end
|
125
|
-
|
126
|
-
def read_excl
|
127
|
-
nist_map_path = File.join(File.dirname(__FILE__), '../data/NIST_Map_09212017B_CSC-CIS_Critical_Security_Controls_VER_6.1_Excel_9.1.2016.xlsx')
|
128
|
-
excel = Util::ExtractNistMappings.new(nist_map_path)
|
129
|
-
@nist_mapping = excel.full_excl
|
130
|
-
rescue StandardError => e
|
131
|
-
puts "Exception: #{e.message}"
|
132
|
-
puts 'Existing...'
|
133
|
-
exit
|
134
|
-
end
|
135
124
|
end
|
136
125
|
end
|
@@ -3,9 +3,9 @@ require 'inspec-objects'
|
|
3
3
|
require 'word_wrap'
|
4
4
|
require 'yaml'
|
5
5
|
require 'digest'
|
6
|
-
require 'roo'
|
7
6
|
|
8
7
|
require_relative '../utilities/inspec_util'
|
8
|
+
require_relative '../utilities/cis_to_nist'
|
9
9
|
|
10
10
|
# rubocop:disable Metrics/AbcSize
|
11
11
|
# rubocop:disable Metrics/PerceivedComplexity
|
@@ -14,7 +14,6 @@ require_relative '../utilities/inspec_util'
|
|
14
14
|
module InspecTools
|
15
15
|
# Methods for converting from XLS to various formats
|
16
16
|
class XLSXTool
|
17
|
-
CIS_2_NIST_XLSX = Roo::Spreadsheet.open(File.join(File.dirname(__FILE__), '../data/NIST_Map_02052020_CIS_Controls_Version_7.1_Implementation_Groups_1.2.xlsx'))
|
18
17
|
LATEST_NIST_REV = 'Rev_4'.freeze
|
19
18
|
|
20
19
|
def initialize(xlsx, mapping, name, verbose = false)
|
@@ -22,7 +21,7 @@ module InspecTools
|
|
22
21
|
@xlsx = xlsx
|
23
22
|
@mapping = mapping
|
24
23
|
@verbose = verbose
|
25
|
-
@cis_to_nist =
|
24
|
+
@cis_to_nist = Utils::CisToNist.get_mapping('cis_to_nist_mapping')
|
26
25
|
end
|
27
26
|
|
28
27
|
def to_ckl
|
@@ -46,18 +45,6 @@ module InspecTools
|
|
46
45
|
|
47
46
|
private
|
48
47
|
|
49
|
-
def get_cis_to_nist_control_mapping(spreadsheet)
|
50
|
-
cis_to_nist = {}
|
51
|
-
spreadsheet.sheet(3).each do |row|
|
52
|
-
if row[3].is_a? Numeric
|
53
|
-
cis_to_nist[row[3].to_s] = row[0]
|
54
|
-
else
|
55
|
-
cis_to_nist[row[2].to_s] = row[0] unless (row[2] == '') || row[2].to_i.nil?
|
56
|
-
end
|
57
|
-
end
|
58
|
-
cis_to_nist
|
59
|
-
end
|
60
|
-
|
61
48
|
def insert_json_metadata
|
62
49
|
@profile['name'] = @name
|
63
50
|
@profile['title'] = 'InSpec Profile'
|
@@ -0,0 +1,11 @@
|
|
1
|
+
module Utils
|
2
|
+
class CisToNist
|
3
|
+
def self.get_mapping(mapping_file)
|
4
|
+
path = File.expand_path(File.join(File.expand_path(__dir__), '..', 'data', mapping_file))
|
5
|
+
raise "CIS to NIST control mapping does not exist at #{path}. Has it been generated?" unless File.exist?(path)
|
6
|
+
|
7
|
+
mapping = File.open(path)
|
8
|
+
Marshal.load(mapping)
|
9
|
+
end
|
10
|
+
end
|
11
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: inspec_tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robert Thew
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: exe
|
13
13
|
cert_chain: []
|
14
|
-
date: 2020-07-
|
14
|
+
date: 2020-07-21 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: colorize
|
@@ -280,17 +280,16 @@ executables:
|
|
280
280
|
extensions: []
|
281
281
|
extra_rdoc_files: []
|
282
282
|
files:
|
283
|
-
- CHANGELOG.md
|
284
283
|
- LICENSE.md
|
285
284
|
- README.md
|
286
285
|
- Rakefile
|
287
286
|
- exe/inspec_tools
|
288
|
-
- lib/data/NIST_Map_02052020_CIS_Controls_Version_7.1_Implementation_Groups_1.2.xlsx
|
289
|
-
- lib/data/NIST_Map_09212017B_CSC-CIS_Critical_Security_Controls_VER_6.1_Excel_9.1.2016.xlsx
|
290
287
|
- lib/data/README.TXT
|
291
288
|
- lib/data/U_CCI_List.xml
|
292
289
|
- lib/data/attributes.yml
|
293
290
|
- lib/data/cci2html.xsl
|
291
|
+
- lib/data/cis_to_nist_critical_controls
|
292
|
+
- lib/data/cis_to_nist_mapping
|
294
293
|
- lib/data/mapping.yml
|
295
294
|
- lib/data/rubocop.yml
|
296
295
|
- lib/data/stig.csv
|
@@ -328,8 +327,8 @@ files:
|
|
328
327
|
- lib/overrides/object.rb
|
329
328
|
- lib/overrides/string.rb
|
330
329
|
- lib/overrides/true_class.rb
|
330
|
+
- lib/utilities/cis_to_nist.rb
|
331
331
|
- lib/utilities/csv_util.rb
|
332
|
-
- lib/utilities/extract_nist_cis_mapping.rb
|
333
332
|
- lib/utilities/extract_pdf_text.rb
|
334
333
|
- lib/utilities/inspec_util.rb
|
335
334
|
- lib/utilities/parser.rb
|
data/CHANGELOG.md
DELETED
@@ -1,736 +0,0 @@
|
|
1
|
-
# Changelog
|
2
|
-
|
3
|
-
## [Unreleased](https://github.com/mitre/inspec_tools/tree/HEAD)
|
4
|
-
|
5
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v2.0.5...HEAD)
|
6
|
-
|
7
|
-
**Closed issues:**
|
8
|
-
|
9
|
-
- Run inspec check in CI [\#195](https://github.com/mitre/inspec_tools/issues/195)
|
10
|
-
|
11
|
-
**Merged pull requests:**
|
12
|
-
|
13
|
-
- Fixes SecurityOverrideGuidance not being output in a profile [\#196](https://github.com/mitre/inspec_tools/pull/196) ([Bialogs](https://github.com/Bialogs))
|
14
|
-
|
15
|
-
## [v2.0.5](https://github.com/mitre/inspec_tools/tree/v2.0.5) (2020-06-22)
|
16
|
-
|
17
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v2.0.4...v2.0.5)
|
18
|
-
|
19
|
-
**Closed issues:**
|
20
|
-
|
21
|
-
- Remove Debug Files When Running Tests [\#175](https://github.com/mitre/inspec_tools/issues/175)
|
22
|
-
|
23
|
-
**Merged pull requests:**
|
24
|
-
|
25
|
-
- Add additional error checking and documentation surrounding the xccdf… [\#194](https://github.com/mitre/inspec_tools/pull/194) ([Bialogs](https://github.com/Bialogs))
|
26
|
-
|
27
|
-
## [v2.0.4](https://github.com/mitre/inspec_tools/tree/v2.0.4) (2020-06-18)
|
28
|
-
|
29
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v2.0.3...v2.0.4)
|
30
|
-
|
31
|
-
**Closed issues:**
|
32
|
-
|
33
|
-
- xccdf2inspec string quotes bug [\#191](https://github.com/mitre/inspec_tools/issues/191)
|
34
|
-
- xccdf2inspec fails on OpenSCAP xccdf results with undefined method [\#190](https://github.com/mitre/inspec_tools/issues/190)
|
35
|
-
|
36
|
-
**Merged pull requests:**
|
37
|
-
|
38
|
-
- Respect debug env variable when running tests [\#193](https://github.com/mitre/inspec_tools/pull/193) ([Bialogs](https://github.com/Bialogs))
|
39
|
-
- 191 single quote replacement [\#192](https://github.com/mitre/inspec_tools/pull/192) ([Bialogs](https://github.com/Bialogs))
|
40
|
-
|
41
|
-
## [v2.0.3](https://github.com/mitre/inspec_tools/tree/v2.0.3) (2020-05-26)
|
42
|
-
|
43
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v2.0.2.pre13...v2.0.3)
|
44
|
-
|
45
|
-
**Implemented enhancements:**
|
46
|
-
|
47
|
-
- Round compliance score down [\#146](https://github.com/mitre/inspec_tools/issues/146)
|
48
|
-
- Every usage of Bucket and Tally uses it as a symbol, making it a symbol as part of its declaration [\#187](https://github.com/mitre/inspec_tools/pull/187) ([rbclark](https://github.com/rbclark))
|
49
|
-
- Summary output [\#186](https://github.com/mitre/inspec_tools/pull/186) ([jsa5593](https://github.com/jsa5593))
|
50
|
-
- Compliance score is rounded down and the README is updated [\#185](https://github.com/mitre/inspec_tools/pull/185) ([jsa5593](https://github.com/jsa5593))
|
51
|
-
|
52
|
-
**Fixed bugs:**
|
53
|
-
|
54
|
-
- inspec\_tools docker images is not actually showing results to cli [\#183](https://github.com/mitre/inspec_tools/issues/183)
|
55
|
-
|
56
|
-
**Closed issues:**
|
57
|
-
|
58
|
-
- inspec\_tools docker container doesn't let me go into a bash shell [\#184](https://github.com/mitre/inspec_tools/issues/184)
|
59
|
-
- Add a Dockerfile so folks can eaily add this into their ci/cd container workflows [\#162](https://github.com/mitre/inspec_tools/issues/162)
|
60
|
-
|
61
|
-
## [v2.0.2.pre13](https://github.com/mitre/inspec_tools/tree/v2.0.2.pre13) (2020-05-22)
|
62
|
-
|
63
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v2.0.2.pre12...v2.0.2.pre13)
|
64
|
-
|
65
|
-
**Implemented enhancements:**
|
66
|
-
|
67
|
-
- Ruby to docker [\#181](https://github.com/mitre/inspec_tools/pull/181) ([jsa5593](https://github.com/jsa5593))
|
68
|
-
|
69
|
-
**Fixed bugs:**
|
70
|
-
|
71
|
-
- All Impacts Parsed from PDF are Medium [\#173](https://github.com/mitre/inspec_tools/issues/173)
|
72
|
-
- Git version bump version 0.17.2 is broken due to a faulty regex. [\#182](https://github.com/mitre/inspec_tools/pull/182) ([rbclark](https://github.com/rbclark))
|
73
|
-
|
74
|
-
## [v2.0.2.pre12](https://github.com/mitre/inspec_tools/tree/v2.0.2.pre12) (2020-05-07)
|
75
|
-
|
76
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v2.0.2.pre11...v2.0.2.pre12)
|
77
|
-
|
78
|
-
**Merged pull requests:**
|
79
|
-
|
80
|
-
- Require a newer version of git-lite-version-bump for Windows support [\#178](https://github.com/mitre/inspec_tools/pull/178) ([rbclark](https://github.com/rbclark))
|
81
|
-
|
82
|
-
## [v2.0.2.pre11](https://github.com/mitre/inspec_tools/tree/v2.0.2.pre11) (2020-05-07)
|
83
|
-
|
84
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v2.0.2.pre10...v2.0.2.pre11)
|
85
|
-
|
86
|
-
**Merged pull requests:**
|
87
|
-
|
88
|
-
- git-lite-version-bump 0.17.0 is not compatible with Windows [\#176](https://github.com/mitre/inspec_tools/pull/176) ([rbclark](https://github.com/rbclark))
|
89
|
-
|
90
|
-
## [v2.0.2.pre10](https://github.com/mitre/inspec_tools/tree/v2.0.2.pre10) (2020-05-06)
|
91
|
-
|
92
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v2.0.2.pre9...v2.0.2.pre10)
|
93
|
-
|
94
|
-
**Implemented enhancements:**
|
95
|
-
|
96
|
-
- Standardize Severity Tag on CVSS 3.0 Terms [\#107](https://github.com/mitre/inspec_tools/issues/107)
|
97
|
-
|
98
|
-
**Merged pull requests:**
|
99
|
-
|
100
|
-
- Standardize Output of Severity and Impact to CVSS v3.0 terms [\#174](https://github.com/mitre/inspec_tools/pull/174) ([Bialogs](https://github.com/Bialogs))
|
101
|
-
|
102
|
-
## [v2.0.2.pre9](https://github.com/mitre/inspec_tools/tree/v2.0.2.pre9) (2020-05-04)
|
103
|
-
|
104
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v2.0.2.pre8...v2.0.2.pre9)
|
105
|
-
|
106
|
-
**Implemented enhancements:**
|
107
|
-
|
108
|
-
- Ensure the output of our converters formats with a standard of 2-space [\#140](https://github.com/mitre/inspec_tools/issues/140)
|
109
|
-
- Ensure we do not create code that uses " where ' are the correct style [\#138](https://github.com/mitre/inspec_tools/issues/138)
|
110
|
-
|
111
|
-
**Fixed bugs:**
|
112
|
-
|
113
|
-
- Summary always returns 0 for profile errors [\#164](https://github.com/mitre/inspec_tools/issues/164)
|
114
|
-
- Multiple fields missing from CKL generated with inspec2ckl [\#150](https://github.com/mitre/inspec_tools/issues/150)
|
115
|
-
- update inspec2ckl to support both tag and sub-descriptions in output [\#148](https://github.com/mitre/inspec_tools/issues/148)
|
116
|
-
|
117
|
-
**Merged pull requests:**
|
118
|
-
|
119
|
-
- Apply fixes from CodeFactor [\#172](https://github.com/mitre/inspec_tools/pull/172) ([aaronlippold](https://github.com/aaronlippold))
|
120
|
-
- Add parameter to InspecUtils\#control\_status to specify when used for summary. [\#170](https://github.com/mitre/inspec_tools/pull/170) ([Bialogs](https://github.com/Bialogs))
|
121
|
-
- Generate Ruby with Single Quoted Strings [\#169](https://github.com/mitre/inspec_tools/pull/169) ([Bialogs](https://github.com/Bialogs))
|
122
|
-
- Update CKL parse method to dig into sub descriptions [\#168](https://github.com/mitre/inspec_tools/pull/168) ([Bialogs](https://github.com/Bialogs))
|
123
|
-
|
124
|
-
## [v2.0.2.pre8](https://github.com/mitre/inspec_tools/tree/v2.0.2.pre8) (2020-04-30)
|
125
|
-
|
126
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v2.0.2.pre7...v2.0.2.pre8)
|
127
|
-
|
128
|
-
**Fixed bugs:**
|
129
|
-
|
130
|
-
- CCI Information is blank in CKL output [\#147](https://github.com/mitre/inspec_tools/issues/147)
|
131
|
-
- STIG Viewer fails to validate CKL Schema [\#131](https://github.com/mitre/inspec_tools/issues/131)
|
132
|
-
|
133
|
-
**Closed issues:**
|
134
|
-
|
135
|
-
- Add integration tests to validate output Checklist against schema [\#62](https://github.com/mitre/inspec_tools/issues/62)
|
136
|
-
|
137
|
-
**Merged pull requests:**
|
138
|
-
|
139
|
-
- Break CCI Vuln Information into separate StigData [\#167](https://github.com/mitre/inspec_tools/pull/167) ([Bialogs](https://github.com/Bialogs))
|
140
|
-
- Missing array type for replace\_tags [\#166](https://github.com/mitre/inspec_tools/pull/166) ([Didar-Bhullar](https://github.com/Didar-Bhullar))
|
141
|
-
- 131 ckl schema [\#163](https://github.com/mitre/inspec_tools/pull/163) ([Bialogs](https://github.com/Bialogs))
|
142
|
-
|
143
|
-
## [v2.0.2.pre7](https://github.com/mitre/inspec_tools/tree/v2.0.2.pre7) (2020-04-28)
|
144
|
-
|
145
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v2.0.2.pre6...v2.0.2.pre7)
|
146
|
-
|
147
|
-
**Implemented enhancements:**
|
148
|
-
|
149
|
-
- Determine why we are getting odd terminal output at the end of an xccdf2inspec run [\#155](https://github.com/mitre/inspec_tools/issues/155)
|
150
|
-
|
151
|
-
**Closed issues:**
|
152
|
-
|
153
|
-
- Delete un-needed branches in the repo [\#157](https://github.com/mitre/inspec_tools/issues/157)
|
154
|
-
- Remove guardfile [\#141](https://github.com/mitre/inspec_tools/issues/141)
|
155
|
-
|
156
|
-
**Merged pull requests:**
|
157
|
-
|
158
|
-
- Remove Guardfile from Specfile [\#161](https://github.com/mitre/inspec_tools/pull/161) ([Bialogs](https://github.com/Bialogs))
|
159
|
-
- Updated README to standardize wording [\#160](https://github.com/mitre/inspec_tools/pull/160) ([Bialogs](https://github.com/Bialogs))
|
160
|
-
- Remove guardfile [\#159](https://github.com/mitre/inspec_tools/pull/159) ([Bialogs](https://github.com/Bialogs))
|
161
|
-
- Remove unnecessary debug output from xccdf2inspec [\#158](https://github.com/mitre/inspec_tools/pull/158) ([rbclark](https://github.com/rbclark))
|
162
|
-
|
163
|
-
## [v2.0.2.pre6](https://github.com/mitre/inspec_tools/tree/v2.0.2.pre6) (2020-04-28)
|
164
|
-
|
165
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v2.0.2.pre5...v2.0.2.pre6)
|
166
|
-
|
167
|
-
**Implemented enhancements:**
|
168
|
-
|
169
|
-
- Remove tag with NIST revision [\#139](https://github.com/mitre/inspec_tools/issues/139)
|
170
|
-
|
171
|
-
**Fixed bugs:**
|
172
|
-
|
173
|
-
- CCE- data seems to be coming into the CCI references in some XCCDF files [\#151](https://github.com/mitre/inspec_tools/issues/151)
|
174
|
-
- small fix to resolve issues with CCE data in the XCCDF [\#156](https://github.com/mitre/inspec_tools/pull/156) ([aaronlippold](https://github.com/aaronlippold))
|
175
|
-
|
176
|
-
**Closed issues:**
|
177
|
-
|
178
|
-
- update inspec2ckl schema to the newest CKL Schema in the stig viewer 2.10 [\#149](https://github.com/mitre/inspec_tools/issues/149)
|
179
|
-
- Categorize all errors the same [\#145](https://github.com/mitre/inspec_tools/issues/145)
|
180
|
-
|
181
|
-
**Merged pull requests:**
|
182
|
-
|
183
|
-
- Apply fixes from CodeFactor [\#153](https://github.com/mitre/inspec_tools/pull/153) ([aaronlippold](https://github.com/aaronlippold))
|
184
|
-
|
185
|
-
## [v2.0.2.pre5](https://github.com/mitre/inspec_tools/tree/v2.0.2.pre5) (2020-04-15)
|
186
|
-
|
187
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v2.0.1.pre4...v2.0.2.pre5)
|
188
|
-
|
189
|
-
**Implemented enhancements:**
|
190
|
-
|
191
|
-
- Summary Error Count [\#132](https://github.com/mitre/inspec_tools/issues/132)
|
192
|
-
- change check and fix tags to sub-descriptions in xccdf2inspec [\#47](https://github.com/mitre/inspec_tools/issues/47)
|
193
|
-
- merge in the `merge\_tool` [\#42](https://github.com/mitre/inspec_tools/issues/42)
|
194
|
-
- InSpec 3.x Data features [\#22](https://github.com/mitre/inspec_tools/issues/22)
|
195
|
-
|
196
|
-
**Merged pull requests:**
|
197
|
-
|
198
|
-
- Ruby 2.6.6 and 2.7.1 update [\#143](https://github.com/mitre/inspec_tools/pull/143) ([Bialogs](https://github.com/Bialogs))
|
199
|
-
|
200
|
-
## [v2.0.1.pre4](https://github.com/mitre/inspec_tools/tree/v2.0.1.pre4) (2020-04-06)
|
201
|
-
|
202
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v2.0.1.pre3...v2.0.1.pre4)
|
203
|
-
|
204
|
-
**Closed issues:**
|
205
|
-
|
206
|
-
- consider how to convert impact 0 to Severity in inspec2ckl [\#60](https://github.com/mitre/inspec_tools/issues/60)
|
207
|
-
|
208
|
-
**Merged pull requests:**
|
209
|
-
|
210
|
-
- Add unit tests for XLSXTool and add system tests in CI [\#130](https://github.com/mitre/inspec_tools/pull/130) ([Bialogs](https://github.com/Bialogs))
|
211
|
-
- Apply fixes from CodeFactor [\#129](https://github.com/mitre/inspec_tools/pull/129) ([aaronlippold](https://github.com/aaronlippold))
|
212
|
-
|
213
|
-
## [v2.0.1.pre3](https://github.com/mitre/inspec_tools/tree/v2.0.1.pre3) (2020-04-03)
|
214
|
-
|
215
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v2.0.1.pre2...v2.0.1.pre3)
|
216
|
-
|
217
|
-
**Merged pull requests:**
|
218
|
-
|
219
|
-
- Cleanup xlsx2inspec Process of Adding NIST and CIS Controls to Inspec Controls [\#127](https://github.com/mitre/inspec_tools/pull/127) ([Bialogs](https://github.com/Bialogs))
|
220
|
-
|
221
|
-
## [v2.0.1.pre2](https://github.com/mitre/inspec_tools/tree/v2.0.1.pre2) (2020-04-02)
|
222
|
-
|
223
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v2.0.1.pre1...v2.0.1.pre2)
|
224
|
-
|
225
|
-
**Merged pull requests:**
|
226
|
-
|
227
|
-
- Missed some references to inspec/objects [\#126](https://github.com/mitre/inspec_tools/pull/126) ([Bialogs](https://github.com/Bialogs))
|
228
|
-
- Move to mitre/inspec-objects [\#125](https://github.com/mitre/inspec_tools/pull/125) ([Bialogs](https://github.com/Bialogs))
|
229
|
-
|
230
|
-
## [v2.0.1.pre1](https://github.com/mitre/inspec_tools/tree/v2.0.1.pre1) (2020-04-02)
|
231
|
-
|
232
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v2.0.0...v2.0.1.pre1)
|
233
|
-
|
234
|
-
**Merged pull requests:**
|
235
|
-
|
236
|
-
- Pull lfs objects in when building the gem. [\#124](https://github.com/mitre/inspec_tools/pull/124) ([rbclark](https://github.com/rbclark))
|
237
|
-
|
238
|
-
## [v2.0.0](https://github.com/mitre/inspec_tools/tree/v2.0.0) (2020-04-01)
|
239
|
-
|
240
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v1.8.10...v2.0.0)
|
241
|
-
|
242
|
-
**Fixed bugs:**
|
243
|
-
|
244
|
-
- xlsx2inspec failing to parse controls over two digits [\#117](https://github.com/mitre/inspec_tools/issues/117)
|
245
|
-
|
246
|
-
**Merged pull requests:**
|
247
|
-
|
248
|
-
- Update parse XLSXTool\#parse\_cis\_control to handle the case when there… [\#123](https://github.com/mitre/inspec_tools/pull/123) ([Bialogs](https://github.com/Bialogs))
|
249
|
-
- Track Inspec versions \>= 4.18.100 [\#122](https://github.com/mitre/inspec_tools/pull/122) ([Bialogs](https://github.com/Bialogs))
|
250
|
-
- Restructure workflow for publishing gem [\#121](https://github.com/mitre/inspec_tools/pull/121) ([rbclark](https://github.com/rbclark))
|
251
|
-
|
252
|
-
## [v1.8.10](https://github.com/mitre/inspec_tools/tree/v1.8.10) (2020-03-30)
|
253
|
-
|
254
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v1.8.9...v1.8.10)
|
255
|
-
|
256
|
-
**Merged pull requests:**
|
257
|
-
|
258
|
-
- added two digit contol parsing fixes \#117 [\#120](https://github.com/mitre/inspec_tools/pull/120) ([yarick](https://github.com/yarick))
|
259
|
-
|
260
|
-
## [v1.8.9](https://github.com/mitre/inspec_tools/tree/v1.8.9) (2020-03-30)
|
261
|
-
|
262
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v1.8.8...v1.8.9)
|
263
|
-
|
264
|
-
**Merged pull requests:**
|
265
|
-
|
266
|
-
- Fix bug in creating severity override guidance tags [\#118](https://github.com/mitre/inspec_tools/pull/118) ([Bialogs](https://github.com/Bialogs))
|
267
|
-
|
268
|
-
## [v1.8.8](https://github.com/mitre/inspec_tools/tree/v1.8.8) (2020-03-30)
|
269
|
-
|
270
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v1.8.7...v1.8.8)
|
271
|
-
|
272
|
-
**Implemented enhancements:**
|
273
|
-
|
274
|
-
- add a `--json-full` and `--json-counts` option to the summary command - like the cli so I can pipe to jq [\#78](https://github.com/mitre/inspec_tools/issues/78)
|
275
|
-
|
276
|
-
**Merged pull requests:**
|
277
|
-
|
278
|
-
- Add --json-full and --json-summary options to summary subcommand [\#116](https://github.com/mitre/inspec_tools/pull/116) ([Bialogs](https://github.com/Bialogs))
|
279
|
-
|
280
|
-
## [v1.8.7](https://github.com/mitre/inspec_tools/tree/v1.8.7) (2020-03-29)
|
281
|
-
|
282
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v1.8.6...v1.8.7)
|
283
|
-
|
284
|
-
## [v1.8.6](https://github.com/mitre/inspec_tools/tree/v1.8.6) (2020-03-27)
|
285
|
-
|
286
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v1.8.5...v1.8.6)
|
287
|
-
|
288
|
-
**Closed issues:**
|
289
|
-
|
290
|
-
- GitHub Actions Build Matrix [\#112](https://github.com/mitre/inspec_tools/issues/112)
|
291
|
-
|
292
|
-
**Merged pull requests:**
|
293
|
-
|
294
|
-
- Update build/test process to only use GitHub actions [\#115](https://github.com/mitre/inspec_tools/pull/115) ([Bialogs](https://github.com/Bialogs))
|
295
|
-
|
296
|
-
## [v1.8.5](https://github.com/mitre/inspec_tools/tree/v1.8.5) (2020-03-27)
|
297
|
-
|
298
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v1.8.4...v1.8.5)
|
299
|
-
|
300
|
-
**Implemented enhancements:**
|
301
|
-
|
302
|
-
- add "\# encoding: utf-8" to controls [\#54](https://github.com/mitre/inspec_tools/issues/54)
|
303
|
-
|
304
|
-
**Merged pull requests:**
|
305
|
-
|
306
|
-
- Add '\# encoding: UTF-8' to the top of all generated controls/\*.rb [\#114](https://github.com/mitre/inspec_tools/pull/114) ([Bialogs](https://github.com/Bialogs))
|
307
|
-
|
308
|
-
## [v1.8.4](https://github.com/mitre/inspec_tools/tree/v1.8.4) (2020-03-27)
|
309
|
-
|
310
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v1.8.3...v1.8.4)
|
311
|
-
|
312
|
-
**Fixed bugs:**
|
313
|
-
|
314
|
-
- \[BUG\] inspec\_tools \> 1.7.1 getting unknown encoding name - UTF-8 \(RuntimeError\) [\#110](https://github.com/mitre/inspec_tools/issues/110)
|
315
|
-
|
316
|
-
**Merged pull requests:**
|
317
|
-
|
318
|
-
- Reorganize overrides [\#113](https://github.com/mitre/inspec_tools/pull/113) ([Bialogs](https://github.com/Bialogs))
|
319
|
-
|
320
|
-
## [v1.8.3](https://github.com/mitre/inspec_tools/tree/v1.8.3) (2020-03-27)
|
321
|
-
|
322
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v1.8.2...v1.8.3)
|
323
|
-
|
324
|
-
**Merged pull requests:**
|
325
|
-
|
326
|
-
- Spaces cause interpreter not to pick up encoding correctly [\#111](https://github.com/mitre/inspec_tools/pull/111) ([Bialogs](https://github.com/Bialogs))
|
327
|
-
|
328
|
-
## [v1.8.2](https://github.com/mitre/inspec_tools/tree/v1.8.2) (2020-03-25)
|
329
|
-
|
330
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v1.8.1...v1.8.2)
|
331
|
-
|
332
|
-
**Merged pull requests:**
|
333
|
-
|
334
|
-
- Gemspec Dependency Updates [\#109](https://github.com/mitre/inspec_tools/pull/109) ([Bialogs](https://github.com/Bialogs))
|
335
|
-
|
336
|
-
## [v1.8.1](https://github.com/mitre/inspec_tools/tree/v1.8.1) (2020-03-24)
|
337
|
-
|
338
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v1.8.0...v1.8.1)
|
339
|
-
|
340
|
-
**Closed issues:**
|
341
|
-
|
342
|
-
- Please update the homepage in the gemspec to point to inspec-tools.mitre.org [\#105](https://github.com/mitre/inspec_tools/issues/105)
|
343
|
-
|
344
|
-
**Merged pull requests:**
|
345
|
-
|
346
|
-
- Update Gem homepage to https://inspec-tools.mitre.org/ [\#108](https://github.com/mitre/inspec_tools/pull/108) ([Bialogs](https://github.com/Bialogs))
|
347
|
-
|
348
|
-
## [v1.8.0](https://github.com/mitre/inspec_tools/tree/v1.8.0) (2020-03-24)
|
349
|
-
|
350
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v1.7.3...v1.8.0)
|
351
|
-
|
352
|
-
**Closed issues:**
|
353
|
-
|
354
|
-
- csv2inspec impact doesn't correct format "CAT I II III" severities [\#88](https://github.com/mitre/inspec_tools/issues/88)
|
355
|
-
|
356
|
-
**Merged pull requests:**
|
357
|
-
|
358
|
-
- Support conversion from CAT/Category style severities when generating an impact number. [\#106](https://github.com/mitre/inspec_tools/pull/106) ([Bialogs](https://github.com/Bialogs))
|
359
|
-
|
360
|
-
## [v1.7.3](https://github.com/mitre/inspec_tools/tree/v1.7.3) (2020-03-23)
|
361
|
-
|
362
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v1.7.2...v1.7.3)
|
363
|
-
|
364
|
-
**Merged pull requests:**
|
365
|
-
|
366
|
-
- Hotfix [\#104](https://github.com/mitre/inspec_tools/pull/104) ([Bialogs](https://github.com/Bialogs))
|
367
|
-
|
368
|
-
## [v1.7.2](https://github.com/mitre/inspec_tools/tree/v1.7.2) (2020-03-23)
|
369
|
-
|
370
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v1.7.1...v1.7.2)
|
371
|
-
|
372
|
-
**Implemented enhancements:**
|
373
|
-
|
374
|
-
- add warning in CLI if needed app is missing for pdf2inspec [\#38](https://github.com/mitre/inspec_tools/issues/38)
|
375
|
-
|
376
|
-
**Merged pull requests:**
|
377
|
-
|
378
|
-
- Allow pushing to any gem host to support GitHub [\#103](https://github.com/mitre/inspec_tools/pull/103) ([Bialogs](https://github.com/Bialogs))
|
379
|
-
|
380
|
-
## [v1.7.1](https://github.com/mitre/inspec_tools/tree/v1.7.1) (2020-03-23)
|
381
|
-
|
382
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v1.7.0...v1.7.1)
|
383
|
-
|
384
|
-
**Merged pull requests:**
|
385
|
-
|
386
|
-
- GitHub Action Workflow Updates [\#102](https://github.com/mitre/inspec_tools/pull/102) ([Bialogs](https://github.com/Bialogs))
|
387
|
-
|
388
|
-
## [v1.7.0](https://github.com/mitre/inspec_tools/tree/v1.7.0) (2020-03-20)
|
389
|
-
|
390
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v1.6.21...v1.7.0)
|
391
|
-
|
392
|
-
**Implemented enhancements:**
|
393
|
-
|
394
|
-
- Migrate to depend on the new inspect objects library [\#86](https://github.com/mitre/inspec_tools/issues/86)
|
395
|
-
|
396
|
-
**Merged pull requests:**
|
397
|
-
|
398
|
-
- Remove warnings \(\#minor\) [\#101](https://github.com/mitre/inspec_tools/pull/101) ([Bialogs](https://github.com/Bialogs))
|
399
|
-
|
400
|
-
## [v1.6.21](https://github.com/mitre/inspec_tools/tree/v1.6.21) (2020-03-20)
|
401
|
-
|
402
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v1.6.20...v1.6.21)
|
403
|
-
|
404
|
-
**Implemented enhancements:**
|
405
|
-
|
406
|
-
- Parse cis XSLX [\#90](https://github.com/mitre/inspec_tools/pull/90) ([lukemalinowski](https://github.com/lukemalinowski))
|
407
|
-
|
408
|
-
**Closed issues:**
|
409
|
-
|
410
|
-
- figure out rubygems.org [\#31](https://github.com/mitre/inspec_tools/issues/31)
|
411
|
-
|
412
|
-
## [v1.6.20](https://github.com/mitre/inspec_tools/tree/v1.6.20) (2020-03-17)
|
413
|
-
|
414
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v1.6.19...v1.6.20)
|
415
|
-
|
416
|
-
**Merged pull requests:**
|
417
|
-
|
418
|
-
- Rubygems release workflow [\#100](https://github.com/mitre/inspec_tools/pull/100) ([Bialogs](https://github.com/Bialogs))
|
419
|
-
|
420
|
-
## [v1.6.19](https://github.com/mitre/inspec_tools/tree/v1.6.19) (2020-03-16)
|
421
|
-
|
422
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v1.6.18...v1.6.19)
|
423
|
-
|
424
|
-
**Merged pull requests:**
|
425
|
-
|
426
|
-
- Update github workflows [\#99](https://github.com/mitre/inspec_tools/pull/99) ([Bialogs](https://github.com/Bialogs))
|
427
|
-
|
428
|
-
## [v1.6.18](https://github.com/mitre/inspec_tools/tree/v1.6.18) (2020-03-16)
|
429
|
-
|
430
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v1.6.17...v1.6.18)
|
431
|
-
|
432
|
-
## [v1.6.17](https://github.com/mitre/inspec_tools/tree/v1.6.17) (2020-03-13)
|
433
|
-
|
434
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v1.6.16...v1.6.17)
|
435
|
-
|
436
|
-
**Fixed bugs:**
|
437
|
-
|
438
|
-
- Fix VERSION file update to update the right file in the gem [\#79](https://github.com/mitre/inspec_tools/issues/79)
|
439
|
-
|
440
|
-
## [v1.6.16](https://github.com/mitre/inspec_tools/tree/v1.6.16) (2020-03-13)
|
441
|
-
|
442
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v1.6.15...v1.6.16)
|
443
|
-
|
444
|
-
**Fixed bugs:**
|
445
|
-
|
446
|
-
- The `changelog.md` versions seem to be broken [\#80](https://github.com/mitre/inspec_tools/issues/80)
|
447
|
-
- Update version.yml regex to match multidigit version numbers and use … [\#98](https://github.com/mitre/inspec_tools/pull/98) ([Bialogs](https://github.com/Bialogs))
|
448
|
-
|
449
|
-
## [v1.6.15](https://github.com/mitre/inspec_tools/tree/v1.6.15) (2020-03-13)
|
450
|
-
|
451
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v1.6.14...v1.6.15)
|
452
|
-
|
453
|
-
**Merged pull requests:**
|
454
|
-
|
455
|
-
- Fix issue with CHANGELOD.md not generating because of invalid startin… [\#97](https://github.com/mitre/inspec_tools/pull/97) ([Bialogs](https://github.com/Bialogs))
|
456
|
-
|
457
|
-
## [v1.6.14](https://github.com/mitre/inspec_tools/tree/v1.6.14) (2020-03-13)
|
458
|
-
|
459
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v1.6.13...v1.6.14)
|
460
|
-
|
461
|
-
**Closed issues:**
|
462
|
-
|
463
|
-
- add travis to the commit/PR workflow [\#36](https://github.com/mitre/inspec_tools/issues/36)
|
464
|
-
|
465
|
-
**Merged pull requests:**
|
466
|
-
|
467
|
-
- Use my personal version of github-actions-x/commit until git-lfs patc… [\#96](https://github.com/mitre/inspec_tools/pull/96) ([Bialogs](https://github.com/Bialogs))
|
468
|
-
|
469
|
-
## [v1.6.13](https://github.com/mitre/inspec_tools/tree/v1.6.13) (2020-03-13)
|
470
|
-
|
471
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v1.6.12...v1.6.13)
|
472
|
-
|
473
|
-
**Closed issues:**
|
474
|
-
|
475
|
-
- use github\_changelog\_generator in our release process [\#33](https://github.com/mitre/inspec_tools/issues/33)
|
476
|
-
- add project instructions for Changelog, contribution and issue\_template [\#32](https://github.com/mitre/inspec_tools/issues/32)
|
477
|
-
|
478
|
-
**Merged pull requests:**
|
479
|
-
|
480
|
-
- Enable git-lfs for this repository; tracking xls and xlsx files. [\#94](https://github.com/mitre/inspec_tools/pull/94) ([Bialogs](https://github.com/Bialogs))
|
481
|
-
|
482
|
-
## [v1.6.12](https://github.com/mitre/inspec_tools/tree/v1.6.12) (2020-03-13)
|
483
|
-
|
484
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v1.6.11...v1.6.12)
|
485
|
-
|
486
|
-
**Closed issues:**
|
487
|
-
|
488
|
-
- Typo in main README.md [\#89](https://github.com/mitre/inspec_tools/issues/89)
|
489
|
-
|
490
|
-
**Merged pull requests:**
|
491
|
-
|
492
|
-
- Fix typo in README.md, Remove development guidance in favor of a wiki… [\#93](https://github.com/mitre/inspec_tools/pull/93) ([Bialogs](https://github.com/Bialogs))
|
493
|
-
|
494
|
-
## [v1.6.11](https://github.com/mitre/inspec_tools/tree/v1.6.11) (2020-03-12)
|
495
|
-
|
496
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v1.6.10...v1.6.11)
|
497
|
-
|
498
|
-
**Closed issues:**
|
499
|
-
|
500
|
-
- DISA STIG web address needs to be updated [\#66](https://github.com/mitre/inspec_tools/issues/66)
|
501
|
-
|
502
|
-
**Merged pull requests:**
|
503
|
-
|
504
|
-
- Ignore debug generated files [\#92](https://github.com/mitre/inspec_tools/pull/92) ([Bialogs](https://github.com/Bialogs))
|
505
|
-
|
506
|
-
## [v1.6.10](https://github.com/mitre/inspec_tools/tree/v1.6.10) (2020-03-12)
|
507
|
-
|
508
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v1.6.9...v1.6.10)
|
509
|
-
|
510
|
-
**Fixed bugs:**
|
511
|
-
|
512
|
-
- Fix https://public.cyber.mil refernces [\#81](https://github.com/mitre/inspec_tools/pull/81) ([aaronlippold](https://github.com/aaronlippold))
|
513
|
-
|
514
|
-
## [v1.6.9](https://github.com/mitre/inspec_tools/tree/v1.6.9) (2020-03-06)
|
515
|
-
|
516
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v1.6.8...v1.6.9)
|
517
|
-
|
518
|
-
## [v1.6.8](https://github.com/mitre/inspec_tools/tree/v1.6.8) (2020-03-05)
|
519
|
-
|
520
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v1.6.7...v1.6.8)
|
521
|
-
|
522
|
-
## [v1.6.7](https://github.com/mitre/inspec_tools/tree/v1.6.7) (2020-02-11)
|
523
|
-
|
524
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v1.6.6...v1.6.7)
|
525
|
-
|
526
|
-
## [v1.6.6](https://github.com/mitre/inspec_tools/tree/v1.6.6) (2020-02-05)
|
527
|
-
|
528
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/53bdcb3...v1.6.6)
|
529
|
-
|
530
|
-
**Fixed bugs:**
|
531
|
-
|
532
|
-
- --help option is broken but inspec\_tools help \<command\> works [\#77](https://github.com/mitre/inspec_tools/issues/77)
|
533
|
-
- Fixes \#77 by shifting help commands around [\#87](https://github.com/mitre/inspec_tools/pull/87) ([lukemalinowski](https://github.com/lukemalinowski))
|
534
|
-
|
535
|
-
**Merged pull requests:**
|
536
|
-
|
537
|
-
- Apply fixes from CodeFactor [\#82](https://github.com/mitre/inspec_tools/pull/82) ([aaronlippold](https://github.com/aaronlippold))
|
538
|
-
|
539
|
-
## [53bdcb3](https://github.com/mitre/inspec_tools/tree/53bdcb3) (2019-11-06)
|
540
|
-
|
541
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v1.6.4...53bdcb3)
|
542
|
-
|
543
|
-
**Fixed bugs:**
|
544
|
-
|
545
|
-
- --version and -v are broken [\#76](https://github.com/mitre/inspec_tools/issues/76)
|
546
|
-
|
547
|
-
**Closed issues:**
|
548
|
-
|
549
|
-
- Logic fix [\#83](https://github.com/mitre/inspec_tools/issues/83)
|
550
|
-
|
551
|
-
**Merged pull requests:**
|
552
|
-
|
553
|
-
- Fixes \#83 [\#85](https://github.com/mitre/inspec_tools/pull/85) ([aaronlippold](https://github.com/aaronlippold))
|
554
|
-
- Fixes \#76 by editing version number [\#84](https://github.com/mitre/inspec_tools/pull/84) ([lukemalinowski](https://github.com/lukemalinowski))
|
555
|
-
|
556
|
-
## [v1.6.4](https://github.com/mitre/inspec_tools/tree/v1.6.4) (2019-11-05)
|
557
|
-
|
558
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v1.6.3...v1.6.4)
|
559
|
-
|
560
|
-
## [v1.6.3](https://github.com/mitre/inspec_tools/tree/v1.6.3) (2019-11-05)
|
561
|
-
|
562
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v1.6.5...v1.6.3)
|
563
|
-
|
564
|
-
## [v1.6.5](https://github.com/mitre/inspec_tools/tree/v1.6.5) (2019-11-05)
|
565
|
-
|
566
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v1.6.2...v1.6.5)
|
567
|
-
|
568
|
-
## [v1.6.2](https://github.com/mitre/inspec_tools/tree/v1.6.2) (2019-11-05)
|
569
|
-
|
570
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v1.6.1...v1.6.2)
|
571
|
-
|
572
|
-
## [v1.6.1](https://github.com/mitre/inspec_tools/tree/v1.6.1) (2019-11-05)
|
573
|
-
|
574
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v1.6.0...v1.6.1)
|
575
|
-
|
576
|
-
**Merged pull requests:**
|
577
|
-
|
578
|
-
- Update Profile logic include control exceptions [\#75](https://github.com/mitre/inspec_tools/pull/75) ([rx294](https://github.com/rx294))
|
579
|
-
- Null Byte in json report causes inspec2ckl to bomb-out [\#73](https://github.com/mitre/inspec_tools/pull/73) ([kevin-j-smith](https://github.com/kevin-j-smith))
|
580
|
-
|
581
|
-
## [v1.6.0](https://github.com/mitre/inspec_tools/tree/v1.6.0) (2019-10-04)
|
582
|
-
|
583
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v1.5.0...v1.6.0)
|
584
|
-
|
585
|
-
**Closed issues:**
|
586
|
-
|
587
|
-
- Updated logic for results metrics [\#74](https://github.com/mitre/inspec_tools/issues/74)
|
588
|
-
|
589
|
-
## [v1.5.0](https://github.com/mitre/inspec_tools/tree/v1.5.0) (2019-09-10)
|
590
|
-
|
591
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v1.4.2...v1.5.0)
|
592
|
-
|
593
|
-
**Closed issues:**
|
594
|
-
|
595
|
-
- Feature Enhancement: Inspec command plugin for inspec\_tools [\#67](https://github.com/mitre/inspec_tools/issues/67)
|
596
|
-
|
597
|
-
**Merged pull requests:**
|
598
|
-
|
599
|
-
- Kevin j smith adding inspec command plugin logic [\#72](https://github.com/mitre/inspec_tools/pull/72) ([lukemalinowski](https://github.com/lukemalinowski))
|
600
|
-
- Added logic so that inspec\_tools can be a plugin to Inspec as a comma… [\#68](https://github.com/mitre/inspec_tools/pull/68) ([kevin-j-smith](https://github.com/kevin-j-smith))
|
601
|
-
|
602
|
-
## [v1.4.2](https://github.com/mitre/inspec_tools/tree/v1.4.2) (2019-07-30)
|
603
|
-
|
604
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v1.4.1...v1.4.2)
|
605
|
-
|
606
|
-
**Closed issues:**
|
607
|
-
|
608
|
-
- Add additional option for Summary command [\#64](https://github.com/mitre/inspec_tools/issues/64)
|
609
|
-
- `insert\_json\_metadata': undefined method `version' for nil:NilClass [\#63](https://github.com/mitre/inspec_tools/issues/63)
|
610
|
-
|
611
|
-
**Merged pull requests:**
|
612
|
-
|
613
|
-
- Updated rake version [\#69](https://github.com/mitre/inspec_tools/pull/69) ([robthew](https://github.com/robthew))
|
614
|
-
- Add in 'inspec' and 'fileutils' require statements [\#65](https://github.com/mitre/inspec_tools/pull/65) ([samcornwell](https://github.com/samcornwell))
|
615
|
-
|
616
|
-
## [v1.4.1](https://github.com/mitre/inspec_tools/tree/v1.4.1) (2019-06-20)
|
617
|
-
|
618
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v1.4.0...v1.4.1)
|
619
|
-
|
620
|
-
## [v1.4.0](https://github.com/mitre/inspec_tools/tree/v1.4.0) (2019-05-17)
|
621
|
-
|
622
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v1.3.6...v1.4.0)
|
623
|
-
|
624
|
-
**Merged pull requests:**
|
625
|
-
|
626
|
-
- Apply fixes from CodeFactor [\#61](https://github.com/mitre/inspec_tools/pull/61) ([aaronlippold](https://github.com/aaronlippold))
|
627
|
-
|
628
|
-
## [v1.3.6](https://github.com/mitre/inspec_tools/tree/v1.3.6) (2019-05-02)
|
629
|
-
|
630
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v1.3.5...v1.3.6)
|
631
|
-
|
632
|
-
**Implemented enhancements:**
|
633
|
-
|
634
|
-
- document new metadata.json file and creation of file in README.md [\#53](https://github.com/mitre/inspec_tools/issues/53)
|
635
|
-
- remove 'severity' from conversion [\#57](https://github.com/mitre/inspec_tools/pull/57) ([aaronlippold](https://github.com/aaronlippold))
|
636
|
-
|
637
|
-
**Closed issues:**
|
638
|
-
|
639
|
-
- While working with STIGViewer there were some missing TAGs [\#50](https://github.com/mitre/inspec_tools/issues/50)
|
640
|
-
- remove severity tag in xccdf to inspec converted [\#44](https://github.com/mitre/inspec_tools/issues/44)
|
641
|
-
|
642
|
-
## [v1.3.5](https://github.com/mitre/inspec_tools/tree/v1.3.5) (2019-05-01)
|
643
|
-
|
644
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v1.3.4...v1.3.5)
|
645
|
-
|
646
|
-
## [v1.3.4](https://github.com/mitre/inspec_tools/tree/v1.3.4) (2019-05-01)
|
647
|
-
|
648
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v1.1.6...v1.3.4)
|
649
|
-
|
650
|
-
**Closed issues:**
|
651
|
-
|
652
|
-
- Needed app is missing [\#49](https://github.com/mitre/inspec_tools/issues/49)
|
653
|
-
- 2018 b79e5c3 [\#48](https://github.com/mitre/inspec_tools/issues/48)
|
654
|
-
|
655
|
-
**Merged pull requests:**
|
656
|
-
|
657
|
-
- Metadata docs and tools [\#55](https://github.com/mitre/inspec_tools/pull/55) ([samcornwell](https://github.com/samcornwell))
|
658
|
-
- Fix bugs introduced by \#51 \(STIGViewer PR\) [\#52](https://github.com/mitre/inspec_tools/pull/52) ([samcornwell](https://github.com/samcornwell))
|
659
|
-
- Enhancements to meet working with STIGViewer as well as tracking some custom metadata when converting from xccdf2inspec and inspec2ckl [\#51](https://github.com/mitre/inspec_tools/pull/51) ([kevin-j-smith](https://github.com/kevin-j-smith))
|
660
|
-
- Add modules summary, compliance [\#45](https://github.com/mitre/inspec_tools/pull/45) ([rx294](https://github.com/rx294))
|
661
|
-
|
662
|
-
## [v1.1.6](https://github.com/mitre/inspec_tools/tree/v1.1.6) (2018-12-13)
|
663
|
-
|
664
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v1.1.5...v1.1.6)
|
665
|
-
|
666
|
-
## [v1.1.5](https://github.com/mitre/inspec_tools/tree/v1.1.5) (2018-12-11)
|
667
|
-
|
668
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v1.1.2...v1.1.5)
|
669
|
-
|
670
|
-
**Implemented enhancements:**
|
671
|
-
|
672
|
-
- Add help for the gem usage and or ruby usage [\#7](https://github.com/mitre/inspec_tools/issues/7)
|
673
|
-
- add sub-help command output to match README and document each function [\#6](https://github.com/mitre/inspec_tools/issues/6)
|
674
|
-
|
675
|
-
**Closed issues:**
|
676
|
-
|
677
|
-
- add rubocop integration or PRs [\#34](https://github.com/mitre/inspec_tools/issues/34)
|
678
|
-
- Do we want to expose the --cci flag in the example as it is now not needed by default given it is in the /data directory [\#29](https://github.com/mitre/inspec_tools/issues/29)
|
679
|
-
- fix the subcommands help so it works as expected [\#28](https://github.com/mitre/inspec_tools/issues/28)
|
680
|
-
- THOR CLI: xccdf2inspec for example was giving me a hard time about the order of -x or --xccdf or --cci or -c and the order they were in - the docs on it seems to give two sets of directions [\#27](https://github.com/mitre/inspec_tools/issues/27)
|
681
|
-
- do we have to do anything special for including CIS Benchmarks? [\#21](https://github.com/mitre/inspec_tools/issues/21)
|
682
|
-
- clean up debug statements [\#20](https://github.com/mitre/inspec_tools/issues/20)
|
683
|
-
- Give attribution for files in /data [\#19](https://github.com/mitre/inspec_tools/issues/19)
|
684
|
-
- add copyright statements if necessary [\#15](https://github.com/mitre/inspec_tools/issues/15)
|
685
|
-
- check /examples/sample\_json to see if any of the results are sensitive [\#14](https://github.com/mitre/inspec_tools/issues/14)
|
686
|
-
|
687
|
-
**Merged pull requests:**
|
688
|
-
|
689
|
-
- replaced docsplit with pdf-reader [\#43](https://github.com/mitre/inspec_tools/pull/43) ([robthew](https://github.com/robthew))
|
690
|
-
- Updated remove dir statement [\#41](https://github.com/mitre/inspec_tools/pull/41) ([robthew](https://github.com/robthew))
|
691
|
-
- Added appveyor config [\#40](https://github.com/mitre/inspec_tools/pull/40) ([robthew](https://github.com/robthew))
|
692
|
-
- Travis test [\#39](https://github.com/mitre/inspec_tools/pull/39) ([robthew](https://github.com/robthew))
|
693
|
-
- Add rubocop to the process [\#35](https://github.com/mitre/inspec_tools/pull/35) ([aaronlippold](https://github.com/aaronlippold))
|
694
|
-
- \* added refernces to external data sources [\#30](https://github.com/mitre/inspec_tools/pull/30) ([aaronlippold](https://github.com/aaronlippold))
|
695
|
-
|
696
|
-
## [v1.1.2](https://github.com/mitre/inspec_tools/tree/v1.1.2) (2018-11-08)
|
697
|
-
|
698
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v1.1.1...v1.1.2)
|
699
|
-
|
700
|
-
## [v1.1.1](https://github.com/mitre/inspec_tools/tree/v1.1.1) (2018-11-08)
|
701
|
-
|
702
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/v1.1.0...v1.1.1)
|
703
|
-
|
704
|
-
## [v1.1.0](https://github.com/mitre/inspec_tools/tree/v1.1.0) (2018-11-08)
|
705
|
-
|
706
|
-
[Full Changelog](https://github.com/mitre/inspec_tools/compare/85b69b32277ea43f95b09eee00e9f7b84c62dfff...v1.1.0)
|
707
|
-
|
708
|
-
**Fixed bugs:**
|
709
|
-
|
710
|
-
- Remove unneeded `exe` dir if we are going to standardize on `bin`and update the `.gemspec` file [\#25](https://github.com/mitre/inspec_tools/issues/25)
|
711
|
-
|
712
|
-
**Closed issues:**
|
713
|
-
|
714
|
-
- when you When build the gem and install it - the command `inspec\_tools` does not seem to install into the path [\#26](https://github.com/mitre/inspec_tools/issues/26)
|
715
|
-
- Add MITRE Copyright to the end of the README.md [\#23](https://github.com/mitre/inspec_tools/issues/23)
|
716
|
-
- Update email addresses to MITRE addresses [\#18](https://github.com/mitre/inspec_tools/issues/18)
|
717
|
-
- update readme.md [\#17](https://github.com/mitre/inspec_tools/issues/17)
|
718
|
-
- update inspec\_tools.gemspec [\#16](https://github.com/mitre/inspec_tools/issues/16)
|
719
|
-
- update license to apache 2.0 [\#13](https://github.com/mitre/inspec_tools/issues/13)
|
720
|
-
- Separate Files defaults to \[False\] [\#10](https://github.com/mitre/inspec_tools/issues/10)
|
721
|
-
- Rename repository to 'inspec\_tools' [\#9](https://github.com/mitre/inspec_tools/issues/9)
|
722
|
-
|
723
|
-
**Merged pull requests:**
|
724
|
-
|
725
|
-
- Cleanup Debug Statetements [\#12](https://github.com/mitre/inspec_tools/pull/12) ([yarick](https://github.com/yarick))
|
726
|
-
- Change default separated\_files setting to default to true [\#11](https://github.com/mitre/inspec_tools/pull/11) ([yarick](https://github.com/yarick))
|
727
|
-
- Cleanup [\#8](https://github.com/mitre/inspec_tools/pull/8) ([robthew](https://github.com/robthew))
|
728
|
-
- Unification [\#5](https://github.com/mitre/inspec_tools/pull/5) ([dromazmj](https://github.com/dromazmj))
|
729
|
-
- \* Adds functionality for inspec2csv [\#4](https://github.com/mitre/inspec_tools/pull/4) ([dromazmj](https://github.com/dromazmj))
|
730
|
-
- Md/pdf [\#3](https://github.com/mitre/inspec_tools/pull/3) ([dromazmj](https://github.com/dromazmj))
|
731
|
-
- Md/csv2inspec [\#2](https://github.com/mitre/inspec_tools/pull/2) ([dromazmj](https://github.com/dromazmj))
|
732
|
-
- Writes code in the inspec util to output an inspec json to a directory [\#1](https://github.com/mitre/inspec_tools/pull/1) ([dromazmj](https://github.com/dromazmj))
|
733
|
-
|
734
|
-
|
735
|
-
|
736
|
-
\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
|
Binary file
|
data/lib/data/NIST_Map_09212017B_CSC-CIS_Critical_Security_Controls_VER_6.1_Excel_9.1.2016.xlsx
DELETED
Binary file
|
@@ -1,57 +0,0 @@
|
|
1
|
-
require 'roo'
|
2
|
-
|
3
|
-
module Util
|
4
|
-
class ExtractNistMappings
|
5
|
-
def initialize(file)
|
6
|
-
@file = file
|
7
|
-
@full_excel = []
|
8
|
-
@headers = {}
|
9
|
-
|
10
|
-
open_excel
|
11
|
-
set_working_sheet
|
12
|
-
map_headers
|
13
|
-
retrieve_mappings
|
14
|
-
end
|
15
|
-
|
16
|
-
def open_excel
|
17
|
-
@xlsx = Roo::Excelx.new(@file)
|
18
|
-
end
|
19
|
-
|
20
|
-
def full_excl
|
21
|
-
@full_excel
|
22
|
-
end
|
23
|
-
|
24
|
-
def set_working_sheet
|
25
|
-
@xlsx.default_sheet = 'VER 6.1 Controls'
|
26
|
-
end
|
27
|
-
|
28
|
-
def map_headers
|
29
|
-
@xlsx.row(3).each_with_index { |header, i|
|
30
|
-
@headers[header] = i
|
31
|
-
}
|
32
|
-
end
|
33
|
-
|
34
|
-
def retrieve_mappings
|
35
|
-
nist_ver = 4
|
36
|
-
cis_ver = @xlsx.row(2)[4].split(' ')[-1]
|
37
|
-
ctrl_count = 1
|
38
|
-
((@xlsx.first_row + 3)..@xlsx.last_row).each do |row_value|
|
39
|
-
current_row = {}
|
40
|
-
if @xlsx.row(row_value)[@headers['NIST SP 800-53 Control #']].to_s != ''
|
41
|
-
current_row[:nist] = @xlsx.row(row_value)[@headers['NIST SP 800-53 Control #']].to_s
|
42
|
-
else
|
43
|
-
current_row[:nist] = 'Not Mapped'
|
44
|
-
end
|
45
|
-
current_row[:nist_ver] = nist_ver
|
46
|
-
if @xlsx.row(row_value)[@headers['Control']].to_s == ''
|
47
|
-
current_row[:cis] = ctrl_count.to_s
|
48
|
-
ctrl_count += 1
|
49
|
-
else
|
50
|
-
current_row[:cis] = @xlsx.row(row_value)[@headers['Control']].to_s
|
51
|
-
end
|
52
|
-
current_row[:cis_ver] = cis_ver
|
53
|
-
@full_excel << current_row
|
54
|
-
end
|
55
|
-
end
|
56
|
-
end
|
57
|
-
end
|