kitchen-inspec 0.23.1 → 0.24.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +7 -7
- data/CHANGELOG.md +183 -150
- data/Gemfile +0 -6
- data/README.md +69 -41
- data/kitchen-inspec.gemspec +1 -1
- data/lib/kitchen/verifier/inspec.rb +31 -2
- data/lib/kitchen/verifier/inspec_version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e1971ae405e569417e95ac1c17b6ec7e873a2799
|
4
|
+
data.tar.gz: 1bf84a8004deff7b185577cbac141f540e2770c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e627d12c62cf47cde346c3c0e079ae1ea9a48629c69e3eeaf7bb4f4477ee50dbc1d4c09af12d8c33cfca60313c8d0444adae433b7930b3439bf6cf82282244cc
|
7
|
+
data.tar.gz: f507f4c3f7a448f48ad19108cfc0ab09268fde03d25296101377681e68c89ceb7a9ab08c44037ab9dd2f3b581d0dc466759f8602e5a84011ecd3f8739445b20e
|
data/.travis.yml
CHANGED
@@ -4,7 +4,6 @@ branches:
|
|
4
4
|
- master
|
5
5
|
language: ruby
|
6
6
|
cache: bundler
|
7
|
-
dist: trusty
|
8
7
|
services:
|
9
8
|
- docker
|
10
9
|
bundler_args: "--without integration guard tools"
|
@@ -15,27 +14,28 @@ before_install:
|
|
15
14
|
- bundle --version
|
16
15
|
matrix:
|
17
16
|
include:
|
18
|
-
- rvm: 2.3.
|
19
|
-
- rvm: 2.4.
|
17
|
+
- rvm: 2.3.7
|
18
|
+
- rvm: 2.4.4
|
20
19
|
bundler_args: "--without guard tools"
|
21
20
|
script: bundle exec rake $SUITE
|
22
21
|
env: SUITE="test:integration" OS='default profile contains_inspec'
|
23
|
-
- rvm: 2.4.
|
22
|
+
- rvm: 2.4.4
|
24
23
|
bundler_args: "--without guard tools"
|
25
24
|
script: bundle exec rake $SUITE
|
26
25
|
env: SUITE="test:integration" OS='backwards'
|
27
|
-
- rvm: 2.4.
|
26
|
+
- rvm: 2.4.4
|
28
27
|
bundler_args: "--without guard tools"
|
29
28
|
script: bundle exec rake $SUITE
|
30
29
|
env: SUITE="test:integration" OS='duplicates'
|
31
|
-
- rvm: 2.4.
|
30
|
+
- rvm: 2.4.4
|
32
31
|
bundler_args: "--without guard tools"
|
33
32
|
script: bundle exec rake $SUITE
|
34
33
|
env: SUITE="test:integration" OS='supermarket'
|
35
|
-
- rvm: 2.4.
|
34
|
+
- rvm: 2.4.4
|
36
35
|
bundler_args: "--without guard tools"
|
37
36
|
script: bundle exec rake $SUITE
|
38
37
|
env: SUITE="test:integration" OS='attributes-inline attributes-file'
|
38
|
+
- rvm: 2.5.1
|
39
39
|
- rvm: ruby-head
|
40
40
|
allow_failures:
|
41
41
|
- rvm: ruby-head
|
data/CHANGELOG.md
CHANGED
@@ -1,426 +1,459 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
-
## [0.
|
4
|
-
[Full Changelog](https://github.com/chef/kitchen-inspec/compare/v0.23.
|
3
|
+
## [0.24.0](https://github.com/chef/kitchen-inspec/tree/0.24.0) (2018-09-21)
|
4
|
+
[Full Changelog](https://github.com/chef/kitchen-inspec/compare/v0.23.1...0.24.0)
|
5
5
|
|
6
6
|
**Fixed bugs:**
|
7
7
|
|
8
|
-
-
|
8
|
+
- supermarket\_url is not working [\#173](https://github.com/inspec/kitchen-inspec/issues/173)
|
9
|
+
- InSpec verifier in Test Kitchen does not support the new reporter output [\#164](https://github.com/inspec/kitchen-inspec/issues/164)
|
10
|
+
- Incompatible character encodings: UTF-8 and ASCII-8BIT while crawling a page which contains UTF Characters. [\#146](https://github.com/inspec/kitchen-inspec/issues/146)
|
11
|
+
|
12
|
+
**Closed issues:**
|
13
|
+
|
14
|
+
- %{platform} and %{suite} placeholders on reporter option are being applied wrong, it doesn't work at all now [\#202](https://github.com/inspec/kitchen-inspec/issues/202)
|
15
|
+
- Can't use InSpec AWS resources due to Gem dependency constraint [\#185](https://github.com/inspec/kitchen-inspec/issues/185)
|
16
|
+
- incompatible character encodings: UTF-8 and ASCII-8BIT when trying to match systemd units status [\#180](https://github.com/inspec/kitchen-inspec/issues/180)
|
17
|
+
- 0.22.0 breaks transport-rsync [\#160](https://github.com/inspec/kitchen-inspec/issues/160)
|
18
|
+
|
19
|
+
**Merged pull requests:**
|
20
|
+
|
21
|
+
- followup fix for \#190 [\#209](https://github.com/inspec/kitchen-inspec/pull/209) ([chris-rock](https://github.com/chris-rock))
|
22
|
+
- Add some testing around the reporter format replacements [\#205](https://github.com/inspec/kitchen-inspec/pull/205) ([jquick](https://github.com/jquick))
|
23
|
+
- Fix platform and suite placeholders being applied incorrectly on reporter option [\#203](https://github.com/inspec/kitchen-inspec/pull/203) ([wiebe](https://github.com/wiebe))
|
24
|
+
- Allow %{platform} and %{suite} placeholders for reporter option [\#200](https://github.com/inspec/kitchen-inspec/pull/200) ([MrWong99](https://github.com/MrWong99))
|
25
|
+
- Don't use deprecated format feature in README [\#199](https://github.com/inspec/kitchen-inspec/pull/199) ([MrWong99](https://github.com/MrWong99))
|
26
|
+
- Reshuffle the readme and add proxy/supermarket examples [\#190](https://github.com/inspec/kitchen-inspec/pull/190) ([tas50](https://github.com/tas50))
|
27
|
+
- Remove workaround for Ruby \< 2.0 [\#188](https://github.com/inspec/kitchen-inspec/pull/188) ([tas50](https://github.com/tas50))
|
28
|
+
- Update ruby version in travis [\#187](https://github.com/inspec/kitchen-inspec/pull/187) ([tas50](https://github.com/tas50))
|
29
|
+
- Update URLs for inspec not chef [\#186](https://github.com/inspec/kitchen-inspec/pull/186) ([tas50](https://github.com/tas50))
|
30
|
+
- Add the 'reporter' configuration option to kitchen-inspec [\#183](https://github.com/inspec/kitchen-inspec/pull/183) ([tim-pringle](https://github.com/tim-pringle))
|
31
|
+
- Add proxy\_command transport setting to inspec runner [\#176](https://github.com/inspec/kitchen-inspec/pull/176) ([tschroeder-zendesk](https://github.com/tschroeder-zendesk))
|
32
|
+
- add support for private supermarkets [\#174](https://github.com/inspec/kitchen-inspec/pull/174) ([chris-rock](https://github.com/chris-rock))
|
33
|
+
- Add support for the exec driver/transport [\#172](https://github.com/inspec/kitchen-inspec/pull/172) ([RoboticCheese](https://github.com/RoboticCheese))
|
34
|
+
|
35
|
+
## [v0.23.1](https://github.com/chef/kitchen-inspec/tree/v0.23.1) (2018-03-05)
|
36
|
+
[Full Changelog](https://github.com/chef/kitchen-inspec/compare/v0.23.0...v0.23.1)
|
37
|
+
|
38
|
+
**Fixed bugs:**
|
39
|
+
|
40
|
+
- Add inspec exit code 101 to the approved list [\#170](https://github.com/inspec/kitchen-inspec/pull/170) ([jquick](https://github.com/jquick))
|
9
41
|
|
10
42
|
**Merged pull requests:**
|
11
43
|
|
12
|
-
-
|
44
|
+
- Release kitchen inspec 0.23.1 [\#171](https://github.com/inspec/kitchen-inspec/pull/171) ([jquick](https://github.com/jquick))
|
45
|
+
- Fix inspec profile doc URL in README [\#166](https://github.com/inspec/kitchen-inspec/pull/166) ([james-stocks](https://github.com/james-stocks))
|
13
46
|
|
14
47
|
## [v0.23.0](https://github.com/chef/kitchen-inspec/tree/v0.23.0) (2018-02-28)
|
15
48
|
[Full Changelog](https://github.com/chef/kitchen-inspec/compare/v0.22.0...v0.23.0)
|
16
49
|
|
17
50
|
**Closed issues:**
|
18
51
|
|
19
|
-
- InSpec 2.0.x is using a higher-version of concurrent-ruby 1.0 [\#165](https://github.com/
|
52
|
+
- InSpec 2.0.x is using a higher-version of concurrent-ruby 1.0 [\#165](https://github.com/inspec/kitchen-inspec/issues/165)
|
20
53
|
|
21
54
|
**Merged pull requests:**
|
22
55
|
|
23
|
-
- Release kitchen inspec 0.23.0 [\#169](https://github.com/
|
24
|
-
- Update kitchen inspec to support inspec 2.0. [\#168](https://github.com/
|
25
|
-
- Fix travis-ci bundler issue [\#162](https://github.com/
|
56
|
+
- Release kitchen inspec 0.23.0 [\#169](https://github.com/inspec/kitchen-inspec/pull/169) ([jquick](https://github.com/jquick))
|
57
|
+
- Update kitchen inspec to support inspec 2.0. [\#168](https://github.com/inspec/kitchen-inspec/pull/168) ([jquick](https://github.com/jquick))
|
58
|
+
- Fix travis-ci bundler issue [\#162](https://github.com/inspec/kitchen-inspec/pull/162) ([jquick](https://github.com/jquick))
|
26
59
|
|
27
60
|
## [v0.22.0](https://github.com/chef/kitchen-inspec/tree/v0.22.0) (2018-01-17)
|
28
61
|
[Full Changelog](https://github.com/chef/kitchen-inspec/compare/v0.21.0...v0.22.0)
|
29
62
|
|
30
63
|
**Fixed bugs:**
|
31
64
|
|
32
|
-
- Can't use Branch for verifier [\#157](https://github.com/
|
65
|
+
- Can't use Branch for verifier [\#157](https://github.com/inspec/kitchen-inspec/issues/157)
|
33
66
|
|
34
67
|
**Merged pull requests:**
|
35
68
|
|
36
|
-
- Release v0.22.0 [\#159](https://github.com/
|
37
|
-
- git fetcher: support branch/tag/ref [\#158](https://github.com/
|
69
|
+
- Release v0.22.0 [\#159](https://github.com/inspec/kitchen-inspec/pull/159) ([adamleff](https://github.com/adamleff))
|
70
|
+
- git fetcher: support branch/tag/ref [\#158](https://github.com/inspec/kitchen-inspec/pull/158) ([adamleff](https://github.com/adamleff))
|
38
71
|
|
39
72
|
## [v0.21.0](https://github.com/chef/kitchen-inspec/tree/v0.21.0) (2017-12-12)
|
40
73
|
[Full Changelog](https://github.com/chef/kitchen-inspec/compare/v0.20.0...v0.21.0)
|
41
74
|
|
42
75
|
**Implemented enhancements:**
|
43
76
|
|
44
|
-
- Support use of SSH agent without requiring a key path to be set [\#142](https://github.com/
|
77
|
+
- Support use of SSH agent without requiring a key path to be set [\#142](https://github.com/inspec/kitchen-inspec/issues/142)
|
45
78
|
|
46
79
|
**Closed issues:**
|
47
80
|
|
48
|
-
- Expose --backend-cache command-line option [\#154](https://github.com/
|
49
|
-
- kitchen-inspec fails to configure HTTPS winrm for inspec [\#152](https://github.com/
|
81
|
+
- Expose --backend-cache command-line option [\#154](https://github.com/inspec/kitchen-inspec/issues/154)
|
82
|
+
- kitchen-inspec fails to configure HTTPS winrm for inspec [\#152](https://github.com/inspec/kitchen-inspec/issues/152)
|
50
83
|
|
51
84
|
**Merged pull requests:**
|
52
85
|
|
53
|
-
- Add the InSpec backend\_cache option [\#155](https://github.com/
|
54
|
-
- correctly configure HTTPS WinRM [\#153](https://github.com/
|
55
|
-
- Allow extending which transports are supported by kitchen-inspec [\#149](https://github.com/
|
86
|
+
- Add the InSpec backend\_cache option [\#155](https://github.com/inspec/kitchen-inspec/pull/155) ([jquick](https://github.com/jquick))
|
87
|
+
- correctly configure HTTPS WinRM [\#153](https://github.com/inspec/kitchen-inspec/pull/153) ([joekhoobyar](https://github.com/joekhoobyar))
|
88
|
+
- Allow extending which transports are supported by kitchen-inspec [\#149](https://github.com/inspec/kitchen-inspec/pull/149) ([coderanger](https://github.com/coderanger))
|
56
89
|
|
57
90
|
## [v0.20.0](https://github.com/chef/kitchen-inspec/tree/v0.20.0) (2017-11-13)
|
58
91
|
[Full Changelog](https://github.com/chef/kitchen-inspec/compare/v0.19.0...v0.20.0)
|
59
92
|
|
60
93
|
**Implemented enhancements:**
|
61
94
|
|
62
|
-
- Reuse the same test for multiple test suites in one cookbook [\#97](https://github.com/
|
63
|
-
- show test and result in the log [\#44](https://github.com/
|
64
|
-
- Remove the restriction of `\_spec` file [\#14](https://github.com/
|
95
|
+
- Reuse the same test for multiple test suites in one cookbook [\#97](https://github.com/inspec/kitchen-inspec/issues/97)
|
96
|
+
- show test and result in the log [\#44](https://github.com/inspec/kitchen-inspec/issues/44)
|
97
|
+
- Remove the restriction of `\_spec` file [\#14](https://github.com/inspec/kitchen-inspec/issues/14)
|
65
98
|
|
66
99
|
**Fixed bugs:**
|
67
100
|
|
68
|
-
- Kitchen verify fails with the kitchen-docker plugin [\#83](https://github.com/
|
101
|
+
- Kitchen verify fails with the kitchen-docker plugin [\#83](https://github.com/inspec/kitchen-inspec/issues/83)
|
69
102
|
|
70
103
|
**Closed issues:**
|
71
104
|
|
72
|
-
- \[QUESTION\] kitchen-inspec formatter [\#147](https://github.com/
|
73
|
-
- Executing inspec against a container from within the host [\#145](https://github.com/
|
74
|
-
- Option to specify path to Inspec test with kitchen-inspec [\#139](https://github.com/
|
75
|
-
- False attribute value is not initializing [\#138](https://github.com/
|
76
|
-
- Failed to complete \#verify action: \[no implicit conversion of nil into String\] [\#135](https://github.com/
|
77
|
-
- Using tags/versioning for supermarket inspec profiles [\#134](https://github.com/
|
78
|
-
- chef exec kitchen verify fails for inspec tests [\#132](https://github.com/
|
79
|
-
- Intermittent SSH failures [\#127](https://github.com/
|
80
|
-
- Inspec Test Location [\#124](https://github.com/
|
81
|
-
- Output file support for multiple platforms and multiple test suites [\#121](https://github.com/
|
82
|
-
- Custom inspec resources not loaded: 'undefined method' [\#120](https://github.com/
|
83
|
-
- kitchen ec2 verifier broken [\#106](https://github.com/
|
84
|
-
- Vague error if 'platform' value is missing in platform section and inspec profile platfrom/os-family is set [\#101](https://github.com/
|
85
|
-
- lost support for spec\_helper in inspec [\#93](https://github.com/
|
86
|
-
- Make it easier to filter output [\#85](https://github.com/
|
87
|
-
- Can't verify when used with kitchen-digitalocean provider [\#78](https://github.com/
|
88
|
-
- Add way to define alternate test-path [\#70](https://github.com/
|
89
|
-
- Using profiles with kitchen-inspec [\#66](https://github.com/
|
90
|
-
- Colo\[u\]r those dots and Fs! [\#62](https://github.com/
|
91
|
-
- Error with apache\_conf on CentOS [\#37](https://github.com/
|
92
|
-
- kitchen-inspec breaks existing file pattern [\#11](https://github.com/
|
105
|
+
- \[QUESTION\] kitchen-inspec formatter [\#147](https://github.com/inspec/kitchen-inspec/issues/147)
|
106
|
+
- Executing inspec against a container from within the host [\#145](https://github.com/inspec/kitchen-inspec/issues/145)
|
107
|
+
- Option to specify path to Inspec test with kitchen-inspec [\#139](https://github.com/inspec/kitchen-inspec/issues/139)
|
108
|
+
- False attribute value is not initializing [\#138](https://github.com/inspec/kitchen-inspec/issues/138)
|
109
|
+
- Failed to complete \#verify action: \[no implicit conversion of nil into String\] [\#135](https://github.com/inspec/kitchen-inspec/issues/135)
|
110
|
+
- Using tags/versioning for supermarket inspec profiles [\#134](https://github.com/inspec/kitchen-inspec/issues/134)
|
111
|
+
- chef exec kitchen verify fails for inspec tests [\#132](https://github.com/inspec/kitchen-inspec/issues/132)
|
112
|
+
- Intermittent SSH failures [\#127](https://github.com/inspec/kitchen-inspec/issues/127)
|
113
|
+
- Inspec Test Location [\#124](https://github.com/inspec/kitchen-inspec/issues/124)
|
114
|
+
- Output file support for multiple platforms and multiple test suites [\#121](https://github.com/inspec/kitchen-inspec/issues/121)
|
115
|
+
- Custom inspec resources not loaded: 'undefined method' [\#120](https://github.com/inspec/kitchen-inspec/issues/120)
|
116
|
+
- kitchen ec2 verifier broken [\#106](https://github.com/inspec/kitchen-inspec/issues/106)
|
117
|
+
- Vague error if 'platform' value is missing in platform section and inspec profile platfrom/os-family is set [\#101](https://github.com/inspec/kitchen-inspec/issues/101)
|
118
|
+
- lost support for spec\_helper in inspec [\#93](https://github.com/inspec/kitchen-inspec/issues/93)
|
119
|
+
- Make it easier to filter output [\#85](https://github.com/inspec/kitchen-inspec/issues/85)
|
120
|
+
- Can't verify when used with kitchen-digitalocean provider [\#78](https://github.com/inspec/kitchen-inspec/issues/78)
|
121
|
+
- Add way to define alternate test-path [\#70](https://github.com/inspec/kitchen-inspec/issues/70)
|
122
|
+
- Using profiles with kitchen-inspec [\#66](https://github.com/inspec/kitchen-inspec/issues/66)
|
123
|
+
- Colo\[u\]r those dots and Fs! [\#62](https://github.com/inspec/kitchen-inspec/issues/62)
|
124
|
+
- Error with apache\_conf on CentOS [\#37](https://github.com/inspec/kitchen-inspec/issues/37)
|
125
|
+
- kitchen-inspec breaks existing file pattern [\#11](https://github.com/inspec/kitchen-inspec/issues/11)
|
93
126
|
|
94
127
|
**Merged pull requests:**
|
95
128
|
|
96
|
-
- Release 0.20.0 [\#151](https://github.com/
|
97
|
-
- Add a CODEOWNERS file [\#144](https://github.com/
|
98
|
-
- Adding a maintainers file [\#143](https://github.com/
|
99
|
-
- Eliminate duplicate profiles being added to runner [\#141](https://github.com/
|
100
|
-
- Don't send keys\_only config to InSpec/Train [\#140](https://github.com/
|
129
|
+
- Release 0.20.0 [\#151](https://github.com/inspec/kitchen-inspec/pull/151) ([adamleff](https://github.com/adamleff))
|
130
|
+
- Add a CODEOWNERS file [\#144](https://github.com/inspec/kitchen-inspec/pull/144) ([adamleff](https://github.com/adamleff))
|
131
|
+
- Adding a maintainers file [\#143](https://github.com/inspec/kitchen-inspec/pull/143) ([adamleff](https://github.com/adamleff))
|
132
|
+
- Eliminate duplicate profiles being added to runner [\#141](https://github.com/inspec/kitchen-inspec/pull/141) ([adamleff](https://github.com/adamleff))
|
133
|
+
- Don't send keys\_only config to InSpec/Train [\#140](https://github.com/inspec/kitchen-inspec/pull/140) ([adamleff](https://github.com/adamleff))
|
101
134
|
|
102
135
|
## [v0.19.0](https://github.com/chef/kitchen-inspec/tree/v0.19.0) (2017-05-03)
|
103
136
|
[Full Changelog](https://github.com/chef/kitchen-inspec/compare/v0.18.0...v0.19.0)
|
104
137
|
|
105
138
|
**Merged pull requests:**
|
106
139
|
|
107
|
-
- add sudo\_options support [\#133](https://github.com/
|
140
|
+
- add sudo\_options support [\#133](https://github.com/inspec/kitchen-inspec/pull/133) ([arlimus](https://github.com/arlimus))
|
108
141
|
|
109
142
|
## [v0.18.0](https://github.com/chef/kitchen-inspec/tree/v0.18.0) (2017-04-19)
|
110
143
|
[Full Changelog](https://github.com/chef/kitchen-inspec/compare/v0.17.0...v0.18.0)
|
111
144
|
|
112
145
|
**Implemented enhancements:**
|
113
146
|
|
114
|
-
- allow filtering controls [\#130](https://github.com/
|
147
|
+
- allow filtering controls [\#130](https://github.com/inspec/kitchen-inspec/pull/130) ([arlimus](https://github.com/arlimus))
|
115
148
|
|
116
149
|
**Closed issues:**
|
117
150
|
|
118
|
-
- kitchen verify failed with permission denied to create /.inpec directory [\#129](https://github.com/
|
119
|
-
- junit format does not always use proper classname. [\#126](https://github.com/
|
120
|
-
- Skipped tests report as failures in kitchen [\#125](https://github.com/
|
121
|
-
- gem resource breaks if not using a different installation path [\#107](https://github.com/
|
151
|
+
- kitchen verify failed with permission denied to create /.inpec directory [\#129](https://github.com/inspec/kitchen-inspec/issues/129)
|
152
|
+
- junit format does not always use proper classname. [\#126](https://github.com/inspec/kitchen-inspec/issues/126)
|
153
|
+
- Skipped tests report as failures in kitchen [\#125](https://github.com/inspec/kitchen-inspec/issues/125)
|
154
|
+
- gem resource breaks if not using a different installation path [\#107](https://github.com/inspec/kitchen-inspec/issues/107)
|
122
155
|
|
123
156
|
**Merged pull requests:**
|
124
157
|
|
125
|
-
- update kitchen test references [\#131](https://github.com/
|
158
|
+
- update kitchen test references [\#131](https://github.com/inspec/kitchen-inspec/pull/131) ([arlimus](https://github.com/arlimus))
|
126
159
|
|
127
160
|
## [v0.17.0](https://github.com/chef/kitchen-inspec/tree/v0.17.0) (2016-12-08)
|
128
161
|
[Full Changelog](https://github.com/chef/kitchen-inspec/compare/v0.16.1...v0.17.0)
|
129
162
|
|
130
163
|
**Implemented enhancements:**
|
131
164
|
|
132
|
-
- Support multiple outputs based on platform/test suite variables \(issue 121\) [\#122](https://github.com/
|
165
|
+
- Support multiple outputs based on platform/test suite variables \(issue 121\) [\#122](https://github.com/inspec/kitchen-inspec/pull/122) ([jcastillocano](https://github.com/jcastillocano))
|
133
166
|
|
134
167
|
**Merged pull requests:**
|
135
168
|
|
136
|
-
- Tweak logging for clarity [\#123](https://github.com/
|
169
|
+
- Tweak logging for clarity [\#123](https://github.com/inspec/kitchen-inspec/pull/123) ([tduffield](https://github.com/tduffield))
|
137
170
|
|
138
171
|
## [v0.16.1](https://github.com/chef/kitchen-inspec/tree/v0.16.1) (2016-11-11)
|
139
172
|
[Full Changelog](https://github.com/chef/kitchen-inspec/compare/v0.16.0...v0.16.1)
|
140
173
|
|
141
174
|
**Implemented enhancements:**
|
142
175
|
|
143
|
-
- Support InSpec attributes [\#108](https://github.com/
|
176
|
+
- Support InSpec attributes [\#108](https://github.com/inspec/kitchen-inspec/issues/108)
|
144
177
|
|
145
178
|
**Closed issues:**
|
146
179
|
|
147
|
-
- Incorrect dependencies on 0.16 release [\#117](https://github.com/
|
180
|
+
- Incorrect dependencies on 0.16 release [\#117](https://github.com/inspec/kitchen-inspec/issues/117)
|
148
181
|
|
149
182
|
**Merged pull requests:**
|
150
183
|
|
151
|
-
- fix \#117 [\#118](https://github.com/
|
184
|
+
- fix \#117 [\#118](https://github.com/inspec/kitchen-inspec/pull/118) ([chris-rock](https://github.com/chris-rock))
|
152
185
|
|
153
186
|
## [v0.16.0](https://github.com/chef/kitchen-inspec/tree/v0.16.0) (2016-11-04)
|
154
187
|
[Full Changelog](https://github.com/chef/kitchen-inspec/compare/v0.15.2...v0.16.0)
|
155
188
|
|
156
189
|
**Implemented enhancements:**
|
157
190
|
|
158
|
-
- Harmonize profile location targets [\#111](https://github.com/
|
159
|
-
- Add host and port config options [\#110](https://github.com/
|
191
|
+
- Harmonize profile location targets [\#111](https://github.com/inspec/kitchen-inspec/issues/111)
|
192
|
+
- Add host and port config options [\#110](https://github.com/inspec/kitchen-inspec/pull/110) ([alexpop](https://github.com/alexpop))
|
160
193
|
|
161
194
|
**Fixed bugs:**
|
162
195
|
|
163
|
-
- Duplicate testing when verifier specified in suite definition [\#109](https://github.com/
|
164
|
-
- OS detection 2nd time with unknown value? [\#92](https://github.com/
|
196
|
+
- Duplicate testing when verifier specified in suite definition [\#109](https://github.com/inspec/kitchen-inspec/issues/109)
|
197
|
+
- OS detection 2nd time with unknown value? [\#92](https://github.com/inspec/kitchen-inspec/issues/92)
|
165
198
|
|
166
199
|
**Closed issues:**
|
167
200
|
|
168
|
-
- Message: Could not load the 'inspec' verifier from the load path. Please ensure that your transport is installed as a gem or included in your Gemfile if using Bundler. [\#105](https://github.com/
|
201
|
+
- Message: Could not load the 'inspec' verifier from the load path. Please ensure that your transport is installed as a gem or included in your Gemfile if using Bundler. [\#105](https://github.com/inspec/kitchen-inspec/issues/105)
|
169
202
|
|
170
203
|
**Merged pull requests:**
|
171
204
|
|
172
|
-
- add attributes support in kitchen-inspec [\#116](https://github.com/
|
173
|
-
- use suite names and only test master branch + PRs [\#115](https://github.com/
|
174
|
-
- fix duplicate testing when unique suite name [\#114](https://github.com/
|
175
|
-
- update readme to reflect harmonization of profile location targets [\#113](https://github.com/
|
176
|
-
- Make the info message clearer [\#112](https://github.com/
|
205
|
+
- add attributes support in kitchen-inspec [\#116](https://github.com/inspec/kitchen-inspec/pull/116) ([chris-rock](https://github.com/chris-rock))
|
206
|
+
- use suite names and only test master branch + PRs [\#115](https://github.com/inspec/kitchen-inspec/pull/115) ([chris-rock](https://github.com/chris-rock))
|
207
|
+
- fix duplicate testing when unique suite name [\#114](https://github.com/inspec/kitchen-inspec/pull/114) ([vjeffrey](https://github.com/vjeffrey))
|
208
|
+
- update readme to reflect harmonization of profile location targets [\#113](https://github.com/inspec/kitchen-inspec/pull/113) ([vjeffrey](https://github.com/vjeffrey))
|
209
|
+
- Make the info message clearer [\#112](https://github.com/inspec/kitchen-inspec/pull/112) ([chilicheech](https://github.com/chilicheech))
|
177
210
|
|
178
211
|
## [v0.15.2](https://github.com/chef/kitchen-inspec/tree/v0.15.2) (2016-09-26)
|
179
212
|
[Full Changelog](https://github.com/chef/kitchen-inspec/compare/v0.15.1...v0.15.2)
|
180
213
|
|
181
214
|
**Merged pull requests:**
|
182
215
|
|
183
|
-
- add support for inspec 1.0 [\#104](https://github.com/
|
184
|
-
- use double-quotes for rake bump\_version [\#102](https://github.com/
|
216
|
+
- add support for inspec 1.0 [\#104](https://github.com/inspec/kitchen-inspec/pull/104) ([chris-rock](https://github.com/chris-rock))
|
217
|
+
- use double-quotes for rake bump\_version [\#102](https://github.com/inspec/kitchen-inspec/pull/102) ([chris-rock](https://github.com/chris-rock))
|
185
218
|
|
186
219
|
## [v0.15.1](https://github.com/chef/kitchen-inspec/tree/v0.15.1) (2016-09-05)
|
187
220
|
[Full Changelog](https://github.com/chef/kitchen-inspec/compare/v0.15.0...v0.15.1)
|
188
221
|
|
189
222
|
**Closed issues:**
|
190
223
|
|
191
|
-
- Kitchen verify/test fails when using the command resource with curl [\#100](https://github.com/
|
192
|
-
- Default to \( progress | documentation \) format for test-kitchen inspec verifier [\#91](https://github.com/
|
224
|
+
- Kitchen verify/test fails when using the command resource with curl [\#100](https://github.com/inspec/kitchen-inspec/issues/100)
|
225
|
+
- Default to \( progress | documentation \) format for test-kitchen inspec verifier [\#91](https://github.com/inspec/kitchen-inspec/issues/91)
|
193
226
|
|
194
227
|
**Merged pull requests:**
|
195
228
|
|
196
|
-
- Require Ruby 2.1+ [\#99](https://github.com/
|
197
|
-
- Switch from finstyle / rubocop to chefstyle [\#98](https://github.com/
|
198
|
-
- Update winrm password key for winrm-v2 [\#94](https://github.com/
|
229
|
+
- Require Ruby 2.1+ [\#99](https://github.com/inspec/kitchen-inspec/pull/99) ([tas50](https://github.com/tas50))
|
230
|
+
- Switch from finstyle / rubocop to chefstyle [\#98](https://github.com/inspec/kitchen-inspec/pull/98) ([tas50](https://github.com/tas50))
|
231
|
+
- Update winrm password key for winrm-v2 [\#94](https://github.com/inspec/kitchen-inspec/pull/94) ([mwrock](https://github.com/mwrock))
|
199
232
|
|
200
233
|
## [v0.15.0](https://github.com/chef/kitchen-inspec/tree/v0.15.0) (2016-07-15)
|
201
234
|
[Full Changelog](https://github.com/chef/kitchen-inspec/compare/v0.14.0...v0.15.0)
|
202
235
|
|
203
236
|
**Fixed bugs:**
|
204
237
|
|
205
|
-
- TTY issue with base AWS CentOS AMI [\#45](https://github.com/
|
238
|
+
- TTY issue with base AWS CentOS AMI [\#45](https://github.com/inspec/kitchen-inspec/issues/45)
|
206
239
|
|
207
240
|
**Closed issues:**
|
208
241
|
|
209
|
-
- kitchen converge fails on ubuntu [\#81](https://github.com/
|
242
|
+
- kitchen converge fails on ubuntu [\#81](https://github.com/inspec/kitchen-inspec/issues/81)
|
210
243
|
|
211
244
|
**Merged pull requests:**
|
212
245
|
|
213
|
-
- Overwriting test\_base\_path to test/recipes instead of test/integration [\#95](https://github.com/
|
214
|
-
- demonstrated utilizing an array of profile sources [\#90](https://github.com/
|
246
|
+
- Overwriting test\_base\_path to test/recipes instead of test/integration [\#95](https://github.com/inspec/kitchen-inspec/pull/95) ([tyler-ball](https://github.com/tyler-ball))
|
247
|
+
- demonstrated utilizing an array of profile sources [\#90](https://github.com/inspec/kitchen-inspec/pull/90) ([jeremymv2](https://github.com/jeremymv2))
|
215
248
|
|
216
249
|
## [v0.14.0](https://github.com/chef/kitchen-inspec/tree/v0.14.0) (2016-05-25)
|
217
250
|
[Full Changelog](https://github.com/chef/kitchen-inspec/compare/v0.13.0...v0.14.0)
|
218
251
|
|
219
252
|
**Closed issues:**
|
220
253
|
|
221
|
-
- How to verify with a local profile [\#88](https://github.com/
|
254
|
+
- How to verify with a local profile [\#88](https://github.com/inspec/kitchen-inspec/issues/88)
|
222
255
|
|
223
256
|
**Merged pull requests:**
|
224
257
|
|
225
|
-
- update readme with remote profile handling [\#89](https://github.com/
|
226
|
-
- depend on inspec 0.22+ [\#87](https://github.com/
|
227
|
-
- support for sudo\_command [\#86](https://github.com/
|
258
|
+
- update readme with remote profile handling [\#89](https://github.com/inspec/kitchen-inspec/pull/89) ([chris-rock](https://github.com/chris-rock))
|
259
|
+
- depend on inspec 0.22+ [\#87](https://github.com/inspec/kitchen-inspec/pull/87) ([chris-rock](https://github.com/chris-rock))
|
260
|
+
- support for sudo\_command [\#86](https://github.com/inspec/kitchen-inspec/pull/86) ([jeremymv2](https://github.com/jeremymv2))
|
228
261
|
|
229
262
|
## [v0.13.0](https://github.com/chef/kitchen-inspec/tree/v0.13.0) (2016-05-10)
|
230
263
|
[Full Changelog](https://github.com/chef/kitchen-inspec/compare/v0.12.5...v0.13.0)
|
231
264
|
|
232
265
|
**Implemented enhancements:**
|
233
266
|
|
234
|
-
- Supermarket and Compliance support [\#84](https://github.com/
|
235
|
-
- add more debug messages [\#82](https://github.com/
|
267
|
+
- Supermarket and Compliance support [\#84](https://github.com/inspec/kitchen-inspec/pull/84) ([chris-rock](https://github.com/chris-rock))
|
268
|
+
- add more debug messages [\#82](https://github.com/inspec/kitchen-inspec/pull/82) ([chris-rock](https://github.com/chris-rock))
|
236
269
|
|
237
270
|
**Fixed bugs:**
|
238
271
|
|
239
|
-
- Cannot run supermarket and compliance profiles [\#80](https://github.com/
|
272
|
+
- Cannot run supermarket and compliance profiles [\#80](https://github.com/inspec/kitchen-inspec/issues/80)
|
240
273
|
|
241
274
|
**Merged pull requests:**
|
242
275
|
|
243
|
-
- release via travis to rubygems on tags [\#79](https://github.com/
|
244
|
-
- fix lint [\#77](https://github.com/
|
245
|
-
- fix lint [\#76](https://github.com/
|
246
|
-
- Add support for profiles\_path [\#75](https://github.com/
|
247
|
-
- Add complete profile example to readme [\#73](https://github.com/
|
248
|
-
- Use only the keys provided by Kitchen [\#72](https://github.com/
|
249
|
-
- Support color flag [\#71](https://github.com/
|
276
|
+
- release via travis to rubygems on tags [\#79](https://github.com/inspec/kitchen-inspec/pull/79) ([arlimus](https://github.com/arlimus))
|
277
|
+
- fix lint [\#77](https://github.com/inspec/kitchen-inspec/pull/77) ([chris-rock](https://github.com/chris-rock))
|
278
|
+
- fix lint [\#76](https://github.com/inspec/kitchen-inspec/pull/76) ([chris-rock](https://github.com/chris-rock))
|
279
|
+
- Add support for profiles\_path [\#75](https://github.com/inspec/kitchen-inspec/pull/75) ([brettlangdon](https://github.com/brettlangdon))
|
280
|
+
- Add complete profile example to readme [\#73](https://github.com/inspec/kitchen-inspec/pull/73) ([alexpop](https://github.com/alexpop))
|
281
|
+
- Use only the keys provided by Kitchen [\#72](https://github.com/inspec/kitchen-inspec/pull/72) ([ehartmann](https://github.com/ehartmann))
|
282
|
+
- Support color flag [\#71](https://github.com/inspec/kitchen-inspec/pull/71) ([jbussdieker](https://github.com/jbussdieker))
|
250
283
|
|
251
284
|
## [v0.12.5](https://github.com/chef/kitchen-inspec/tree/v0.12.5) (2016-03-17)
|
252
285
|
[Full Changelog](https://github.com/chef/kitchen-inspec/compare/v0.12.4...v0.12.5)
|
253
286
|
|
254
287
|
**Merged pull requests:**
|
255
288
|
|
256
|
-
- 0.12.5 [\#69](https://github.com/
|
257
|
-
- allow for slightly newer versions of inspec [\#68](https://github.com/
|
289
|
+
- 0.12.5 [\#69](https://github.com/inspec/kitchen-inspec/pull/69) ([arlimus](https://github.com/arlimus))
|
290
|
+
- allow for slightly newer versions of inspec [\#68](https://github.com/inspec/kitchen-inspec/pull/68) ([arlimus](https://github.com/arlimus))
|
258
291
|
|
259
292
|
## [v0.12.4](https://github.com/chef/kitchen-inspec/tree/v0.12.4) (2016-03-15)
|
260
293
|
[Full Changelog](https://github.com/chef/kitchen-inspec/compare/v0.12.3...v0.12.4)
|
261
294
|
|
262
295
|
**Implemented enhancements:**
|
263
296
|
|
264
|
-
- InSpec Profile [\#46](https://github.com/
|
297
|
+
- InSpec Profile [\#46](https://github.com/inspec/kitchen-inspec/issues/46)
|
265
298
|
|
266
299
|
**Fixed bugs:**
|
267
300
|
|
268
|
-
- `kitchen verify` fails on Windows [\#57](https://github.com/
|
301
|
+
- `kitchen verify` fails on Windows [\#57](https://github.com/inspec/kitchen-inspec/issues/57)
|
269
302
|
|
270
303
|
**Closed issues:**
|
271
304
|
|
272
|
-
- Unable to test installed Gems [\#65](https://github.com/
|
273
|
-
- InSpec Profile support in kitchen-inspec [\#39](https://github.com/
|
305
|
+
- Unable to test installed Gems [\#65](https://github.com/inspec/kitchen-inspec/issues/65)
|
306
|
+
- InSpec Profile support in kitchen-inspec [\#39](https://github.com/inspec/kitchen-inspec/issues/39)
|
274
307
|
|
275
308
|
**Merged pull requests:**
|
276
309
|
|
277
|
-
- 0.12.4 [\#67](https://github.com/
|
278
|
-
- add output to runner options [\#64](https://github.com/
|
279
|
-
- Improve handling for remote profiles [\#63](https://github.com/
|
310
|
+
- 0.12.4 [\#67](https://github.com/inspec/kitchen-inspec/pull/67) ([chris-rock](https://github.com/chris-rock))
|
311
|
+
- add output to runner options [\#64](https://github.com/inspec/kitchen-inspec/pull/64) ([vjeffrey](https://github.com/vjeffrey))
|
312
|
+
- Improve handling for remote profiles [\#63](https://github.com/inspec/kitchen-inspec/pull/63) ([chris-rock](https://github.com/chris-rock))
|
280
313
|
|
281
314
|
## [v0.12.3](https://github.com/chef/kitchen-inspec/tree/v0.12.3) (2016-03-01)
|
282
315
|
[Full Changelog](https://github.com/chef/kitchen-inspec/compare/v0.12.2...v0.12.3)
|
283
316
|
|
284
317
|
**Implemented enhancements:**
|
285
318
|
|
286
|
-
- fix gem build license warning [\#59](https://github.com/
|
287
|
-
- Add support for remote profiles [\#51](https://github.com/
|
319
|
+
- fix gem build license warning [\#59](https://github.com/inspec/kitchen-inspec/pull/59) ([chris-rock](https://github.com/chris-rock))
|
320
|
+
- Add support for remote profiles [\#51](https://github.com/inspec/kitchen-inspec/pull/51) ([chris-rock](https://github.com/chris-rock))
|
288
321
|
|
289
322
|
**Merged pull requests:**
|
290
323
|
|
291
|
-
- 0.12.3 [\#61](https://github.com/
|
292
|
-
- add test-kitchen 1.6 as dependency [\#60](https://github.com/
|
293
|
-
- Bump berks requirement to latest [\#58](https://github.com/
|
324
|
+
- 0.12.3 [\#61](https://github.com/inspec/kitchen-inspec/pull/61) ([chris-rock](https://github.com/chris-rock))
|
325
|
+
- add test-kitchen 1.6 as dependency [\#60](https://github.com/inspec/kitchen-inspec/pull/60) ([chris-rock](https://github.com/chris-rock))
|
326
|
+
- Bump berks requirement to latest [\#58](https://github.com/inspec/kitchen-inspec/pull/58) ([jkeiser](https://github.com/jkeiser))
|
294
327
|
|
295
328
|
## [v0.12.2](https://github.com/chef/kitchen-inspec/tree/v0.12.2) (2016-02-22)
|
296
329
|
[Full Changelog](https://github.com/chef/kitchen-inspec/compare/v0.12.1...v0.12.2)
|
297
330
|
|
298
331
|
**Fixed bugs:**
|
299
332
|
|
300
|
-
- Load directory from single inspec directory [\#54](https://github.com/
|
301
|
-
- update to latest runner interface in inspec [\#56](https://github.com/
|
333
|
+
- Load directory from single inspec directory [\#54](https://github.com/inspec/kitchen-inspec/issues/54)
|
334
|
+
- update to latest runner interface in inspec [\#56](https://github.com/inspec/kitchen-inspec/pull/56) ([chris-rock](https://github.com/chris-rock))
|
302
335
|
|
303
336
|
## [v0.12.1](https://github.com/chef/kitchen-inspec/tree/v0.12.1) (2016-02-22)
|
304
337
|
[Full Changelog](https://github.com/chef/kitchen-inspec/compare/v0.12.0...v0.12.1)
|
305
338
|
|
306
339
|
**Implemented enhancements:**
|
307
340
|
|
308
|
-
- Support inspec dir in the test suite dir [\#55](https://github.com/
|
341
|
+
- Support inspec dir in the test suite dir [\#55](https://github.com/inspec/kitchen-inspec/pull/55) ([alexpop](https://github.com/alexpop))
|
309
342
|
|
310
343
|
## [v0.12.0](https://github.com/chef/kitchen-inspec/tree/v0.12.0) (2016-02-19)
|
311
344
|
[Full Changelog](https://github.com/chef/kitchen-inspec/compare/v0.11.1...v0.12.0)
|
312
345
|
|
313
346
|
**Implemented enhancements:**
|
314
347
|
|
315
|
-
- move integration tests to top-level [\#50](https://github.com/
|
316
|
-
- support embedded profiles, leave directory checking to inspec [\#49](https://github.com/
|
348
|
+
- move integration tests to top-level [\#50](https://github.com/inspec/kitchen-inspec/pull/50) ([chris-rock](https://github.com/chris-rock))
|
349
|
+
- support embedded profiles, leave directory checking to inspec [\#49](https://github.com/inspec/kitchen-inspec/pull/49) ([chris-rock](https://github.com/chris-rock))
|
317
350
|
|
318
351
|
**Fixed bugs:**
|
319
352
|
|
320
|
-
- Point test-kitchen to master in Gemfile [\#48](https://github.com/
|
353
|
+
- Point test-kitchen to master in Gemfile [\#48](https://github.com/inspec/kitchen-inspec/pull/48) ([jaym](https://github.com/jaym))
|
321
354
|
|
322
355
|
**Merged pull requests:**
|
323
356
|
|
324
|
-
- require latest inspec version [\#53](https://github.com/
|
325
|
-
- 0.12.0 [\#52](https://github.com/
|
357
|
+
- require latest inspec version [\#53](https://github.com/inspec/kitchen-inspec/pull/53) ([chris-rock](https://github.com/chris-rock))
|
358
|
+
- 0.12.0 [\#52](https://github.com/inspec/kitchen-inspec/pull/52) ([chris-rock](https://github.com/chris-rock))
|
326
359
|
|
327
360
|
## [v0.11.1](https://github.com/chef/kitchen-inspec/tree/v0.11.1) (2016-02-15)
|
328
361
|
[Full Changelog](https://github.com/chef/kitchen-inspec/compare/v0.11.0...v0.11.1)
|
329
362
|
|
330
363
|
**Implemented enhancements:**
|
331
364
|
|
332
|
-
- work well with other testing frameworks in test-kitchen [\#40](https://github.com/
|
365
|
+
- work well with other testing frameworks in test-kitchen [\#40](https://github.com/inspec/kitchen-inspec/pull/40) ([chris-rock](https://github.com/chris-rock))
|
333
366
|
|
334
367
|
**Fixed bugs:**
|
335
368
|
|
336
|
-
- bugfix: use the right container in combination with kitchen-dokken [\#43](https://github.com/
|
369
|
+
- bugfix: use the right container in combination with kitchen-dokken [\#43](https://github.com/inspec/kitchen-inspec/pull/43) ([chris-rock](https://github.com/chris-rock))
|
337
370
|
|
338
371
|
**Merged pull requests:**
|
339
372
|
|
340
|
-
- 0.11.1 [\#47](https://github.com/
|
341
|
-
- deduplicate Gemfiles [\#41](https://github.com/
|
373
|
+
- 0.11.1 [\#47](https://github.com/inspec/kitchen-inspec/pull/47) ([chris-rock](https://github.com/chris-rock))
|
374
|
+
- deduplicate Gemfiles [\#41](https://github.com/inspec/kitchen-inspec/pull/41) ([srenatus](https://github.com/srenatus))
|
342
375
|
|
343
376
|
## [v0.11.0](https://github.com/chef/kitchen-inspec/tree/v0.11.0) (2016-02-08)
|
344
377
|
[Full Changelog](https://github.com/chef/kitchen-inspec/compare/v0.10.1...v0.11.0)
|
345
378
|
|
346
379
|
**Implemented enhancements:**
|
347
380
|
|
348
|
-
- Add integration test with test-kitchen [\#33](https://github.com/
|
381
|
+
- Add integration test with test-kitchen [\#33](https://github.com/inspec/kitchen-inspec/pull/33) ([chris-rock](https://github.com/chris-rock))
|
349
382
|
|
350
383
|
**Closed issues:**
|
351
384
|
|
352
|
-
- Failures should be tagged with the instance they failed against [\#30](https://github.com/
|
353
|
-
- kitchen verify has exit status 0 with failed examples [\#9](https://github.com/
|
385
|
+
- Failures should be tagged with the instance they failed against [\#30](https://github.com/inspec/kitchen-inspec/issues/30)
|
386
|
+
- kitchen verify has exit status 0 with failed examples [\#9](https://github.com/inspec/kitchen-inspec/issues/9)
|
354
387
|
|
355
388
|
**Merged pull requests:**
|
356
389
|
|
357
|
-
- 0.11.0 [\#38](https://github.com/
|
390
|
+
- 0.11.0 [\#38](https://github.com/inspec/kitchen-inspec/pull/38) ([chris-rock](https://github.com/chris-rock))
|
358
391
|
|
359
392
|
## [v0.10.1](https://github.com/chef/kitchen-inspec/tree/v0.10.1) (2016-01-15)
|
360
393
|
[Full Changelog](https://github.com/chef/kitchen-inspec/compare/v0.10.0...v0.10.1)
|
361
394
|
|
362
395
|
**Closed issues:**
|
363
396
|
|
364
|
-
- Inspec does not gracefully allow transports other than winrm and ssh. [\#31](https://github.com/
|
365
|
-
- Specify inspec output formats in .kitchen.yml [\#26](https://github.com/
|
397
|
+
- Inspec does not gracefully allow transports other than winrm and ssh. [\#31](https://github.com/inspec/kitchen-inspec/issues/31)
|
398
|
+
- Specify inspec output formats in .kitchen.yml [\#26](https://github.com/inspec/kitchen-inspec/issues/26)
|
366
399
|
|
367
400
|
**Merged pull requests:**
|
368
401
|
|
369
|
-
- 0.10.1 [\#34](https://github.com/
|
370
|
-
- Allow transports which are subclasses of the core ones. [\#32](https://github.com/
|
402
|
+
- 0.10.1 [\#34](https://github.com/inspec/kitchen-inspec/pull/34) ([chris-rock](https://github.com/chris-rock))
|
403
|
+
- Allow transports which are subclasses of the core ones. [\#32](https://github.com/inspec/kitchen-inspec/pull/32) ([coderanger](https://github.com/coderanger))
|
371
404
|
|
372
405
|
## [v0.10.0](https://github.com/chef/kitchen-inspec/tree/v0.10.0) (2016-01-07)
|
373
406
|
[Full Changelog](https://github.com/chef/kitchen-inspec/compare/v0.9.6...v0.10.0)
|
374
407
|
|
375
408
|
**Fixed bugs:**
|
376
409
|
|
377
|
-
- kitchen test destroys the instance with failing tests [\#16](https://github.com/
|
378
|
-
- Pending messages are "inherited"/"propagated" down with several suites [\#15](https://github.com/
|
410
|
+
- kitchen test destroys the instance with failing tests [\#16](https://github.com/inspec/kitchen-inspec/issues/16)
|
411
|
+
- Pending messages are "inherited"/"propagated" down with several suites [\#15](https://github.com/inspec/kitchen-inspec/issues/15)
|
379
412
|
|
380
413
|
**Merged pull requests:**
|
381
414
|
|
382
|
-
- Preparing the 0.10.0 release [\#29](https://github.com/
|
383
|
-
- Make test-kitchen a dev dependency [\#28](https://github.com/
|
384
|
-
- Specify inspec output format from kitchen.yml [\#27](https://github.com/
|
385
|
-
- remove gem push restriction [\#24](https://github.com/
|
415
|
+
- Preparing the 0.10.0 release [\#29](https://github.com/inspec/kitchen-inspec/pull/29) ([tyler-ball](https://github.com/tyler-ball))
|
416
|
+
- Make test-kitchen a dev dependency [\#28](https://github.com/inspec/kitchen-inspec/pull/28) ([jaym](https://github.com/jaym))
|
417
|
+
- Specify inspec output format from kitchen.yml [\#27](https://github.com/inspec/kitchen-inspec/pull/27) ([cheesesashimi](https://github.com/cheesesashimi))
|
418
|
+
- remove gem push restriction [\#24](https://github.com/inspec/kitchen-inspec/pull/24) ([arlimus](https://github.com/arlimus))
|
386
419
|
|
387
420
|
## [v0.9.6](https://github.com/chef/kitchen-inspec/tree/v0.9.6) (2015-12-11)
|
388
421
|
[Full Changelog](https://github.com/chef/kitchen-inspec/compare/v0.9.0...v0.9.6)
|
389
422
|
|
390
423
|
**Implemented enhancements:**
|
391
424
|
|
392
|
-
- add changelog [\#18](https://github.com/
|
393
|
-
- support test suite helpers [\#12](https://github.com/
|
394
|
-
- Fix typo in README [\#8](https://github.com/
|
395
|
-
- Gem [\#7](https://github.com/
|
425
|
+
- add changelog [\#18](https://github.com/inspec/kitchen-inspec/pull/18) ([chris-rock](https://github.com/chris-rock))
|
426
|
+
- support test suite helpers [\#12](https://github.com/inspec/kitchen-inspec/pull/12) ([schisamo](https://github.com/schisamo))
|
427
|
+
- Fix typo in README [\#8](https://github.com/inspec/kitchen-inspec/pull/8) ([englishm](https://github.com/englishm))
|
428
|
+
- Gem [\#7](https://github.com/inspec/kitchen-inspec/pull/7) ([chris-rock](https://github.com/chris-rock))
|
396
429
|
|
397
430
|
**Fixed bugs:**
|
398
431
|
|
399
|
-
- tests fail with inspec 0.9.5 [\#19](https://github.com/
|
400
|
-
- Fix tests and activate linting for CI [\#20](https://github.com/
|
401
|
-
- raise ActionFailed when inspec returns other than 0. [\#13](https://github.com/
|
432
|
+
- tests fail with inspec 0.9.5 [\#19](https://github.com/inspec/kitchen-inspec/issues/19)
|
433
|
+
- Fix tests and activate linting for CI [\#20](https://github.com/inspec/kitchen-inspec/pull/20) ([srenatus](https://github.com/srenatus))
|
434
|
+
- raise ActionFailed when inspec returns other than 0. [\#13](https://github.com/inspec/kitchen-inspec/pull/13) ([sawanoboly](https://github.com/sawanoboly))
|
402
435
|
|
403
436
|
**Closed issues:**
|
404
437
|
|
405
|
-
- ReadMe 'example here' dead link / 404 [\#21](https://github.com/
|
438
|
+
- ReadMe 'example here' dead link / 404 [\#21](https://github.com/inspec/kitchen-inspec/issues/21)
|
406
439
|
|
407
440
|
**Merged pull requests:**
|
408
441
|
|
409
|
-
- 0.9.6 [\#23](https://github.com/
|
410
|
-
- fix readme [\#22](https://github.com/
|
442
|
+
- 0.9.6 [\#23](https://github.com/inspec/kitchen-inspec/pull/23) ([arlimus](https://github.com/arlimus))
|
443
|
+
- fix readme [\#22](https://github.com/inspec/kitchen-inspec/pull/22) ([srenatus](https://github.com/srenatus))
|
411
444
|
|
412
445
|
## [v0.9.0](https://github.com/chef/kitchen-inspec/tree/v0.9.0) (2015-11-03)
|
413
446
|
**Implemented enhancements:**
|
414
447
|
|
415
|
-
- Update README.md [\#6](https://github.com/
|
416
|
-
- Support all Kitchen/SSH as Train/SSH tunables. [\#4](https://github.com/
|
417
|
-
- use new inspec as gem source [\#3](https://github.com/
|
418
|
-
- Rename + Update [\#2](https://github.com/
|
419
|
-
- add usage instructions [\#1](https://github.com/
|
448
|
+
- Update README.md [\#6](https://github.com/inspec/kitchen-inspec/pull/6) ([chris-rock](https://github.com/chris-rock))
|
449
|
+
- Support all Kitchen/SSH as Train/SSH tunables. [\#4](https://github.com/inspec/kitchen-inspec/pull/4) ([fnichol](https://github.com/fnichol))
|
450
|
+
- use new inspec as gem source [\#3](https://github.com/inspec/kitchen-inspec/pull/3) ([chris-rock](https://github.com/chris-rock))
|
451
|
+
- Rename + Update [\#2](https://github.com/inspec/kitchen-inspec/pull/2) ([chris-rock](https://github.com/chris-rock))
|
452
|
+
- add usage instructions [\#1](https://github.com/inspec/kitchen-inspec/pull/1) ([chris-rock](https://github.com/chris-rock))
|
420
453
|
|
421
454
|
**Fixed bugs:**
|
422
455
|
|
423
|
-
- Add WinRM support to Verifier \(pending full support in Train\). [\#5](https://github.com/
|
456
|
+
- Add WinRM support to Verifier \(pending full support in Train\). [\#5](https://github.com/inspec/kitchen-inspec/pull/5) ([fnichol](https://github.com/fnichol))
|
424
457
|
|
425
458
|
|
426
459
|
|
data/Gemfile
CHANGED
@@ -2,12 +2,6 @@
|
|
2
2
|
source "https://rubygems.org"
|
3
3
|
gemspec
|
4
4
|
|
5
|
-
# pin dependency for Ruby 1.9.3 since bundler is not
|
6
|
-
# detecting that net-ssh 3 does not work with 1.9.3
|
7
|
-
if Gem::Version.new(RUBY_VERSION) <= Gem::Version.new("1.9.3")
|
8
|
-
gem "net-ssh", "~> 2.9"
|
9
|
-
end
|
10
|
-
|
11
5
|
if Gem::Version.new(RUBY_VERSION) < Gem::Version.new("2.2.2")
|
12
6
|
gem "json", "< 2.0"
|
13
7
|
gem "rack", "< 2.0"
|
data/README.md
CHANGED
@@ -1,15 +1,17 @@
|
|
1
1
|
# Kitchen::InSpec - A Test Kitchen Verifier for InSpec
|
2
2
|
|
3
|
-
[![Build Status Master](https://travis-ci.org/
|
3
|
+
[![Build Status Master](https://travis-ci.org/inspec/kitchen-inspec.svg?branch=master)](https://travis-ci.org/inspec/kitchen-inspec) [![Gem Version](https://badge.fury.io/rb/kitchen-inspec.svg)](https://badge.fury.io/rb/kitchen-inspec)
|
4
4
|
|
5
5
|
This is the kitchen driver for [InSpec](https://github.com/chef/inspec). To see the project in action, we have the following test-kitchen examples available:
|
6
6
|
|
7
|
-
- [Chef and InSpec](https://github.com/
|
8
|
-
- [Puppet and InSpec](https://github.com/
|
9
|
-
- [Ansible and InSpec](https://github.com/
|
7
|
+
- [Chef and InSpec](https://github.com/inspec/inspec/tree/master/examples/kitchen-chef)
|
8
|
+
- [Puppet and InSpec](https://github.com/inspec/inspec/tree/master/examples/kitchen-puppet)
|
9
|
+
- [Ansible and InSpec](https://github.com/inspec/inspec/tree/master/examples/kitchen-ansible)
|
10
10
|
|
11
11
|
## Installation
|
12
12
|
|
13
|
+
`Note:` kitchen-inspec ships as part of ChefDK. Installation is not necessary for DK users.
|
14
|
+
|
13
15
|
Add this line to your application's Gemfile:
|
14
16
|
|
15
17
|
```ruby
|
@@ -55,36 +57,7 @@ verifier:
|
|
55
57
|
port: 22
|
56
58
|
```
|
57
59
|
|
58
|
-
|
59
|
-
you can use template format for your output variable. Current flags
|
60
|
-
supported:
|
61
|
-
* _%{platform}_
|
62
|
-
* _%{suite}_
|
63
|
-
|
64
|
-
```yaml
|
65
|
-
verifier:
|
66
|
-
name: inspec
|
67
|
-
format: junit
|
68
|
-
output: path/to/results/%{platform}_%{suite}_inspec.xml
|
69
|
-
```
|
70
|
-
|
71
|
-
You can also decide to only run specific controls, instead of a full profile. This is done by specifying a list of controls:
|
72
|
-
|
73
|
-
```
|
74
|
-
suites:
|
75
|
-
- name: supermarket
|
76
|
-
run_list:
|
77
|
-
- recipe[apt]
|
78
|
-
- recipe[ssh-hardening]
|
79
|
-
verifier:
|
80
|
-
inspec_tests:
|
81
|
-
- name: dev-sec/ssh-baseline
|
82
|
-
controls:
|
83
|
-
- sshd-46
|
84
|
-
...
|
85
|
-
```
|
86
|
-
|
87
|
-
### Directory Structure
|
60
|
+
### Expected Directory Structure
|
88
61
|
|
89
62
|
By default `kitchen-inspec` expects test to be in `test/integration/%suite%` directory structure (we use Chef as provisioner here):
|
90
63
|
|
@@ -103,9 +76,9 @@ By default `kitchen-inspec` expects test to be in `test/integration/%suite%` dir
|
|
103
76
|
└── web_spec.rb
|
104
77
|
```
|
105
78
|
|
106
|
-
|
79
|
+
#### Directory Structure with complete profile
|
107
80
|
|
108
|
-
A complete profile is used here, including a custom
|
81
|
+
A complete profile is used here, including a custom InSpec resource named `gordon_config`:
|
109
82
|
|
110
83
|
```
|
111
84
|
.
|
@@ -126,7 +99,7 @@ A complete profile is used here, including a custom inspec resource named `gordo
|
|
126
99
|
└── gordon_config.rb
|
127
100
|
```
|
128
101
|
|
129
|
-
|
102
|
+
#### Combination with other testing frameworks
|
130
103
|
|
131
104
|
If you need support with other testing frameworks, we recommend to place the tests in `test/integration/%suite%/inspec`:
|
132
105
|
|
@@ -146,9 +119,63 @@ If you need support with other testing frameworks, we recommend to place the tes
|
|
146
119
|
└── web_spec.rb
|
147
120
|
```
|
148
121
|
|
122
|
+
### Specifying the Sudo Command
|
123
|
+
|
124
|
+
You can enable/disable sudo and set your own custom sudo command.
|
125
|
+
|
126
|
+
```yaml
|
127
|
+
verifier:
|
128
|
+
name: inspec
|
129
|
+
sudo: true
|
130
|
+
sudo_command: 'skittles'
|
131
|
+
```
|
132
|
+
|
133
|
+
### Custom Host Settings
|
134
|
+
|
135
|
+
You can also specify the host, port, and proxy settings to be used by InSpec when targeting the node. Otherwise, it defaults to the hostname and port used by kitchen for converging.
|
136
|
+
|
137
|
+
```yaml
|
138
|
+
verifier:
|
139
|
+
name: inspec
|
140
|
+
host: 192.168.56.40
|
141
|
+
port: 22
|
142
|
+
proxy_command: ssh user@1.2.3.4 -W %h:%p
|
143
|
+
```
|
144
|
+
|
145
|
+
### Custom Outputs
|
146
|
+
|
147
|
+
If you want to customize the output file per platform or test suite you can use template format for your output variable. Current flags supported:
|
148
|
+
|
149
|
+
- _%{platform}_
|
150
|
+
- _%{suite}_
|
151
|
+
|
152
|
+
```yaml
|
153
|
+
verifier:
|
154
|
+
name: inspec
|
155
|
+
reporter:
|
156
|
+
- cli
|
157
|
+
- junit:path/to/results/%{platform}_%{suite}_inspec.xml
|
158
|
+
```
|
159
|
+
|
160
|
+
You can also decide to only run specific controls, instead of a full profile. This is done by specifying a list of controls:
|
161
|
+
|
162
|
+
```yaml
|
163
|
+
suites:
|
164
|
+
- name: supermarket
|
165
|
+
run_list:
|
166
|
+
- recipe[apt]
|
167
|
+
- recipe[ssh-hardening]
|
168
|
+
verifier:
|
169
|
+
inspec_tests:
|
170
|
+
- name: dev-sec/ssh-baseline
|
171
|
+
controls:
|
172
|
+
- sshd-46
|
173
|
+
...
|
174
|
+
```
|
175
|
+
|
149
176
|
### Use remote InSpec profiles
|
150
177
|
|
151
|
-
In case you want to reuse tests across multiple cookbooks, they should become an extra artifact independent of a Chef cookbook, called [InSpec profiles](https://github.com/
|
178
|
+
In case you want to reuse tests across multiple cookbooks, they should become an extra artifact independent of a Chef cookbook, called [InSpec profiles](https://github.com/inspec/inspec/blob/master/docs/profiles.md). Those can be easily added to existing local tests as demonstrated in previous sections. To include remote profiles, adapt the `verifier` attributes in `.kitchen.yml`
|
152
179
|
|
153
180
|
```yaml
|
154
181
|
suites:
|
@@ -193,6 +220,7 @@ suites:
|
|
193
220
|
- name: hardening/ssh-hardening # name only defaults to supermarket
|
194
221
|
- name: ssh-supermarket # alternatively, you can explicitly specify that the profile is from supermarket in this way
|
195
222
|
supermarket: hardening/ssh-hardening
|
223
|
+
supermarket_url: http://supermarket.example.com
|
196
224
|
# before you are able to use the compliance plugin, you need to run
|
197
225
|
# insecure is only required if you use self-signed certificates
|
198
226
|
# $ inspec compliance login https://compliance.test --user admin --insecure --token ''
|
@@ -228,7 +256,7 @@ You can also define your attributes in an external file. Adapt your `.kitchen.ym
|
|
228
256
|
- path: test/integration/attributes
|
229
257
|
attrs:
|
230
258
|
- test/integration/profile-attribute.yml
|
231
|
-
|
259
|
+
```
|
232
260
|
|
233
261
|
## Development
|
234
262
|
|
@@ -238,10 +266,10 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
238
266
|
|
239
267
|
## Contributing
|
240
268
|
|
241
|
-
Bug reports and pull requests are welcome on GitHub at <https://github.com/
|
269
|
+
Bug reports and pull requests are welcome on GitHub at <https://github.com/inspec/kitchen-inspec>.
|
242
270
|
|
243
271
|
## License
|
244
272
|
|
245
273
|
Apache 2.0 (see [LICENSE])
|
246
274
|
|
247
|
-
[license]: https://github.com/
|
275
|
+
[license]: https://github.com/inspec/kitchen-inspec/blob/master/LICENSE
|
data/kitchen-inspec.gemspec
CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |spec|
|
|
13
13
|
|
14
14
|
spec.summary = "A Test Kitchen Verifier for InSpec"
|
15
15
|
spec.description = spec.summary
|
16
|
-
spec.homepage = "http://github.com/
|
16
|
+
spec.homepage = "http://github.com/inspec/kitchen-inspec"
|
17
17
|
|
18
18
|
spec.files = `git ls-files -z`.split("\x0")
|
19
19
|
.reject { |f| f.match(%r{^(test|spec|features)/}) }
|
@@ -158,9 +158,10 @@ module Kitchen
|
|
158
158
|
# foiled by extra stuff. However, if the only entry is a "name" key, then
|
159
159
|
# leave it alone so it can default to resolving to the Supermarket.
|
160
160
|
unless test_item.keys == [:name]
|
161
|
-
type_keys = [:path, :url, :git, :compliance]
|
161
|
+
type_keys = [:path, :url, :git, :compliance, :supermarket]
|
162
162
|
git_keys = [:branch, :tag, :ref]
|
163
|
-
|
163
|
+
supermarket_keys = [:supermarket_url]
|
164
|
+
test_item.delete_if { |k, v| !(type_keys + git_keys + supermarket_keys).include?(k) }
|
164
165
|
end
|
165
166
|
elsif File.exist?(test_item)
|
166
167
|
# if the entry is a path to something on disk, rewrite as a Hash entry with a path key.
|
@@ -201,6 +202,7 @@ module Kitchen
|
|
201
202
|
runner_options["format"] = config[:format] unless config[:format].nil?
|
202
203
|
runner_options["output"] = config[:output] % { platform: platform, suite: suite } unless config[:output].nil?
|
203
204
|
runner_options["profiles_path"] = config[:profiles_path] unless config[:profiles_path].nil?
|
205
|
+
runner_options["reporter"] = config[:reporter].map { |s| s % { platform: platform, suite: suite } } unless config[:reporter].nil?
|
204
206
|
runner_options[:controls] = config[:controls]
|
205
207
|
|
206
208
|
# check to make sure we have a valid version for caching
|
@@ -239,6 +241,7 @@ module Kitchen
|
|
239
241
|
"max_wait_until_ready" => kitchen[:max_wait_until_ready],
|
240
242
|
"compression" => kitchen[:compression],
|
241
243
|
"compression_level" => kitchen[:compression_level],
|
244
|
+
"proxy_command" => config[:proxy_command],
|
242
245
|
}
|
243
246
|
opts["key_files"] = kitchen[:keys] unless kitchen[:keys].nil?
|
244
247
|
opts["password"] = kitchen[:password] unless kitchen[:password].nil?
|
@@ -289,6 +292,32 @@ module Kitchen
|
|
289
292
|
logger.debug "Connect to Container: #{opts['host']}"
|
290
293
|
opts
|
291
294
|
end
|
295
|
+
|
296
|
+
# Returns a configuration Hash that can be passed to a `Inspec::Runner`.
|
297
|
+
#
|
298
|
+
# @return [Hash] a configuration hash of string-based keys
|
299
|
+
# @api private
|
300
|
+
def runner_options_for_exec(config_data)
|
301
|
+
opts = {
|
302
|
+
"backend" => "local",
|
303
|
+
"logger" => logger,
|
304
|
+
}
|
305
|
+
opts
|
306
|
+
end
|
307
|
+
|
308
|
+
# Returns a configuration Hash that can be passed to a `Inspec::Runner`.
|
309
|
+
#
|
310
|
+
# @return [Hash] a configuration hash of string-based keys
|
311
|
+
# @api private
|
312
|
+
def runner_options_for_dockercli(config_data)
|
313
|
+
opts = {
|
314
|
+
"backend" => "docker",
|
315
|
+
"logger" => logger,
|
316
|
+
"host" => config_data[:container_id],
|
317
|
+
}
|
318
|
+
logger.debug "Connect to Container: #{opts['host']}"
|
319
|
+
opts
|
320
|
+
end
|
292
321
|
end
|
293
322
|
end
|
294
323
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kitchen-inspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.24.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fletcher Nichol
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-09-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: inspec
|
@@ -83,7 +83,7 @@ files:
|
|
83
83
|
- kitchen-inspec.gemspec
|
84
84
|
- lib/kitchen/verifier/inspec.rb
|
85
85
|
- lib/kitchen/verifier/inspec_version.rb
|
86
|
-
homepage: http://github.com/
|
86
|
+
homepage: http://github.com/inspec/kitchen-inspec
|
87
87
|
licenses:
|
88
88
|
- Apache-2.0
|
89
89
|
metadata: {}
|
@@ -103,7 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
103
103
|
version: '0'
|
104
104
|
requirements: []
|
105
105
|
rubyforge_project:
|
106
|
-
rubygems_version: 2.
|
106
|
+
rubygems_version: 2.6.14
|
107
107
|
signing_key:
|
108
108
|
specification_version: 4
|
109
109
|
summary: A Test Kitchen Verifier for InSpec
|