inspec-core 5.18.14 → 5.21.29
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +19 -16
- data/inspec-core.gemspec +22 -22
- data/lib/inspec/base_cli.rb +2 -0
- data/lib/inspec/cli.rb +6 -2
- data/lib/inspec/dsl.rb +10 -4
- data/lib/inspec/enhanced_outcomes.rb +19 -0
- data/lib/inspec/env_printer.rb +1 -1
- data/lib/inspec/exceptions.rb +2 -0
- data/lib/inspec/formatters/base.rb +69 -16
- data/lib/inspec/plugin/v2/loader.rb +19 -8
- data/lib/inspec/plugin/v2/plugin_types/reporter.rb +1 -0
- data/lib/inspec/plugin/v2/plugin_types/streaming_reporter.rb +54 -0
- data/lib/inspec/reporters/base.rb +1 -0
- data/lib/inspec/reporters/cli.rb +94 -3
- data/lib/inspec/reporters/json.rb +3 -1
- data/lib/inspec/reporters/yaml.rb +3 -1
- data/lib/inspec/reporters.rb +2 -1
- data/lib/inspec/resources/file.rb +1 -1
- data/lib/inspec/resources/http.rb +2 -2
- data/lib/inspec/resources/lxc.rb +65 -9
- data/lib/inspec/resources/oracledb_session.rb +13 -4
- data/lib/inspec/resources/podman.rb +353 -0
- data/lib/inspec/resources/podman_container.rb +84 -0
- data/lib/inspec/resources/podman_image.rb +108 -0
- data/lib/inspec/resources/podman_network.rb +81 -0
- data/lib/inspec/resources/podman_pod.rb +101 -0
- data/lib/inspec/resources/podman_volume.rb +87 -0
- data/lib/inspec/resources/service.rb +1 -1
- data/lib/inspec/rule.rb +54 -17
- data/lib/inspec/run_data/control.rb +6 -0
- data/lib/inspec/run_data/statistics.rb +8 -2
- data/lib/inspec/runner.rb +18 -8
- data/lib/inspec/runner_rspec.rb +3 -2
- data/lib/inspec/schema/exec_json.rb +78 -2
- data/lib/inspec/schema/output_schema.rb +4 -1
- data/lib/inspec/schema/profile_json.rb +46 -0
- data/lib/inspec/schema.rb +91 -0
- data/lib/inspec/utils/convert.rb +8 -0
- data/lib/inspec/utils/podman.rb +24 -0
- data/lib/inspec/utils/waivers/csv_file_reader.rb +34 -0
- data/lib/inspec/utils/waivers/excel_file_reader.rb +39 -0
- data/lib/inspec/utils/waivers/json_file_reader.rb +15 -0
- data/lib/inspec/version.rb +1 -1
- data/lib/inspec/waiver_file_reader.rb +61 -0
- data/lib/matchers/matchers.rb +7 -1
- data/lib/plugins/inspec-init/templates/profiles/alicloud/README.md +27 -0
- data/lib/plugins/inspec-init/templates/profiles/alicloud/controls/example.rb +10 -0
- data/lib/plugins/inspec-init/templates/profiles/alicloud/inputs.yml +1 -0
- data/lib/plugins/inspec-init/templates/profiles/alicloud/inspec.yml +14 -0
- data/lib/plugins/inspec-reporter-html2/README.md +1 -1
- data/lib/plugins/inspec-reporter-html2/templates/body.html.erb +7 -1
- data/lib/plugins/inspec-reporter-html2/templates/control.html.erb +10 -6
- data/lib/plugins/inspec-reporter-html2/templates/default.css +12 -0
- data/lib/plugins/inspec-reporter-html2/templates/selector.html.erb +7 -1
- data/lib/plugins/inspec-sign/lib/inspec-sign/base.rb +5 -2
- data/lib/plugins/inspec-streaming-reporter-progress-bar/lib/inspec-streaming-reporter-progress-bar/streaming_reporter.rb +39 -13
- metadata +25 -9
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: 5.
|
4
|
+
version: 5.21.29
|
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-01-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: chef-telemetry
|
@@ -226,34 +226,34 @@ dependencies:
|
|
226
226
|
requirements:
|
227
227
|
- - ">="
|
228
228
|
- !ruby/object:Gem::Version
|
229
|
-
version:
|
229
|
+
version: '1'
|
230
230
|
- - "<"
|
231
231
|
- !ruby/object:Gem::Version
|
232
|
-
version: '
|
232
|
+
version: '3'
|
233
233
|
type: :runtime
|
234
234
|
prerelease: false
|
235
235
|
version_requirements: !ruby/object:Gem::Requirement
|
236
236
|
requirements:
|
237
237
|
- - ">="
|
238
238
|
- !ruby/object:Gem::Version
|
239
|
-
version:
|
239
|
+
version: '1'
|
240
240
|
- - "<"
|
241
241
|
- !ruby/object:Gem::Version
|
242
|
-
version: '
|
242
|
+
version: '3'
|
243
243
|
- !ruby/object:Gem::Dependency
|
244
|
-
name:
|
244
|
+
name: faraday-follow_redirects
|
245
245
|
requirement: !ruby/object:Gem::Requirement
|
246
246
|
requirements:
|
247
247
|
- - "~>"
|
248
248
|
- !ruby/object:Gem::Version
|
249
|
-
version: '
|
249
|
+
version: '0.3'
|
250
250
|
type: :runtime
|
251
251
|
prerelease: false
|
252
252
|
version_requirements: !ruby/object:Gem::Requirement
|
253
253
|
requirements:
|
254
254
|
- - "~>"
|
255
255
|
- !ruby/object:Gem::Version
|
256
|
-
version: '
|
256
|
+
version: '0.3'
|
257
257
|
- !ruby/object:Gem::Dependency
|
258
258
|
name: tty-table
|
259
259
|
requirement: !ruby/object:Gem::Requirement
|
@@ -429,6 +429,7 @@ files:
|
|
429
429
|
- lib/inspec/dist.rb
|
430
430
|
- lib/inspec/dsl.rb
|
431
431
|
- lib/inspec/dsl_shared.rb
|
432
|
+
- lib/inspec/enhanced_outcomes.rb
|
432
433
|
- lib/inspec/env_printer.rb
|
433
434
|
- lib/inspec/errors.rb
|
434
435
|
- lib/inspec/exceptions.rb
|
@@ -606,6 +607,12 @@ files:
|
|
606
607
|
- lib/inspec/resources/php_config.rb
|
607
608
|
- lib/inspec/resources/pip.rb
|
608
609
|
- lib/inspec/resources/platform.rb
|
610
|
+
- lib/inspec/resources/podman.rb
|
611
|
+
- lib/inspec/resources/podman_container.rb
|
612
|
+
- lib/inspec/resources/podman_image.rb
|
613
|
+
- lib/inspec/resources/podman_network.rb
|
614
|
+
- lib/inspec/resources/podman_pod.rb
|
615
|
+
- lib/inspec/resources/podman_volume.rb
|
609
616
|
- lib/inspec/resources/port.rb
|
610
617
|
- lib/inspec/resources/postfix_conf.rb
|
611
618
|
- lib/inspec/resources/postgres.rb
|
@@ -707,6 +714,7 @@ files:
|
|
707
714
|
- lib/inspec/utils/object_traversal.rb
|
708
715
|
- lib/inspec/utils/parser.rb
|
709
716
|
- lib/inspec/utils/pkey_reader.rb
|
717
|
+
- lib/inspec/utils/podman.rb
|
710
718
|
- lib/inspec/utils/run_data_filters.rb
|
711
719
|
- lib/inspec/utils/simpleconfig.rb
|
712
720
|
- lib/inspec/utils/spdx.rb
|
@@ -716,8 +724,12 @@ files:
|
|
716
724
|
- lib/inspec/utils/telemetry/data_series.rb
|
717
725
|
- lib/inspec/utils/telemetry/global_methods.rb
|
718
726
|
- lib/inspec/utils/telemetry/run_context_probe.rb
|
727
|
+
- lib/inspec/utils/waivers/csv_file_reader.rb
|
728
|
+
- lib/inspec/utils/waivers/excel_file_reader.rb
|
729
|
+
- lib/inspec/utils/waivers/json_file_reader.rb
|
719
730
|
- lib/inspec/utils/yaml_profile_summary.rb
|
720
731
|
- lib/inspec/version.rb
|
732
|
+
- lib/inspec/waiver_file_reader.rb
|
721
733
|
- lib/matchers/matchers.rb
|
722
734
|
- lib/plugins/README.md
|
723
735
|
- lib/plugins/inspec-compliance/README.md
|
@@ -758,6 +770,10 @@ files:
|
|
758
770
|
- lib/plugins/inspec-init/templates/plugins/inspec-plugin-template/lib/inspec-plugin-template/reporter.erb
|
759
771
|
- lib/plugins/inspec-init/templates/plugins/inspec-plugin-template/lib/inspec-plugin-template/streaming_reporter.erb
|
760
772
|
- lib/plugins/inspec-init/templates/plugins/inspec-plugin-template/lib/inspec-plugin-template/version.erb
|
773
|
+
- lib/plugins/inspec-init/templates/profiles/alicloud/README.md
|
774
|
+
- lib/plugins/inspec-init/templates/profiles/alicloud/controls/example.rb
|
775
|
+
- lib/plugins/inspec-init/templates/profiles/alicloud/inputs.yml
|
776
|
+
- lib/plugins/inspec-init/templates/profiles/alicloud/inspec.yml
|
761
777
|
- lib/plugins/inspec-init/templates/profiles/aws/README.md
|
762
778
|
- lib/plugins/inspec-init/templates/profiles/aws/controls/example.rb
|
763
779
|
- lib/plugins/inspec-init/templates/profiles/aws/inputs.yml
|