inspec-core 2.1.72 → 2.1.78
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +25 -13
- data/Gemfile +1 -1
- data/docs/resources/http.md.erb +6 -6
- data/lib/inspec/reporters/automate.rb +1 -1
- data/lib/inspec/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1a8ddcb0d30d09b6ff926f1d72ef7f239cb9438eb7b60eeff8859005754eb28c
|
|
4
|
+
data.tar.gz: c0fa7f0de056c7e7294217e2adb97e73d2d3d84c643128e4d02b1957eadd95fa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c546d183dee88be698e7deb595d40856840a19e930f0f75012e7f8811caf4c620cf03df2ecdd11fbb7f5fab3a65f6d6f05400cbbce8acbe59c90feda369598bf
|
|
7
|
+
data.tar.gz: d96e734dbb22cd52b0b74084e2ce30efe6305d888d4623d99b0d8c65b324242bf87eb422b079e8e99ebb6ddac731103b226768510763bfe5d81b7ab4303b372d
|
data/CHANGELOG.md
CHANGED
|
@@ -1,34 +1,46 @@
|
|
|
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.78 -->
|
|
4
|
+
## [v2.1.78](https://github.com/chef/inspec/tree/v2.1.78) (2018-05-16)
|
|
5
5
|
|
|
6
|
-
####
|
|
7
|
-
-
|
|
6
|
+
#### Merged Pull Requests
|
|
7
|
+
- Adds middleware dependecy for Azure [#3061](https://github.com/chef/inspec/pull/3061) ([dmccown](https://github.com/dmccown))
|
|
8
8
|
<!-- latest_release -->
|
|
9
9
|
|
|
10
|
-
<!-- release_rollup since=2.1.
|
|
11
|
-
### Changes since 2.1.
|
|
10
|
+
<!-- release_rollup since=2.1.72 -->
|
|
11
|
+
### Changes since 2.1.72 release
|
|
12
|
+
|
|
13
|
+
#### Merged Pull Requests
|
|
14
|
+
- Adds middleware dependecy for Azure [#3061](https://github.com/chef/inspec/pull/3061) ([dmccown](https://github.com/dmccown)) <!-- 2.1.78 -->
|
|
15
|
+
- Add train GCP transport [#3046](https://github.com/chef/inspec/pull/3046) ([jquick](https://github.com/jquick)) <!-- 2.1.77 -->
|
|
16
|
+
- Fix www build for node v10 [#3049](https://github.com/chef/inspec/pull/3049) ([miah](https://github.com/miah)) <!-- 2.1.76 -->
|
|
17
|
+
- Add a passthrough for report_uuid [#3057](https://github.com/chef/inspec/pull/3057) ([jquick](https://github.com/jquick)) <!-- 2.1.75 -->
|
|
18
|
+
- Updating Copy To Clipboard for ruby users InSpec installation command [#3054](https://github.com/chef/inspec/pull/3054) ([subramani95](https://github.com/subramani95)) <!-- 2.1.74 -->
|
|
19
|
+
|
|
20
|
+
#### Bug Fixes
|
|
21
|
+
- Fix matcher output when the args to the matcher are a hash for two resources [#3044](https://github.com/chef/inspec/pull/3044) ([clintoncwolfe](https://github.com/clintoncwolfe)) <!-- 2.1.73 -->
|
|
22
|
+
<!-- release_rollup -->
|
|
23
|
+
|
|
24
|
+
<!-- latest_stable_release -->
|
|
25
|
+
## [v2.1.72](https://github.com/chef/inspec/tree/v2.1.72) (2018-05-10)
|
|
12
26
|
|
|
13
27
|
#### New Resources
|
|
14
|
-
- Skeletal aws_ec2_instances resource [#3023](https://github.com/chef/inspec/pull/3023) ([clintoncwolfe](https://github.com/clintoncwolfe))
|
|
28
|
+
- Skeletal aws_ec2_instances resource [#3023](https://github.com/chef/inspec/pull/3023) ([clintoncwolfe](https://github.com/clintoncwolfe))
|
|
15
29
|
|
|
16
30
|
#### Enhancements
|
|
17
|
-
- Add git dependency to habitat plan. [#3037](https://github.com/chef/inspec/pull/3037) ([phiggins](https://github.com/phiggins))
|
|
31
|
+
- Add git dependency to habitat plan. [#3037](https://github.com/chef/inspec/pull/3037) ([phiggins](https://github.com/phiggins))
|
|
18
32
|
|
|
19
33
|
#### Bug Fixes
|
|
20
|
-
- Allow the depends key to be exposed in json profiles report [#3033](https://github.com/chef/inspec/pull/3033) ([jquick](https://github.com/jquick))
|
|
34
|
+
- Allow the depends key to be exposed in json profiles report [#3033](https://github.com/chef/inspec/pull/3033) ([jquick](https://github.com/jquick))
|
|
21
35
|
|
|
22
36
|
#### Merged Pull Requests
|
|
23
|
-
- Fix typo in os_env_spec [#3028](https://github.com/chef/inspec/pull/3028) ([Happycoil](https://github.com/Happycoil))
|
|
24
|
-
<!-- release_rollup -->
|
|
25
|
-
|
|
37
|
+
- Fix typo in os_env_spec [#3028](https://github.com/chef/inspec/pull/3028) ([Happycoil](https://github.com/Happycoil))
|
|
26
38
|
<!-- latest_stable_release -->
|
|
39
|
+
|
|
27
40
|
## [v2.1.68](https://github.com/chef/inspec/tree/v2.1.68) (2018-05-04)
|
|
28
41
|
|
|
29
42
|
#### Merged Pull Requests
|
|
30
43
|
- Fix the A2 vendoring with depends on the A2 server [#3022](https://github.com/chef/inspec/pull/3022) ([jquick](https://github.com/jquick))
|
|
31
|
-
<!-- latest_stable_release -->
|
|
32
44
|
|
|
33
45
|
## [v2.1.67](https://github.com/chef/inspec/tree/v2.1.67) (2018-05-03)
|
|
34
46
|
|
data/Gemfile
CHANGED
data/docs/resources/http.md.erb
CHANGED
|
@@ -113,7 +113,7 @@ In InSpec 2.0, the HTTP test will automatically execute remotely whenever InSpec
|
|
|
113
113
|
...
|
|
114
114
|
end
|
|
115
115
|
|
|
116
|
-
### headers
|
|
116
|
+
### headers
|
|
117
117
|
|
|
118
118
|
`{headers}` may be specified for http request headers.
|
|
119
119
|
|
|
@@ -135,7 +135,7 @@ In InSpec 2.0, the HTTP test will automatically execute remotely whenever InSpec
|
|
|
135
135
|
|
|
136
136
|
`open_timeout` may be specified for a timeout for opening connections (default to 60).
|
|
137
137
|
|
|
138
|
-
describe('http://localhost:8080/ping',
|
|
138
|
+
describe('http://localhost:8080/ping',
|
|
139
139
|
open_timeout: '90') do
|
|
140
140
|
...
|
|
141
141
|
end
|
|
@@ -144,7 +144,7 @@ In InSpec 2.0, the HTTP test will automatically execute remotely whenever InSpec
|
|
|
144
144
|
|
|
145
145
|
`read_timeout` may be specified for a timeout for reading connections (default to 60).
|
|
146
146
|
|
|
147
|
-
describe('http://localhost:8080/ping',
|
|
147
|
+
describe('http://localhost:8080/ping',
|
|
148
148
|
read_timeout: '90') do
|
|
149
149
|
...
|
|
150
150
|
end
|
|
@@ -153,8 +153,8 @@ In InSpec 2.0, the HTTP test will automatically execute remotely whenever InSpec
|
|
|
153
153
|
|
|
154
154
|
`ssl_verify` may be specified to enable or disable verification of SSL certificates (default to `true`).
|
|
155
155
|
|
|
156
|
-
describe('http://localhost:8080/ping',
|
|
157
|
-
ssl_verify:
|
|
156
|
+
describe('http://localhost:8080/ping',
|
|
157
|
+
ssl_verify: true) do
|
|
158
158
|
...
|
|
159
159
|
end
|
|
160
160
|
|
|
@@ -194,4 +194,4 @@ The `status` matcher tests status of the http response:
|
|
|
194
194
|
|
|
195
195
|
## Matchers
|
|
196
196
|
|
|
197
|
-
For a full list of available matchers, please visit our [matchers page](https://www.inspec.io/docs/reference/matchers/).
|
|
197
|
+
For a full list of available matchers, please visit our [matchers page](https://www.inspec.io/docs/reference/matchers/).
|
|
@@ -23,7 +23,7 @@ module Inspec::Reporters
|
|
|
23
23
|
final_report[:node_uuid] = @config['node_uuid'] || @run_data[:platform][:uuid]
|
|
24
24
|
raise Inspec::ReporterError, 'Cannot find a UUID for your node. Please specify one via json-config.' if final_report[:node_uuid].nil?
|
|
25
25
|
|
|
26
|
-
final_report[:report_uuid] = uuid_from_string(final_report[:end_time] + final_report[:node_uuid])
|
|
26
|
+
final_report[:report_uuid] = @config['report_uuid'] || uuid_from_string(final_report[:end_time] + final_report[:node_uuid])
|
|
27
27
|
|
|
28
28
|
# optional json-config passthrough options
|
|
29
29
|
%w{node_name environment roles recipies}.each do |option|
|
data/lib/inspec/version.rb
CHANGED
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.1.
|
|
4
|
+
version: 2.1.78
|
|
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-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: train-core
|