inspec-core 4.56.19 → 5.12.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/etc/deprecations.json +12 -16
- data/inspec-core.gemspec +1 -1
- data/lib/inspec/base_cli.rb +14 -2
- data/lib/inspec/cli.rb +15 -0
- data/lib/inspec/dependency_installer.rb +74 -0
- data/lib/inspec/dependency_loader.rb +97 -0
- data/lib/inspec/dsl.rb +11 -2
- data/lib/inspec/errors.rb +7 -0
- data/lib/inspec/formatters/base.rb +23 -0
- data/lib/inspec/metadata.rb +36 -0
- data/lib/inspec/plugin/v2/installer.rb +9 -2
- data/lib/inspec/plugin/v2/loader.rb +13 -0
- data/lib/inspec/plugin/v2/plugin_types/streaming_reporter.rb +44 -1
- data/lib/inspec/plugin/v2/status.rb +2 -1
- data/lib/inspec/profile.rb +63 -0
- data/lib/inspec/reporters/automate.rb +1 -1
- data/lib/inspec/reporters/cli.rb +1 -1
- data/lib/inspec/reporters/json.rb +31 -11
- data/lib/inspec/resource.rb +6 -0
- data/lib/inspec/resources/apt.rb +12 -6
- data/lib/inspec/resources/cgroup.rb +101 -0
- data/lib/inspec/resources/cron.rb +49 -0
- data/lib/inspec/resources/docker_container.rb +21 -0
- data/lib/inspec/resources/docker_image.rb +53 -0
- data/lib/inspec/resources/ipfilter.rb +59 -0
- data/lib/inspec/resources/ipnat.rb +58 -0
- data/lib/inspec/resources/lxc.rb +57 -0
- data/lib/inspec/resources/mail_alias.rb +46 -0
- data/lib/inspec/resources/routing_table.rb +137 -0
- data/lib/inspec/resources/service.rb +14 -1
- data/lib/inspec/resources/user.rb +12 -0
- data/lib/inspec/resources/users.rb +79 -14
- data/lib/inspec/resources/virtualization.rb +9 -3
- data/lib/inspec/resources.rb +3 -16
- data/lib/inspec/runner.rb +18 -1
- data/lib/inspec/runner_rspec.rb +15 -0
- data/lib/inspec/schema/exec_json.rb +59 -58
- data/lib/inspec/schema/exec_json_min.rb +16 -16
- data/lib/inspec/schema/primitives.rb +68 -51
- data/lib/inspec/schema/profile_json.rb +27 -27
- data/lib/inspec/schema.rb +1 -0
- data/lib/inspec/ui.rb +10 -0
- data/lib/inspec/utils/deprecated_cloud_resources_list.rb +54 -0
- data/lib/inspec/version.rb +1 -1
- data/lib/inspec.rb +3 -0
- data/lib/plugins/inspec-artifact/inspec-artifact.gemspec +9 -0
- data/lib/plugins/inspec-compliance/inspec-compliance.gemspec +9 -0
- data/lib/plugins/inspec-habitat/inspec-habitat.gemspec +9 -0
- data/lib/plugins/inspec-init/inspec-init.gemspec +9 -0
- data/lib/plugins/inspec-init/lib/inspec-init/cli.rb +1 -0
- data/lib/plugins/inspec-init/lib/inspec-init/cli_plugin.rb +9 -0
- data/lib/plugins/inspec-init/lib/inspec-init/cli_resource.rb +126 -0
- data/lib/plugins/inspec-init/lib/inspec-init/renderer.rb +9 -8
- data/lib/plugins/inspec-init/templates/plugins/inspec-plugin-template/lib/inspec-plugin-template/plugin.erb +16 -0
- data/lib/plugins/inspec-init/templates/plugins/inspec-plugin-template/lib/inspec-plugin-template/streaming_reporter.erb +31 -0
- data/lib/plugins/inspec-init/templates/profiles/aws/inspec.yml +1 -1
- data/lib/plugins/inspec-init/templates/resources/basic/docs/resource-doc.erb +77 -0
- data/lib/plugins/inspec-init/templates/resources/basic/libraries/inspec-resource-template.erb +94 -0
- data/lib/plugins/inspec-init/templates/resources/plural/docs/resource-doc.erb +62 -0
- data/lib/plugins/inspec-init/templates/resources/plural/libraries/inspec-resource-template.erb +73 -0
- data/lib/plugins/inspec-plugin-manager-cli/inspec-plugin-manager-cli.gemspec +10 -0
- data/lib/plugins/inspec-plugin-manager-cli/lib/inspec-plugin-manager-cli/cli_command.rb +15 -11
- data/lib/plugins/inspec-reporter-html2/inspec-reporter-html2.gemspec +9 -0
- data/lib/plugins/inspec-reporter-html2/templates/body.html.erb +2 -0
- data/lib/plugins/inspec-reporter-html2/templates/control.html.erb +3 -0
- data/lib/plugins/inspec-reporter-html2/templates/profile.html.erb +1 -0
- data/lib/plugins/inspec-reporter-html2/templates/result.html.erb +1 -0
- data/lib/plugins/inspec-reporter-json-min/inspec-reporter-json-min.gemspec +9 -0
- data/lib/plugins/inspec-reporter-junit/inspec-reporter-junit.gemspec +9 -0
- data/lib/plugins/inspec-streaming-reporter-progress-bar/README.md +5 -0
- data/lib/plugins/inspec-streaming-reporter-progress-bar/inspec-streaming-reporter-progress-bar.gemspec +9 -0
- data/lib/plugins/inspec-streaming-reporter-progress-bar/lib/inspec-streaming-reporter-progress-bar/plugin.rb +13 -0
- data/lib/plugins/inspec-streaming-reporter-progress-bar/lib/inspec-streaming-reporter-progress-bar/streaming_reporter.rb +123 -0
- data/lib/plugins/inspec-streaming-reporter-progress-bar/lib/inspec-streaming-reporter-progress-bar/version.rb +8 -0
- data/lib/plugins/inspec-streaming-reporter-progress-bar/lib/inspec-streaming-reporter-progress-bar.rb +15 -0
- metadata +33 -3
@@ -3,6 +3,7 @@
|
|
3
3
|
<h2 class="profile_title">Profile <%= display_name %> (<%= profile.name %>)</h2>
|
4
4
|
|
5
5
|
<table class="profile-metadata info" id="profile-metadata-<%= profile.name %>">
|
6
|
+
<caption>Profile Information Table</caption>
|
6
7
|
<tr class="profile-version"><th>Version:</th><td><%= profile.version %></td></tr>
|
7
8
|
<% if profile.summary %>
|
8
9
|
<tr class="profile-summary"><th>Summary:</th><td><%= profile.summary %></td></tr>
|
@@ -2,6 +2,7 @@
|
|
2
2
|
<div class="result" id="result-<%= slugged_id %>">
|
3
3
|
<h4 class="resource-title">Resource <code><%= result.resource_title.to_s %></code></h4>
|
4
4
|
<table class="result-metadata info">
|
5
|
+
<caption>Result Information Table</caption>
|
5
6
|
<tr class="expectation_message"><th>Test:</th><td><code><%= result.expectation_message %></code></td></tr>
|
6
7
|
<tr class="status status-<%= result.status %>"><th>Status:</th><td><div><%= result.status.capitalize %></div></td></tr>
|
7
8
|
<% if result.status == "failed" %>
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# .gemspec file is added to add plugin details
|
2
|
+
# These specs are used in plugin list and search command
|
3
|
+
|
4
|
+
Gem::Specification.new do |spec|
|
5
|
+
spec.name = "inspec-reporter-json-min"
|
6
|
+
spec.summary = "Json-min json reporter plugin"
|
7
|
+
spec.description = "This plugin provides the `json-min` reporter, which produces test output in JSON format with less detail than the `json` reporter."
|
8
|
+
spec.license = "Apache-2.0"
|
9
|
+
end
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# .gemspec file is added to add plugin details
|
2
|
+
# These specs are used in plugin list and search command
|
3
|
+
|
4
|
+
Gem::Specification.new do |spec|
|
5
|
+
spec.name = "inspec-reporter-junit"
|
6
|
+
spec.summary = "JUnit XML reporter plugin"
|
7
|
+
spec.description = "`junit` is the legacy Chef InSpec JUnit reporter, which is retained for backwards compatibility. It generates an XML report in Apache Ant JUnit format. The output format is considered nonstandard in several ways. New users are advised to use `junit2`."
|
8
|
+
spec.license = "Apache-2.0"
|
9
|
+
end
|
@@ -0,0 +1,5 @@
|
|
1
|
+
# StreamingReporterProgressBar Plugin
|
2
|
+
|
3
|
+
## What This Plugin Does
|
4
|
+
|
5
|
+
This plugin is a streaming reporter plugin which shows the real-time progress of a running InSpec profile using a progress bar. It also outputs the ID of a running control with an indicator showing if the control has passed, failed or skipped.
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# .gemspec file is added to add plugin details
|
2
|
+
# These specs are used in plugin list and search command
|
3
|
+
|
4
|
+
Gem::Specification.new do |spec|
|
5
|
+
spec.name = "inspec-streaming-reporter-progress-bar"
|
6
|
+
spec.summary = "Displays a real-time progress bar and control title as output"
|
7
|
+
spec.description = "This plugin is a streaming reporter plugin which shows the real-time progress of a running InSpec profile using a progress bar. It also outputs the ID of a running control with an indicator showing if the control has passed, failed or skipped."
|
8
|
+
spec.license = "Apache-2.0"
|
9
|
+
end
|
@@ -0,0 +1,13 @@
|
|
1
|
+
require "inspec-streaming-reporter-progress-bar/version"
|
2
|
+
|
3
|
+
module InspecPlugins
|
4
|
+
module StreamingReporterProgressBar
|
5
|
+
class Plugin < ::Inspec.plugin(2)
|
6
|
+
plugin_name :"inspec-streaming-reporter-progress-bar"
|
7
|
+
streaming_reporter :"progress-bar" do
|
8
|
+
require "inspec-streaming-reporter-progress-bar/streaming_reporter"
|
9
|
+
InspecPlugins::StreamingReporterProgressBar::StreamingReporter
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
@@ -0,0 +1,123 @@
|
|
1
|
+
require "progress_bar"
|
2
|
+
module InspecPlugins::StreamingReporterProgressBar
|
3
|
+
# This class will provide the actual Streaming Reporter implementation.
|
4
|
+
# Its superclass is provided by another call to Inspec.plugin,
|
5
|
+
# this time with two args. The first arg specifies we are requesting
|
6
|
+
# version 2 of the Plugins API. The second says we are making a
|
7
|
+
# Streaming Reporter plugin component, so please make available any DSL needed
|
8
|
+
# for that.
|
9
|
+
|
10
|
+
class StreamingReporter < Inspec.plugin(2, :streaming_reporter)
|
11
|
+
# Registering these methods with RSpec::Core::Formatters class is mandatory
|
12
|
+
RSpec::Core::Formatters.register self, :example_passed, :example_failed, :example_pending
|
13
|
+
|
14
|
+
case RUBY_PLATFORM
|
15
|
+
when /windows|mswin|msys|mingw|cygwin/
|
16
|
+
# Most currently available Windows terminals have poor support
|
17
|
+
# for ANSI extended colors
|
18
|
+
COLORS = {
|
19
|
+
"failed" => "\033[0;1;31m",
|
20
|
+
"passed" => "\033[0;1;32m",
|
21
|
+
"skipped" => "\033[0;37m",
|
22
|
+
"reset" => "\033[0m",
|
23
|
+
}.freeze
|
24
|
+
|
25
|
+
# Most currently available Windows terminals have poor support
|
26
|
+
# for UTF-8 characters so use these boring indicators
|
27
|
+
INDICATORS = {
|
28
|
+
"failed" => "[FAIL]",
|
29
|
+
"skipped" => "[SKIP]",
|
30
|
+
"passed" => "[PASS]",
|
31
|
+
}.freeze
|
32
|
+
else
|
33
|
+
# Extended colors for everyone else
|
34
|
+
COLORS = {
|
35
|
+
"failed" => "\033[38;5;9m",
|
36
|
+
"passed" => "\033[38;5;41m",
|
37
|
+
"skipped" => "\033[38;5;247m",
|
38
|
+
"reset" => "\033[0m",
|
39
|
+
}.freeze
|
40
|
+
|
41
|
+
# Groovy UTF-8 characters for everyone else...
|
42
|
+
# ...even though they probably only work on Mac
|
43
|
+
INDICATORS = {
|
44
|
+
"failed" => "× [FAILED] ",
|
45
|
+
"skipped" => "↺ [SKIPPED]",
|
46
|
+
"passed" => "✔ [PASSED] ",
|
47
|
+
}.freeze
|
48
|
+
end
|
49
|
+
|
50
|
+
def initialize(output)
|
51
|
+
@bar = nil
|
52
|
+
@status_mapping = {}
|
53
|
+
initialize_streaming_reporter
|
54
|
+
end
|
55
|
+
|
56
|
+
def example_passed(notification)
|
57
|
+
set_example(notification, "passed")
|
58
|
+
end
|
59
|
+
|
60
|
+
def example_failed(notification)
|
61
|
+
set_example(notification, "failed")
|
62
|
+
end
|
63
|
+
|
64
|
+
def example_pending(notification)
|
65
|
+
set_example(notification, "skipped")
|
66
|
+
end
|
67
|
+
|
68
|
+
private
|
69
|
+
|
70
|
+
def set_example(notification, status)
|
71
|
+
control_id = notification.example.metadata[:id]
|
72
|
+
title = notification.example.metadata[:title]
|
73
|
+
full_description = notification.example.metadata[:full_description]
|
74
|
+
control_impact = notification.example.metadata[:impact]
|
75
|
+
set_status_mapping(control_id, status)
|
76
|
+
show_progress(control_id, title, full_description, control_impact) if control_ended?(control_id)
|
77
|
+
end
|
78
|
+
|
79
|
+
def show_progress(control_id, title, full_description, control_impact)
|
80
|
+
@bar ||= ProgressBar.new(controls_count, :bar, :counter, :percentage)
|
81
|
+
sleep 0.1
|
82
|
+
@bar.increment!
|
83
|
+
@bar.puts format_it(control_id, title, full_description, control_impact)
|
84
|
+
rescue StandardError => e
|
85
|
+
raise "Exception in Progress Bar streaming reporter: #{e}"
|
86
|
+
end
|
87
|
+
|
88
|
+
def format_it(control_id, title, full_description, control_impact)
|
89
|
+
control_status = if @status_mapping[control_id].include? "failed"
|
90
|
+
"failed"
|
91
|
+
elsif @status_mapping[control_id].include? "passed"
|
92
|
+
"passed"
|
93
|
+
else
|
94
|
+
@status_mapping[control_id].include? "skipped"
|
95
|
+
"skipped"
|
96
|
+
end
|
97
|
+
indicator = INDICATORS[control_status]
|
98
|
+
message_to_format = ""
|
99
|
+
message_to_format += "#{indicator} "
|
100
|
+
message_to_format += "#{control_id.to_s.strip.dup.force_encoding(Encoding::UTF_8)} "
|
101
|
+
message_to_format += "#{title.gsub(/\n*\s+/, " ").to_s.force_encoding(Encoding::UTF_8)} " if title
|
102
|
+
message_to_format += "#{full_description.gsub(/\n*\s+/, " ").to_s.force_encoding(Encoding::UTF_8)} " unless title
|
103
|
+
format_with_color(control_status, message_to_format)
|
104
|
+
rescue Exception => e
|
105
|
+
raise "Exception in show_progress: #{e}"
|
106
|
+
end
|
107
|
+
|
108
|
+
def format_with_color(color_name, text)
|
109
|
+
"#{COLORS[color_name]}#{text}#{COLORS["reset"]}"
|
110
|
+
rescue StandardError => e
|
111
|
+
raise "Exception in format_with_color: #{e}"
|
112
|
+
end
|
113
|
+
|
114
|
+
# status mapping with control id to decide the final state of the control
|
115
|
+
def set_status_mapping(control_id, status)
|
116
|
+
@status_mapping[control_id] = [] if @status_mapping[control_id].nil?
|
117
|
+
@status_mapping[control_id].push(status)
|
118
|
+
rescue StandardError => e
|
119
|
+
raise "Exception in format_with_color: #{e}"
|
120
|
+
end
|
121
|
+
|
122
|
+
end
|
123
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# This file is known as the "entry point."
|
2
|
+
# This is the file InSpec will try to load if it
|
3
|
+
# thinks your plugin is installed.
|
4
|
+
|
5
|
+
# The *only* thing this file should do is setup the
|
6
|
+
# load path, then load the plugin definition file.
|
7
|
+
|
8
|
+
# Next two lines simply add the path of the gem to the load path.
|
9
|
+
# This is not needed when being loaded as a gem; but when doing
|
10
|
+
# plugin development, you may need it. Either way, it's harmless.
|
11
|
+
libdir = File.dirname(__FILE__)
|
12
|
+
|
13
|
+
$LOAD_PATH.unshift(libdir) unless $LOAD_PATH.include?(libdir)
|
14
|
+
|
15
|
+
require "inspec-streaming-reporter-progress-bar/plugin"
|
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:
|
4
|
+
version: 5.12.2
|
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: 2022-
|
11
|
+
date: 2022-04-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: chef-telemetry
|
@@ -422,6 +422,8 @@ files:
|
|
422
422
|
- lib/inspec/dependencies/lockfile.rb
|
423
423
|
- lib/inspec/dependencies/requirement.rb
|
424
424
|
- lib/inspec/dependencies/resolver.rb
|
425
|
+
- lib/inspec/dependency_installer.rb
|
426
|
+
- lib/inspec/dependency_loader.rb
|
425
427
|
- lib/inspec/describe_base.rb
|
426
428
|
- lib/inspec/dist.rb
|
427
429
|
- lib/inspec/dsl.rb
|
@@ -509,11 +511,13 @@ files:
|
|
509
511
|
- lib/inspec/resources/cassandra.rb
|
510
512
|
- lib/inspec/resources/cassandradb_conf.rb
|
511
513
|
- lib/inspec/resources/cassandradb_session.rb
|
514
|
+
- lib/inspec/resources/cgroup.rb
|
512
515
|
- lib/inspec/resources/chocolatey_package.rb
|
513
516
|
- lib/inspec/resources/chrony_conf.rb
|
514
517
|
- lib/inspec/resources/command.rb
|
515
518
|
- lib/inspec/resources/cpan.rb
|
516
519
|
- lib/inspec/resources/cran.rb
|
520
|
+
- lib/inspec/resources/cron.rb
|
517
521
|
- lib/inspec/resources/crontab.rb
|
518
522
|
- lib/inspec/resources/csv.rb
|
519
523
|
- lib/inspec/resources/dh_params.rb
|
@@ -551,6 +555,8 @@ files:
|
|
551
555
|
- lib/inspec/resources/interface.rb
|
552
556
|
- lib/inspec/resources/interfaces.rb
|
553
557
|
- lib/inspec/resources/ip6tables.rb
|
558
|
+
- lib/inspec/resources/ipfilter.rb
|
559
|
+
- lib/inspec/resources/ipnat.rb
|
554
560
|
- lib/inspec/resources/iptables.rb
|
555
561
|
- lib/inspec/resources/json.rb
|
556
562
|
- lib/inspec/resources/kernel_module.rb
|
@@ -562,6 +568,8 @@ files:
|
|
562
568
|
- lib/inspec/resources/limits_conf.rb
|
563
569
|
- lib/inspec/resources/linux_kernel_parameter.rb
|
564
570
|
- lib/inspec/resources/login_defs.rb
|
571
|
+
- lib/inspec/resources/lxc.rb
|
572
|
+
- lib/inspec/resources/mail_alias.rb
|
565
573
|
- lib/inspec/resources/mongodb.rb
|
566
574
|
- lib/inspec/resources/mongodb_conf.rb
|
567
575
|
- lib/inspec/resources/mongodb_session.rb
|
@@ -606,6 +614,7 @@ files:
|
|
606
614
|
- lib/inspec/resources/rabbitmq_conf.rb
|
607
615
|
- lib/inspec/resources/rabbitmq_config.rb
|
608
616
|
- lib/inspec/resources/registry_key.rb
|
617
|
+
- lib/inspec/resources/routing_table.rb
|
609
618
|
- lib/inspec/resources/runit_service.rb
|
610
619
|
- lib/inspec/resources/script.rb
|
611
620
|
- lib/inspec/resources/security_identifier.rb
|
@@ -670,6 +679,7 @@ files:
|
|
670
679
|
- lib/inspec/utils/command_wrapper.rb
|
671
680
|
- lib/inspec/utils/convert.rb
|
672
681
|
- lib/inspec/utils/database_helpers.rb
|
682
|
+
- lib/inspec/utils/deprecated_cloud_resources_list.rb
|
673
683
|
- lib/inspec/utils/deprecation.rb
|
674
684
|
- lib/inspec/utils/deprecation/config_file.rb
|
675
685
|
- lib/inspec/utils/deprecation/deprecator.rb
|
@@ -702,10 +712,12 @@ files:
|
|
702
712
|
- lib/inspec/version.rb
|
703
713
|
- lib/matchers/matchers.rb
|
704
714
|
- lib/plugins/README.md
|
715
|
+
- lib/plugins/inspec-artifact/inspec-artifact.gemspec
|
705
716
|
- lib/plugins/inspec-artifact/lib/inspec-artifact.rb
|
706
717
|
- lib/plugins/inspec-artifact/lib/inspec-artifact/base.rb
|
707
718
|
- lib/plugins/inspec-artifact/lib/inspec-artifact/cli.rb
|
708
719
|
- lib/plugins/inspec-compliance/README.md
|
720
|
+
- lib/plugins/inspec-compliance/inspec-compliance.gemspec
|
709
721
|
- lib/plugins/inspec-compliance/lib/inspec-compliance.rb
|
710
722
|
- lib/plugins/inspec-compliance/lib/inspec-compliance/api.rb
|
711
723
|
- lib/plugins/inspec-compliance/lib/inspec-compliance/api/login.rb
|
@@ -717,16 +729,19 @@ files:
|
|
717
729
|
- lib/plugins/inspec-compliance/lib/inspec-compliance/target.rb
|
718
730
|
- lib/plugins/inspec-habitat/Berksfile
|
719
731
|
- lib/plugins/inspec-habitat/README.md
|
732
|
+
- lib/plugins/inspec-habitat/inspec-habitat.gemspec
|
720
733
|
- lib/plugins/inspec-habitat/kitchen.yml
|
721
734
|
- lib/plugins/inspec-habitat/lib/inspec-habitat.rb
|
722
735
|
- lib/plugins/inspec-habitat/lib/inspec-habitat/cli.rb
|
723
736
|
- lib/plugins/inspec-habitat/lib/inspec-habitat/profile.rb
|
724
737
|
- lib/plugins/inspec-habitat/templates/habitat/plan.sh.erb
|
725
738
|
- lib/plugins/inspec-init/README.md
|
739
|
+
- lib/plugins/inspec-init/inspec-init.gemspec
|
726
740
|
- lib/plugins/inspec-init/lib/inspec-init.rb
|
727
741
|
- lib/plugins/inspec-init/lib/inspec-init/cli.rb
|
728
742
|
- lib/plugins/inspec-init/lib/inspec-init/cli_plugin.rb
|
729
743
|
- lib/plugins/inspec-init/lib/inspec-init/cli_profile.rb
|
744
|
+
- lib/plugins/inspec-init/lib/inspec-init/cli_resource.rb
|
730
745
|
- lib/plugins/inspec-init/lib/inspec-init/renderer.rb
|
731
746
|
- lib/plugins/inspec-init/templates/plugins/inspec-plugin-template/Gemfile
|
732
747
|
- lib/plugins/inspec-init/templates/plugins/inspec-plugin-template/LICENSE
|
@@ -737,6 +752,7 @@ files:
|
|
737
752
|
- lib/plugins/inspec-init/templates/plugins/inspec-plugin-template/lib/inspec-plugin-template/cli_command.erb
|
738
753
|
- lib/plugins/inspec-init/templates/plugins/inspec-plugin-template/lib/inspec-plugin-template/plugin.erb
|
739
754
|
- lib/plugins/inspec-init/templates/plugins/inspec-plugin-template/lib/inspec-plugin-template/reporter.erb
|
755
|
+
- lib/plugins/inspec-init/templates/plugins/inspec-plugin-template/lib/inspec-plugin-template/streaming_reporter.erb
|
740
756
|
- lib/plugins/inspec-init/templates/plugins/inspec-plugin-template/lib/inspec-plugin-template/version.erb
|
741
757
|
- lib/plugins/inspec-init/templates/profiles/aws/README.md
|
742
758
|
- lib/plugins/inspec-init/templates/profiles/aws/controls/example.rb
|
@@ -752,11 +768,17 @@ files:
|
|
752
768
|
- lib/plugins/inspec-init/templates/profiles/os/README.md
|
753
769
|
- lib/plugins/inspec-init/templates/profiles/os/controls/example.rb
|
754
770
|
- lib/plugins/inspec-init/templates/profiles/os/inspec.yml
|
771
|
+
- lib/plugins/inspec-init/templates/resources/basic/docs/resource-doc.erb
|
772
|
+
- lib/plugins/inspec-init/templates/resources/basic/libraries/inspec-resource-template.erb
|
773
|
+
- lib/plugins/inspec-init/templates/resources/plural/docs/resource-doc.erb
|
774
|
+
- lib/plugins/inspec-init/templates/resources/plural/libraries/inspec-resource-template.erb
|
755
775
|
- lib/plugins/inspec-plugin-manager-cli/README.md
|
776
|
+
- lib/plugins/inspec-plugin-manager-cli/inspec-plugin-manager-cli.gemspec
|
756
777
|
- lib/plugins/inspec-plugin-manager-cli/lib/inspec-plugin-manager-cli.rb
|
757
778
|
- lib/plugins/inspec-plugin-manager-cli/lib/inspec-plugin-manager-cli/cli_command.rb
|
758
779
|
- lib/plugins/inspec-plugin-manager-cli/lib/inspec-plugin-manager-cli/plugin.rb
|
759
780
|
- lib/plugins/inspec-reporter-html2/README.md
|
781
|
+
- lib/plugins/inspec-reporter-html2/inspec-reporter-html2.gemspec
|
760
782
|
- lib/plugins/inspec-reporter-html2/lib/inspec-reporter-html2.rb
|
761
783
|
- lib/plugins/inspec-reporter-html2/lib/inspec-reporter-html2/reporter.rb
|
762
784
|
- lib/plugins/inspec-reporter-html2/lib/inspec-reporter-html2/version.rb
|
@@ -768,13 +790,21 @@ files:
|
|
768
790
|
- lib/plugins/inspec-reporter-html2/templates/result.html.erb
|
769
791
|
- lib/plugins/inspec-reporter-html2/templates/selector.html.erb
|
770
792
|
- lib/plugins/inspec-reporter-json-min/README.md
|
793
|
+
- lib/plugins/inspec-reporter-json-min/inspec-reporter-json-min.gemspec
|
771
794
|
- lib/plugins/inspec-reporter-json-min/lib/inspec-reporter-json-min.rb
|
772
795
|
- lib/plugins/inspec-reporter-json-min/lib/inspec-reporter-json-min/reporter.rb
|
773
796
|
- lib/plugins/inspec-reporter-json-min/lib/inspec-reporter-json-min/version.rb
|
774
797
|
- lib/plugins/inspec-reporter-junit/README.md
|
798
|
+
- lib/plugins/inspec-reporter-junit/inspec-reporter-junit.gemspec
|
775
799
|
- lib/plugins/inspec-reporter-junit/lib/inspec-reporter-junit.rb
|
776
800
|
- lib/plugins/inspec-reporter-junit/lib/inspec-reporter-junit/reporter.rb
|
777
801
|
- lib/plugins/inspec-reporter-junit/lib/inspec-reporter-junit/version.rb
|
802
|
+
- lib/plugins/inspec-streaming-reporter-progress-bar/README.md
|
803
|
+
- lib/plugins/inspec-streaming-reporter-progress-bar/inspec-streaming-reporter-progress-bar.gemspec
|
804
|
+
- lib/plugins/inspec-streaming-reporter-progress-bar/lib/inspec-streaming-reporter-progress-bar.rb
|
805
|
+
- lib/plugins/inspec-streaming-reporter-progress-bar/lib/inspec-streaming-reporter-progress-bar/plugin.rb
|
806
|
+
- lib/plugins/inspec-streaming-reporter-progress-bar/lib/inspec-streaming-reporter-progress-bar/streaming_reporter.rb
|
807
|
+
- lib/plugins/inspec-streaming-reporter-progress-bar/lib/inspec-streaming-reporter-progress-bar/version.rb
|
778
808
|
- lib/plugins/shared/core_plugin_test_helper.rb
|
779
809
|
- lib/plugins/things-for-train-integration.rb
|
780
810
|
- lib/source_readers/flat.rb
|
@@ -791,7 +821,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
791
821
|
requirements:
|
792
822
|
- - ">="
|
793
823
|
- !ruby/object:Gem::Version
|
794
|
-
version: '2.
|
824
|
+
version: '2.7'
|
795
825
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
796
826
|
requirements:
|
797
827
|
- - ">="
|