inspec-core 2.2.101 → 2.2.102

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: bad3e7476f7a3931284706247846b67ecabfb59be55430187e86dc6635436a4f
4
- data.tar.gz: ec9f1586d0bde6037aa60a25ee9d758feb21e9715a45019baaa7189b9de599df
3
+ metadata.gz: 536fc0f8a749210da73f4908b57c9c3f032541ff2b8c27b293fdea23e138f518
4
+ data.tar.gz: 27c338de9ab67b4c28e8dfa70e503e9d89b0a730008fb96a1a55d1d441b79bee
5
5
  SHA512:
6
- metadata.gz: ca03041c8f5168ac760996394b57649208debb42e761dcca2fda628adc9850d72c4c962ceb34df836313169d1137a9217dc69b6f3fa3fa64c64f70298b514a18
7
- data.tar.gz: 6a6aeb327d3664bb505b35d80a68d157eef7427f2bfe43062c2559ca6dc320bc4350be61fe85b26768a9d8348923099b726880609628162ee3478b6956146485
6
+ metadata.gz: 12215a7ecd6b95a6a06d111079ef6343fa08840a3a357ac36be0b56c401ce9671137db9575cb62a334b32205cd2b17db20ef7193ff64ce98e71ceb2b80cf622d
7
+ data.tar.gz: 1887e20247d05651d7793338d8c39b705ce1cd76d1fb6fbf98fa0b293df6153c2655bf3d361af73893c1cfc1880bcc9bc9d06c3b5bc399e96c2225eb2aa0c313
@@ -1,45 +1,51 @@
1
1
  # Change Log
2
2
  <!-- usage documentation: http://expeditor-docs.es.chef.io/configuration/changelog/ -->
3
- <!-- latest_release 2.2.101 -->
4
- ## [v2.2.101](https://github.com/inspec/inspec/tree/v2.2.101) (2018-09-14)
3
+ <!-- latest_release 2.2.102 -->
4
+ ## [v2.2.102](https://github.com/inspec/inspec/tree/v2.2.102) (2018-09-17)
5
5
 
6
6
  #### Merged Pull Requests
7
- - Fix profile vendoring on Windows [#3378](https://github.com/inspec/inspec/pull/3378) ([jerryaldrichiii](https://github.com/jerryaldrichiii))
7
+ - Add json-automate to the report method [#3401](https://github.com/inspec/inspec/pull/3401) ([jquick](https://github.com/jquick))
8
8
  <!-- latest_release -->
9
9
 
10
- <!-- release_rollup since=2.2.78 -->
11
- ### Changes since 2.2.78 release
10
+ <!-- release_rollup since=2.2.101 -->
11
+ ### Changes since 2.2.101 release
12
12
 
13
- #### New Features
14
- - Add string impact options for controls [#3359](https://github.com/inspec/inspec/pull/3359) ([jquick](https://github.com/jquick)) <!-- 2.2.96 -->
13
+ #### Merged Pull Requests
14
+ - Add json-automate to the report method [#3401](https://github.com/inspec/inspec/pull/3401) ([jquick](https://github.com/jquick)) <!-- 2.2.102 -->
15
+ <!-- release_rollup -->
15
16
 
16
- #### Bug Fixes
17
- - Fix the compliance target error checks [#3392](https://github.com/inspec/inspec/pull/3392) ([jquick](https://github.com/jquick)) <!-- 2.2.94 -->
18
- - Prevent logs from showing up when running inspec json [#3391](https://github.com/inspec/inspec/pull/3391) ([jquick](https://github.com/jquick)) <!-- 2.2.93 -->
19
- - Fixing AWS integration tests. [#3374](https://github.com/inspec/inspec/pull/3374) ([MartinLogan](https://github.com/MartinLogan)) <!-- 2.2.87 -->
20
- - enforce utf encoding for cli output [#3376](https://github.com/inspec/inspec/pull/3376) ([chris-rock](https://github.com/chris-rock)) <!-- 2.2.86 -->
21
- - Fix vendoring functional test cleanup [#3377](https://github.com/inspec/inspec/pull/3377) ([jquick](https://github.com/jquick)) <!-- 2.2.85 -->
22
- - use multipart gem for upload to support upload on windows [#3369](https://github.com/inspec/inspec/pull/3369) ([chris-rock](https://github.com/chris-rock)) <!-- 2.2.84 -->
23
- - ensure we use the mock backend when we upload profiles [#3370](https://github.com/inspec/inspec/pull/3370) ([chris-rock](https://github.com/chris-rock)) <!-- 2.2.83 -->
17
+ <!-- latest_stable_release -->
18
+ ## [v2.2.101](https://github.com/inspec/inspec/tree/v2.2.101) (2018-09-14)
19
+
20
+ #### New Features
21
+ - Add string impact options for controls [#3359](https://github.com/inspec/inspec/pull/3359) ([jquick](https://github.com/jquick))
24
22
 
25
23
  #### Enhancements
26
- - do not show success message since its confusing [#3366](https://github.com/inspec/inspec/pull/3366) ([chris-rock](https://github.com/chris-rock)) <!-- 2.2.82 -->
27
- - Harmonize vendoring (ensure archives are extracted and local paths do not vendor on exec) [#3286](https://github.com/inspec/inspec/pull/3286) ([jerryaldrichiii](https://github.com/jerryaldrichiii)) <!-- 2.2.81 -->
28
- - handle errors from automate report and display them to the user [#3360](https://github.com/inspec/inspec/pull/3360) ([chris-rock](https://github.com/chris-rock)) <!-- 2.2.80 -->
24
+ - handle errors from automate report and display them to the user [#3360](https://github.com/inspec/inspec/pull/3360) ([chris-rock](https://github.com/chris-rock))
25
+ - Harmonize vendoring (ensure archives are extracted and local paths do not vendor on exec) [#3286](https://github.com/inspec/inspec/pull/3286) ([jerryaldrichiii](https://github.com/jerryaldrichiii))
26
+ - do not show success message since its confusing [#3366](https://github.com/inspec/inspec/pull/3366) ([chris-rock](https://github.com/chris-rock))
29
27
 
30
- #### Merged Pull Requests
31
- - Fix profile vendoring on Windows [#3378](https://github.com/inspec/inspec/pull/3378) ([jerryaldrichiii](https://github.com/jerryaldrichiii)) <!-- 2.2.101 -->
32
- - Add platforms schema command [#3346](https://github.com/inspec/inspec/pull/3346) ([jquick](https://github.com/jquick)) <!-- 2.2.97 -->
33
- - Bump omnibus ruby to 2.5.1 [#3390](https://github.com/inspec/inspec/pull/3390) ([jquick](https://github.com/jquick)) <!-- 2.2.95 -->
34
- - Add windows functional tests [#3385](https://github.com/inspec/inspec/pull/3385) ([jquick](https://github.com/jquick)) <!-- 2.2.92 -->
35
- - Populate code for inspec json inheritance [#3386](https://github.com/inspec/inspec/pull/3386) ([jquick](https://github.com/jquick)) <!-- 2.2.91 -->
36
- - Revert uuid change from A2 report [#3387](https://github.com/inspec/inspec/pull/3387) ([jquick](https://github.com/jquick)) <!-- 2.2.90 -->
37
- - Implement InSpec global attributes [#3318](https://github.com/inspec/inspec/pull/3318) ([jquick](https://github.com/jquick)) <!-- 2.2.89 -->
38
- - Update rubyzip to resolve a directory traversal security vulnerability. [#3388](https://github.com/inspec/inspec/pull/3388) ([miah](https://github.com/miah)) <!-- 2.2.88 -->
39
- - Allow target-id passthrough [#3320](https://github.com/inspec/inspec/pull/3320) ([jquick](https://github.com/jquick)) <!-- 2.2.79 -->
40
- <!-- release_rollup -->
28
+ #### Bug Fixes
29
+ - ensure we use the mock backend when we upload profiles [#3370](https://github.com/inspec/inspec/pull/3370) ([chris-rock](https://github.com/chris-rock))
30
+ - use multipart gem for upload to support upload on windows [#3369](https://github.com/inspec/inspec/pull/3369) ([chris-rock](https://github.com/chris-rock))
31
+ - Fix vendoring functional test cleanup [#3377](https://github.com/inspec/inspec/pull/3377) ([jquick](https://github.com/jquick))
32
+ - enforce utf encoding for cli output [#3376](https://github.com/inspec/inspec/pull/3376) ([chris-rock](https://github.com/chris-rock))
33
+ - Fixing AWS integration tests. [#3374](https://github.com/inspec/inspec/pull/3374) ([MartinLogan](https://github.com/MartinLogan))
34
+ - Prevent logs from showing up when running inspec json [#3391](https://github.com/inspec/inspec/pull/3391) ([jquick](https://github.com/jquick))
35
+ - Fix the compliance target error checks [#3392](https://github.com/inspec/inspec/pull/3392) ([jquick](https://github.com/jquick))
41
36
 
37
+ #### Merged Pull Requests
38
+ - Allow target-id passthrough [#3320](https://github.com/inspec/inspec/pull/3320) ([jquick](https://github.com/jquick))
39
+ - Update rubyzip to resolve a directory traversal security vulnerability. [#3388](https://github.com/inspec/inspec/pull/3388) ([miah](https://github.com/miah))
40
+ - Implement InSpec global attributes [#3318](https://github.com/inspec/inspec/pull/3318) ([jquick](https://github.com/jquick))
41
+ - Revert uuid change from A2 report [#3387](https://github.com/inspec/inspec/pull/3387) ([jquick](https://github.com/jquick))
42
+ - Populate code for inspec json inheritance [#3386](https://github.com/inspec/inspec/pull/3386) ([jquick](https://github.com/jquick))
43
+ - Add windows functional tests [#3385](https://github.com/inspec/inspec/pull/3385) ([jquick](https://github.com/jquick))
44
+ - Bump omnibus ruby to 2.5.1 [#3390](https://github.com/inspec/inspec/pull/3390) ([jquick](https://github.com/jquick))
45
+ - Add platforms schema command [#3346](https://github.com/inspec/inspec/pull/3346) ([jquick](https://github.com/jquick))
46
+ - Fix profile vendoring on Windows [#3378](https://github.com/inspec/inspec/pull/3378) ([jerryaldrichiii](https://github.com/jerryaldrichiii))
42
47
  <!-- latest_stable_release -->
48
+
43
49
  ## [v2.2.78](https://github.com/inspec/inspec/tree/v2.2.78) (2018-08-30)
44
50
 
45
51
  #### New Features
@@ -55,7 +61,6 @@
55
61
  - Convert legacy supports to their platform counterparts [#3333](https://github.com/inspec/inspec/pull/3333) ([jquick](https://github.com/jquick))
56
62
  - Fix the brew command to install inspec [#3335](https://github.com/inspec/inspec/pull/3335) ([tas50](https://github.com/tas50))
57
63
  - Update demo site nom packages [#3343](https://github.com/inspec/inspec/pull/3343) ([miah](https://github.com/miah))
58
- <!-- latest_stable_release -->
59
64
 
60
65
  ## [v2.2.70](https://github.com/inspec/inspec/tree/v2.2.70) (2018-08-24)
61
66
 
@@ -59,6 +59,8 @@ module Inspec::Reporters
59
59
  reporter = Inspec::Reporters::Json.new(config)
60
60
  when 'json-min'
61
61
  reporter = Inspec::Reporters::JsonMin.new(config)
62
+ when 'json-automate'
63
+ reporter = Inspec::Reporters::JsonAutomate.new(config)
62
64
  when 'yaml'
63
65
  reporter = Inspec::Reporters::Yaml.new(config)
64
66
  else
@@ -17,7 +17,7 @@ module Inspec::Reporters
17
17
 
18
18
  def enriched_report
19
19
  # grab the report from the parent class
20
- final_report = report_merged
20
+ final_report = report
21
21
 
22
22
  # Label this content as an inspec_report
23
23
  final_report[:type] = 'inspec_report'
@@ -13,9 +13,9 @@ module Inspec::Reporters
13
13
  output(report_merged.to_json, false)
14
14
  end
15
15
 
16
- def report_merged
16
+ def report
17
17
  # grab profiles from the json parent class
18
- @profiles = report[:profiles]
18
+ @profiles = profiles
19
19
 
20
20
  {
21
21
  platform: platform,
@@ -4,5 +4,5 @@
4
4
  # author: Christoph Hartmann
5
5
 
6
6
  module Inspec
7
- VERSION = '2.2.101'
7
+ VERSION = '2.2.102'
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inspec-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.101
4
+ version: 2.2.102
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dominik Richter
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-14 00:00:00.000000000 Z
11
+ date: 2018-09-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: train-core