inspec 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: 97359c70280644ef6740b0411da01c65f28f68b2c605f80f7a929ce40ed1f420
4
- data.tar.gz: 6ef3c2bbc9ab39b14ca2b9e0c7702d8d08619022ce12369fa58bc7ef28537e4e
3
+ metadata.gz: 6a09a7de457b9f4594e294d9e4718f7f0e310af828ce5dde58204e44767160f7
4
+ data.tar.gz: 42e21f6831ee20c1e133ba0d1113fb4cff14d9661d7232d03a5f48121f5bc481
5
5
  SHA512:
6
- metadata.gz: 67a8ae8d08412975b9d3eb1d1921b720e5b86017f66a644d9b563d15b5aa558d35898ea65c68a8a2b2cacb15de5863aedbb44a9fc25dc5168b93879ab1e43eca
7
- data.tar.gz: 1be01c10d2ec56e0f064f13ea8cd303e656ff7ede25f91d93845daa8118bc889a4a3f0e8683d2ca87416a1175906bcb3ed4a4d414e52f7d8bb51e39185a8cea6
6
+ metadata.gz: 8912827bfa520e5d11a837541d51355804997eb1ef1898cf4605d69a8eaa65c02d20c8416865a47b8190661c9f4f445ab86e921ea8cae4ba7901ffaafc4ca0f1
7
+ data.tar.gz: b6ca37fa419e180e2f6bb535f646af152618ac57a6a4d8c7c6e9ca353e337c456291834f05c3ff5dc51ffa2631af38f8802785244345aa336a5fefb1de87e052
@@ -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
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