inspec 5.22.80 → 6.6.0
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/Gemfile +25 -40
- data/inspec.gemspec +18 -8
- data/lib/plugins/inspec-license/inspec-license.gemspec +6 -0
- data/lib/plugins/inspec-parallel/inspec-parallel.gemspec +6 -0
- metadata +38 -19
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7145e01e64e1c20915a545ba5582a59b8c19522f0eaddf66055fce1b1b1ce428
|
4
|
+
data.tar.gz: 62a67bff0e18b1c92567a67c4822f4e7c7fdd9ea2ee82e541e6c2e67ef4f8f16
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2fee45943fa837e958dc1a26b03492236469d21b52410f54457dc0ef06ef82749aad95ff981ccbeecd6ff02b1c422eab8819204ec089ffa8fc0d487f9f36bf8f
|
7
|
+
data.tar.gz: 9b75899257f59cc068b555bbe6bc65323ad94c64a440ce343537647af284f257f69902c8c85e1bb53c129ca94b2b34bd782e63efb6b4513ba79cfaf7c549f926
|
data/Gemfile
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
# For Chef internal builds, allows preview versions of gems if available.
|
2
|
+
if ENV["ARTIFACTORY_BASE_URL"]
|
3
|
+
source ENV["ARTIFACTORY_BASE_URL"] + "/artifactory/api/gems/omnibus-gems-local/" do
|
4
|
+
# TODO: either fully populate this list, or revert back to non-block format
|
5
|
+
# to sweep all Chef gems from Artifactory.
|
6
|
+
gem "chef-licensing"
|
7
|
+
end
|
8
|
+
end
|
9
|
+
|
1
10
|
source "https://rubygems.org"
|
2
11
|
|
3
12
|
gem "inspec", path: "."
|
@@ -9,14 +18,7 @@ gem "inspec", path: "."
|
|
9
18
|
# in it in order to package the executable. Hence the odd backwards dependency.
|
10
19
|
gem "inspec-bin", path: "./inspec-bin"
|
11
20
|
|
12
|
-
|
13
|
-
# rubygems version to be upgraded to >= 3.3.22 Ref:https://buildkite.com/chef/inspec-inspec-main-verify-private/builds/812#018fe177-2ccb-45ed-a25e-213c8a6453df/698-707
|
14
|
-
|
15
|
-
gem "ffi", ">= 1.15.5", "< 1.17.0"
|
16
|
-
|
17
|
-
# We have a build issue 2023-11-13 with unf_ext 0.0.9 so we are pinning to 0.0.8.2
|
18
|
-
# See https://github.com/knu/ruby-unf_ext/issues/74 https://buildkite.com/chef/inspec-inspec-inspec-5-omnibus-release/builds/22
|
19
|
-
gem "unf_ext", "= 0.0.8.2"
|
21
|
+
gem "ffi", ">= 1.9.14", "!= 1.13.0", "!= 1.14.2"
|
20
22
|
|
21
23
|
# inspec tests depend text output that changed in the 3.10 release
|
22
24
|
# but our runtime dep is still 3.9+
|
@@ -30,44 +32,27 @@ group :omnibus do
|
|
30
32
|
end
|
31
33
|
|
32
34
|
group :test do
|
33
|
-
gem "chefstyle"
|
34
|
-
gem "concurrent-ruby"
|
35
|
-
gem "json_schemer"
|
35
|
+
gem "chefstyle", "~> 2.2.2"
|
36
|
+
gem "concurrent-ruby", "~> 1.0"
|
37
|
+
gem "json_schemer", ">= 0.2.1", "< 2.0.1"
|
36
38
|
gem "m"
|
37
39
|
gem "minitest-sprint", "~> 1.0"
|
38
40
|
gem "minitest", "5.15.0"
|
39
|
-
gem "mocha"
|
40
|
-
|
41
|
-
gem "
|
42
|
-
|
43
|
-
gem "
|
44
|
-
gem "
|
45
|
-
gem "rake"
|
46
|
-
gem "simplecov"
|
41
|
+
gem "mocha", "~> 1.1"
|
42
|
+
gem "nokogiri", "~> 1.9"
|
43
|
+
gem "pry-byebug"
|
44
|
+
gem "pry", "~> 0.10"
|
45
|
+
gem "rake", ">= 10"
|
46
|
+
gem "simplecov", "~> 0.21"
|
47
47
|
gem "simplecov_json_formatter"
|
48
|
-
gem "webmock"
|
48
|
+
gem "webmock", "~> 3.0"
|
49
|
+
|
50
|
+
if Gem.ruby_version >= Gem::Version.new("3.0.0")
|
51
|
+
# html-proofer has a dep on io-event, which is ruby-3 only
|
52
|
+
gem "html-proofer", "~> 3.19.4", platforms: :ruby # do not attempt to run proofer on windows. Pinned to 3.19.4 as test is breaking in updated versions.
|
53
|
+
end
|
49
54
|
end
|
50
55
|
|
51
56
|
group :deploy do
|
52
57
|
gem "inquirer"
|
53
58
|
end
|
54
|
-
|
55
|
-
# Build is failing - see: https://buildkite.com/chef-oss/inspec-inspec-inspec-5-verify/builds/442
|
56
|
-
# Error:
|
57
|
-
# zeitwerk-2.7.1 requires Ruby >= 3.2, which is incompatible with the current version (Ruby 3.0.7p220)
|
58
|
-
|
59
|
-
# Dependency chain:
|
60
|
-
# zeitwerk → dry-configurable, dry-struct, dry-types → k8s-ruby → train-kubernetes
|
61
|
-
|
62
|
-
# Pinning zeitwerk to ~> 2.6 to avoid Ruby >= 3.2 requirement.
|
63
|
-
# Remove this pin when upgrading to Ruby 3.2 or higher.
|
64
|
-
gem "zeitwerk", "~> 2.6.0", "< 2.7"
|
65
|
-
|
66
|
-
# Pinning dry-core,dry-core,dry-types to < 1.1.0 as it is breaking the build because 1.1.0 is incompatible with the current version, ruby 3.0.x on CI
|
67
|
-
gem "dry-types", "<= 1.7.2" if RUBY_VERSION < "3.1.0"
|
68
|
-
gem "dry-core", "> 1.0.0", "< 1.1.0" if RUBY_VERSION < "3.1.0"
|
69
|
-
gem "dry-inflector", "<= 1.1.0" if RUBY_VERSION < "3.1.0"
|
70
|
-
|
71
|
-
# Pinning securerandom to < 0.4.0 as it is breaking the build because 0.4.0 is incompatible with the current version, ruby 3.0.x on CI
|
72
|
-
# Remove this pin when upgrading to Ruby 3.1 or higher on CI.
|
73
|
-
gem "securerandom", "< 0.4.0" if RUBY_VERSION < "3.1.0"
|
data/inspec.gemspec
CHANGED
@@ -8,14 +8,20 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.authors = ["Chef InSpec Team"]
|
9
9
|
spec.email = ["inspec@chef.io"]
|
10
10
|
spec.summary = "Infrastructure and compliance testing."
|
11
|
-
spec.description =
|
11
|
+
spec.description = <<-EOT
|
12
|
+
InSpec provides a framework for creating end-to-end infrastructure tests. You can use it for integration or even compliance testing. Create fully portable test profiles and use them in your workflow to ensure stability and security. Integrate InSpec in your change lifecycle for local testing, CI/CD, and deployment verification.
|
13
|
+
|
14
|
+
Packaged distributions of Progress® Chef® products obtained from RubyGems are made available pursuant to the Progress Chef EULA at https://www.chef.io/end-user-license-agreement, unless there is an executed agreement in effect between you and Progress that covers the Progress Chef products ("Master Agreement"), in which case the Master Agreement shall govern.
|
15
|
+
|
16
|
+
Source code obtained from the Chef GitHub repository is made available under Apache-2.0, a copy of which is included.
|
17
|
+
|
18
|
+
EOT
|
19
|
+
|
12
20
|
spec.homepage = "https://github.com/inspec/inspec"
|
13
|
-
spec.license = "
|
21
|
+
spec.license = "LicenseRef-Chef-EULA"
|
14
22
|
spec.require_paths = ["lib"]
|
15
23
|
|
16
|
-
|
17
|
-
# TODO: Once we have Chef working fully with ruby 3.1 we can drop ruby 3.0
|
18
|
-
spec.required_ruby_version = ">= 3.0.3"
|
24
|
+
spec.required_ruby_version = ">= 2.7"
|
19
25
|
|
20
26
|
# ONLY the aws/azure/gcp files. The rest will come in from inspec-core
|
21
27
|
# the gemspec is necessary for appbundler so don't remove it
|
@@ -27,19 +33,23 @@ Gem::Specification.new do |spec|
|
|
27
33
|
spec.add_dependency "inspec-core", "= #{Inspec::VERSION}"
|
28
34
|
|
29
35
|
spec.add_dependency "train", "~> 3.10"
|
36
|
+
|
37
|
+
# cookstyle support for inspec check
|
38
|
+
# Added here not because they are compiled, but to keep chef-client lightweight
|
39
|
+
spec.add_dependency "cookstyle"
|
30
40
|
spec.add_dependency "rake"
|
31
41
|
|
32
42
|
# progress bar streaming reporter plugin support
|
33
43
|
spec.add_dependency "progress_bar", "~> 1.3.3"
|
34
44
|
|
35
45
|
# Used for Azure profile until integrated into train
|
36
|
-
spec.add_dependency "faraday_middleware", ">= 0.12.2", "< 1.
|
46
|
+
spec.add_dependency "faraday_middleware", ">= 0.12.2", "< 1.1"
|
37
47
|
|
38
48
|
# Train plugins we ship with InSpec
|
39
49
|
spec.add_dependency "train-habitat", "~> 0.1"
|
40
50
|
spec.add_dependency "train-aws", "~> 0.2"
|
41
|
-
spec.add_dependency "train-winrm", "~> 0.2
|
42
|
-
spec.add_dependency "train-kubernetes", "
|
51
|
+
spec.add_dependency "train-winrm", "~> 0.2"
|
52
|
+
spec.add_dependency "train-kubernetes", "~> 0.1"
|
43
53
|
|
44
54
|
spec.add_dependency "mongo", "= 2.13.2" # 2.14 introduces a broken symlink in mongo-2.14.0/spec/support/ocsp
|
45
55
|
|
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:
|
4
|
+
version: 6.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chef InSpec Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-11-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: inspec-core
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 6.6.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 6.6.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: train
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -38,6 +38,20 @@ dependencies:
|
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '3.10'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: cookstyle
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: rake
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -75,7 +89,7 @@ dependencies:
|
|
75
89
|
version: 0.12.2
|
76
90
|
- - "<"
|
77
91
|
- !ruby/object:Gem::Version
|
78
|
-
version: '1.
|
92
|
+
version: '1.1'
|
79
93
|
type: :runtime
|
80
94
|
prerelease: false
|
81
95
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -85,7 +99,7 @@ dependencies:
|
|
85
99
|
version: 0.12.2
|
86
100
|
- - "<"
|
87
101
|
- !ruby/object:Gem::Version
|
88
|
-
version: '1.
|
102
|
+
version: '1.1'
|
89
103
|
- !ruby/object:Gem::Dependency
|
90
104
|
name: train-habitat
|
91
105
|
requirement: !ruby/object:Gem::Requirement
|
@@ -120,28 +134,28 @@ dependencies:
|
|
120
134
|
requirements:
|
121
135
|
- - "~>"
|
122
136
|
- !ruby/object:Gem::Version
|
123
|
-
version: 0.2
|
137
|
+
version: '0.2'
|
124
138
|
type: :runtime
|
125
139
|
prerelease: false
|
126
140
|
version_requirements: !ruby/object:Gem::Requirement
|
127
141
|
requirements:
|
128
142
|
- - "~>"
|
129
143
|
- !ruby/object:Gem::Version
|
130
|
-
version: 0.2
|
144
|
+
version: '0.2'
|
131
145
|
- !ruby/object:Gem::Dependency
|
132
146
|
name: train-kubernetes
|
133
147
|
requirement: !ruby/object:Gem::Requirement
|
134
148
|
requirements:
|
135
|
-
- - "
|
149
|
+
- - "~>"
|
136
150
|
- !ruby/object:Gem::Version
|
137
|
-
version: 0.
|
151
|
+
version: '0.1'
|
138
152
|
type: :runtime
|
139
153
|
prerelease: false
|
140
154
|
version_requirements: !ruby/object:Gem::Requirement
|
141
155
|
requirements:
|
142
|
-
- - "
|
156
|
+
- - "~>"
|
143
157
|
- !ruby/object:Gem::Version
|
144
|
-
version: 0.
|
158
|
+
version: '0.1'
|
145
159
|
- !ruby/object:Gem::Dependency
|
146
160
|
name: mongo
|
147
161
|
requirement: !ruby/object:Gem::Requirement
|
@@ -156,10 +170,13 @@ dependencies:
|
|
156
170
|
- - '='
|
157
171
|
- !ruby/object:Gem::Version
|
158
172
|
version: 2.13.2
|
159
|
-
description:
|
160
|
-
You can use it for integration or even compliance testing. Create fully portable
|
161
|
-
|
162
|
-
|
173
|
+
description: |+
|
174
|
+
InSpec provides a framework for creating end-to-end infrastructure tests. You can use it for integration or even compliance testing. Create fully portable test profiles and use them in your workflow to ensure stability and security. Integrate InSpec in your change lifecycle for local testing, CI/CD, and deployment verification.
|
175
|
+
|
176
|
+
Packaged distributions of Progress® Chef® products obtained from RubyGems are made available pursuant to the Progress Chef EULA at https://www.chef.io/end-user-license-agreement, unless there is an executed agreement in effect between you and Progress that covers the Progress Chef products ("Master Agreement"), in which case the Master Agreement shall govern.
|
177
|
+
|
178
|
+
Source code obtained from the Chef GitHub repository is made available under Apache-2.0, a copy of which is included.
|
179
|
+
|
163
180
|
email:
|
164
181
|
- inspec@chef.io
|
165
182
|
executables: []
|
@@ -184,6 +201,8 @@ files:
|
|
184
201
|
- lib/plugins/inspec-init/templates/profiles/gcp/controls/example.rb
|
185
202
|
- lib/plugins/inspec-init/templates/profiles/gcp/inputs.yml
|
186
203
|
- lib/plugins/inspec-init/templates/profiles/gcp/inspec.yml
|
204
|
+
- lib/plugins/inspec-license/inspec-license.gemspec
|
205
|
+
- lib/plugins/inspec-parallel/inspec-parallel.gemspec
|
187
206
|
- lib/plugins/inspec-plugin-manager-cli/inspec-plugin-manager-cli.gemspec
|
188
207
|
- lib/plugins/inspec-reporter-html2/inspec-reporter-html2.gemspec
|
189
208
|
- lib/plugins/inspec-reporter-json-min/inspec-reporter-json-min.gemspec
|
@@ -192,7 +211,7 @@ files:
|
|
192
211
|
- lib/plugins/inspec-streaming-reporter-progress-bar/inspec-streaming-reporter-progress-bar.gemspec
|
193
212
|
homepage: https://github.com/inspec/inspec
|
194
213
|
licenses:
|
195
|
-
-
|
214
|
+
- LicenseRef-Chef-EULA
|
196
215
|
metadata: {}
|
197
216
|
post_install_message:
|
198
217
|
rdoc_options: []
|
@@ -202,14 +221,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
202
221
|
requirements:
|
203
222
|
- - ">="
|
204
223
|
- !ruby/object:Gem::Version
|
205
|
-
version:
|
224
|
+
version: '2.7'
|
206
225
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
207
226
|
requirements:
|
208
227
|
- - ">="
|
209
228
|
- !ruby/object:Gem::Version
|
210
229
|
version: '0'
|
211
230
|
requirements: []
|
212
|
-
rubygems_version: 3.
|
231
|
+
rubygems_version: 3.1.4
|
213
232
|
signing_key:
|
214
233
|
specification_version: 4
|
215
234
|
summary: Infrastructure and compliance testing.
|