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 +4 -4
- data/CHANGELOG.md +24 -19
- data/lib/bundles/inspec-compliance/target.rb +6 -0
- data/lib/inspec/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc06a8947f28bce46b717042d1e7f4a6d40dd05d
|
4
|
+
data.tar.gz: b403a15967a3c78db4022bc3a6b261c61c5b89c0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
4
|
-
## [v2.1.
|
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
|
-
####
|
7
|
-
-
|
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.
|
11
|
-
### Changes since 2.1.
|
10
|
+
<!-- release_rollup since=2.1.67 -->
|
11
|
+
### Changes since 2.1.67 release
|
12
12
|
|
13
|
-
####
|
14
|
-
-
|
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
|
-
|
17
|
-
|
18
|
-
|
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
|
-
-
|
22
|
-
-
|
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
|
-
####
|
25
|
-
-
|
26
|
-
-
|
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'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?
|
data/lib/inspec/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2018-05-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: train
|