inspec 2.1.67 → 2.1.68

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
  SHA1:
3
- metadata.gz: 3b433c23e0f104009667cb51b6b8ab4a81e01b63
4
- data.tar.gz: 58c72645fab1bbf25e56338f522ba55f6ca51bbf
3
+ metadata.gz: fc06a8947f28bce46b717042d1e7f4a6d40dd05d
4
+ data.tar.gz: b403a15967a3c78db4022bc3a6b261c61c5b89c0
5
5
  SHA512:
6
- metadata.gz: ed147a0607f35c18186214bada157514130cd1000b31967b8c7f6ab861b7459e01ebfa9b57cb139d77d2aed80ba5d9e33d06eb5dad0c9f39f75dd6e01708f688
7
- data.tar.gz: 3c2b47a3378ce52eaceac205a34d387ab9b301a752a7906decc8e29720876be0d13bbe17cc7fd414ae0ed0f88b6c533eebe22bacd089cbbd6624344c7d770a9c
6
+ metadata.gz: 38b55180f6cbb5cd88ed9f8b382c17d5a3783210804d450532e422be0dfcaafb88069048c2a5382ff123bbae4bf09562e03fc3a6b39dbe6582ca15d98db8cad0
7
+ data.tar.gz: d5725629b0e2d53847a7d7eb7baadd8056b3e1444b8d831312186c9b6b9c702f6b02763cc9b4ad643fbd1a38bb9757325e95f09e87711800a9e57b6fbea0ad0d
data/CHANGELOG.md CHANGED
@@ -1,33 +1,39 @@
1
1
  # Change Log
2
2
  <!-- usage documentation: http://expeditor-docs.es.chef.io/configuration/changelog/ -->
3
- <!-- latest_release 2.1.67 -->
4
- ## [v2.1.67](https://github.com/chef/inspec/tree/v2.1.67) (2018-05-03)
3
+ <!-- latest_release 2.1.68 -->
4
+ ## [v2.1.68](https://github.com/chef/inspec/tree/v2.1.68) (2018-05-04)
5
5
 
6
- #### Bug Fixes
7
- - Add A2 support for profile compliance depends [#3014](https://github.com/chef/inspec/pull/3014) ([jquick](https://github.com/jquick))
6
+ #### Merged Pull Requests
7
+ - Fix the A2 vendoring with depends on the A2 server [#3022](https://github.com/chef/inspec/pull/3022) ([jquick](https://github.com/jquick))
8
8
  <!-- latest_release -->
9
9
 
10
- <!-- release_rollup since=2.1.59 -->
11
- ### Changes since 2.1.59 release
10
+ <!-- release_rollup since=2.1.67 -->
11
+ ### Changes since 2.1.67 release
12
12
 
13
- #### New Features
14
- - #2810 - Add check if aws s3 bucket is encrypted. [#2937](https://github.com/chef/inspec/pull/2937) ([UranusBytes](https://github.com/UranusBytes)) <!-- 2.1.64 -->
13
+ #### Merged Pull Requests
14
+ - Fix the A2 vendoring with depends on the A2 server [#3022](https://github.com/chef/inspec/pull/3022) ([jquick](https://github.com/jquick)) <!-- 2.1.68 -->
15
+ <!-- release_rollup -->
15
16
 
16
- #### Bug Fixes
17
- - Add A2 support for profile compliance depends [#3014](https://github.com/chef/inspec/pull/3014) ([jquick](https://github.com/jquick)) <!-- 2.1.67 -->
18
- - nginx_conf resource: Fix include paths with quotes [#2726](https://github.com/chef/inspec/pull/2726) ([jerryaldrichiii](https://github.com/jerryaldrichiii)) <!-- 2.1.63 -->
17
+ <!-- latest_stable_release -->
18
+ ## [v2.1.67](https://github.com/chef/inspec/tree/v2.1.67) (2018-05-03)
19
+
20
+ #### New Features
21
+ - #2810 - Add check if aws s3 bucket is encrypted. [#2937](https://github.com/chef/inspec/pull/2937) ([UranusBytes](https://github.com/UranusBytes))
19
22
 
20
23
  #### Enhancements
21
- - Split inspec into a core gem. [#3008](https://github.com/chef/inspec/pull/3008) ([miah](https://github.com/miah)) <!-- 2.1.65 -->
22
- - Refactors Terraform plan to break out steps [#2996](https://github.com/chef/inspec/pull/2996) ([dmccown](https://github.com/dmccown)) <!-- 2.1.61 -->
24
+ - Refactors Terraform plan to break out steps [#2996](https://github.com/chef/inspec/pull/2996) ([dmccown](https://github.com/dmccown))
25
+ - Split inspec into a core gem. [#3008](https://github.com/chef/inspec/pull/3008) ([miah](https://github.com/miah))
23
26
 
24
- #### Merged Pull Requests
25
- - Add inspec-core gem to expeditor release [#3018](https://github.com/chef/inspec/pull/3018) ([jquick](https://github.com/jquick)) <!-- 2.1.66 -->
26
- - cmp should recognise a string being a negative int [#3007](https://github.com/chef/inspec/pull/3007) ([james-stocks](https://github.com/james-stocks)) <!-- 2.1.62 -->
27
- - Update Habitat plan [#3000](https://github.com/chef/inspec/pull/3000) ([jerryaldrichiii](https://github.com/jerryaldrichiii)) <!-- 2.1.60 -->
28
- <!-- release_rollup -->
27
+ #### Bug Fixes
28
+ - nginx_conf resource: Fix include paths with quotes [#2726](https://github.com/chef/inspec/pull/2726) ([jerryaldrichiii](https://github.com/jerryaldrichiii))
29
+ - Add A2 support for profile compliance depends [#3014](https://github.com/chef/inspec/pull/3014) ([jquick](https://github.com/jquick))
29
30
 
31
+ #### Merged Pull Requests
32
+ - Update Habitat plan [#3000](https://github.com/chef/inspec/pull/3000) ([jerryaldrichiii](https://github.com/jerryaldrichiii))
33
+ - cmp should recognise a string being a negative int [#3007](https://github.com/chef/inspec/pull/3007) ([james-stocks](https://github.com/james-stocks))
34
+ - Add inspec-core gem to expeditor release [#3018](https://github.com/chef/inspec/pull/3018) ([jquick](https://github.com/jquick))
30
35
  <!-- latest_stable_release -->
36
+
31
37
  ## [v2.1.59](https://github.com/chef/inspec/tree/v2.1.59) (2018-04-26)
32
38
 
33
39
  #### Enhancements
@@ -40,7 +46,6 @@
40
46
  - Makes JSON resource enumerable, despite method_missing magic [#2910](https://github.com/chef/inspec/pull/2910) ([TheLonelyGhost](https://github.com/TheLonelyGhost))
41
47
  - Fix case where res is nil in etc_group [#2984](https://github.com/chef/inspec/pull/2984) ([chris-rock](https://github.com/chris-rock))
42
48
  - os_env resource returns only user&#39;s environment variable on Windows [#2945](https://github.com/chef/inspec/pull/2945) ([omar-irizarry](https://github.com/omar-irizarry))
43
- <!-- latest_stable_release -->
44
49
 
45
50
  ## [v2.1.54](https://github.com/chef/inspec/tree/v2.1.54) (2018-04-19)
46
51
 
@@ -96,6 +96,12 @@ module Compliance
96
96
  %r{^#{@config['server']}/owners/(?<owner>[^/]+)/compliance/(?<id>[^/]+)/tar$}
97
97
  end.match(@target)
98
98
 
99
+ if Compliance::API.is_automate2_server?(@config)
100
+ m = {}
101
+ m[:owner] = @config['profile'][0]
102
+ m[:id] = @config['profile'][1]
103
+ end
104
+
99
105
  raise 'Unable to determine compliance profile name. This can be caused by ' \
100
106
  'an incorrect server in your configuration. Try to login to compliance ' \
101
107
  'via the `inspec compliance login` command.' if m.nil?
@@ -4,5 +4,5 @@
4
4
  # author: Christoph Hartmann
5
5
 
6
6
  module Inspec
7
- VERSION = '2.1.67'
7
+ VERSION = '2.1.68'
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.1.67
4
+ version: 2.1.68
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-05-03 00:00:00.000000000 Z
11
+ date: 2018-05-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: train