superyarick
e7e196334a
Merge remote-tracking branch 'upstream/master' into yt/wildcart_support_platform_name
...
Signed-off-by: superyarick <yarick@yarick.net>
2020-12-01 18:29:44 -05:00
Chef Expeditor
8a608dac76
Bump version to 4.23.24 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-12-01 17:19:29 +00:00
Clinton Wolfe
353ea9166e
Fix escaping of Windows package names
2020-12-01 12:14:45 -05:00
Chef Expeditor
6923d1d75f
Bump version to 4.23.23 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-12-01 12:51:38 +00:00
Lance Albertson
a6cff007ed
Fix Windows escaping of Windows package names
...
This resolves #5235 and supersedes #5238 .
Instead of using `-match` use `-like` when querying the Windows registry. This
completely removes the problem of trying to clean the string for a regex and
just let's Powershell do that with `-like`.
I confirmed this works with the use case of having a package name such as
`Microsoft Visual C++ 2015-2019 Redistributable (x86) - 14.28.29325` work as-is
without any modification.
Signed-off-by: Lance Albertson <lance@osuosl.org>
2020-11-30 18:02:50 -08:00
Chef Expeditor
ecc26f4f12
Bump version to 4.23.22 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-11-23 16:41:13 +00:00
Nick Schwaderer
4b97fba53a
Merge pull request #5241 from inspec/ns/inspec_cloud
...
InSpec Cloud: Reporting by Resource
2020-11-23 16:39:27 +00:00
Nick Schwaderer
345a832eb1
Supply resource name, params to code_desc
...
Signed-off-by: Nick Schwaderer <nschwaderer@chef.io>
2020-11-19 09:59:53 +00:00
Chef Expeditor
65da44b6f7
Bump version to 4.23.21 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-11-18 15:41:02 +00:00
Nick Schwaderer
673e0415dc
Merge pull request #5306 from james-stocks/js/grub2
...
grub_conf - handle no menuentry config
2020-11-18 15:39:46 +00:00
Chef Expeditor
638ec26abe
Bump version to 4.23.20 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-11-18 14:17:02 +00:00
Clinton Wolfe
a85f7a228f
Don't reload plugins if load_all is called repeatedly.
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-11-12 15:05:59 -05:00
superyarick
fe75b288fb
Merge branch 'master' of https://github.com/inspec/inspec into yt/wildcart_support_platform_name
2020-11-11 16:08:42 -05:00
James Stocks
918b7fe840
grub_conf - handle no menuentry config
...
Fixes #5305
grub_conf assumes for grub2 that the config (default `/etc/default/grub`) contains `menuentry` lines. i.e. entries in the menu of kernels to boot.
A customer reports, and we can reproduce on the Vagrant `centos/8` image, that the default config for grub2 contains no such entries.
Signed-off-by: James Stocks <jstocks@chef.io>
2020-11-11 10:56:23 +00:00
Chef Expeditor
d356aca0a9
Bump version to 4.23.19 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-11-11 09:07:50 +00:00
superyarick
c653ce343a
added platform-name wildcard support
...
added unit test for platform-name wildcard
added doc for release wildcard
added doc for platform-name wildcard
Signed-off-by: superyarick <yarick@yarick.net>
2020-11-08 15:24:43 -05:00
Chef Expeditor
7eb694a6e7
Bump version to 4.23.18 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-11-05 11:37:28 +00:00
Chef Expeditor
68c2cbe9ed
Bump version to 4.23.17 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-11-05 11:31:20 +00:00
Chef Expeditor
f362b6e1a1
Bump version to 4.23.16 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-11-02 16:57:55 +00:00
Chef Expeditor
2d19011d66
Bump version to 4.23.15 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-10-22 00:47:54 +00:00
Chef Expeditor
7b3801b2a8
Bump version to 4.23.14 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-10-19 09:42:33 +00:00
Nick Schwaderer
1f0bcd988f
Merge pull request #5278 from inspec/ns/waiver_message
...
Ensure that we populate information about waiver expiration regardless of `run: true/false`
2020-10-19 10:41:05 +01:00
Chef Expeditor
9c3ec0613e
Bump version to 4.23.13 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-10-14 18:45:09 +00:00
Nick Schwaderer
459ffcdd2f
Ensure that we populate information about waiver expiration regardless of
...
Signed-off-by: Nick Schwaderer <nschwaderer@chef.io>
2020-10-13 10:11:40 +01:00
Chef Expeditor
d64e588bc6
Bump version to 4.23.12 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-10-13 07:49:53 +00:00
Chef Expeditor
ded881473f
Bump version to 4.23.11 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-09-25 14:59:59 +00:00
James Stocks
db5f6a1615
Tidy --help output slightly
...
Give `exec` a short description in the main help output. Hide the option to disable core plugins.
Signed-off-by: James Stocks <jstocks@chef.io>
2020-09-25 13:02:16 +01:00
James Stocks
7576ad8ff5
Add Chef patent URL to --help
...
Fixes #5248
Signed-off-by: James Stocks <jstocks@chef.io>
2020-09-25 13:02:16 +01:00
Chef Expeditor
4c2713b035
Bump version to 4.23.10 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-09-22 15:23:48 +00:00
James Stocks
cbad55aec9
Tweak JUnit plugin docs
...
Signed-off-by: James Stocks <jstocks@chef.io>
Co-authored-by: mjingle <mjinglewski@chef.io>
2020-09-22 15:46:20 +01:00
James Stocks
48054ef2d1
Update documentation for junit plugins
...
Signed-off-by: James Stocks <jstocks@chef.io>
2020-09-22 14:15:01 +01:00
Chef Expeditor
4c02ebbf5b
Bump version to 4.23.9 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-09-22 12:07:35 +00:00
Clinton Wolfe
b3f72f5854
Implement a corrected junit2 reporter that can be validated
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-09-22 11:40:01 +01:00
IanMadd
c1da4f64c4
Updating links to inspec docs in ruby scripts
...
Signed-off-by: IanMadd <imaddaus@chef.io>
2020-09-14 14:09:30 -07:00
IanMadd
6a592a6db2
Update various readmes and docs
...
Signed-off-by: IanMadd <imaddaus@chef.io>
2020-09-14 14:09:23 -07:00
Chef Expeditor
70b4114f40
Bump version to 4.23.8 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-09-14 16:33:11 +00:00
Chef Expeditor
381a48eb9a
Bump version to 4.23.7 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-09-14 15:54:49 +00:00
Nick Schwaderer
668197f726
Merge pull request #5213 from inspec/ns/windows
...
skip_windows! documentation and clearing
2020-09-14 16:53:15 +01:00
Chef Expeditor
c8a3922d2c
Bump version to 4.23.6 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-09-14 14:57:57 +00:00
Nick Schwaderer
94224e0695
Merge pull request #5210 from Udyrfrykte/master
...
Improve handling of bracketed options in deb source
2020-09-14 15:56:25 +01:00
Nick Schwaderer
1a1205c729
Fixes many of the old skip_windows instances
...
Signed-off-by: Nick Schwaderer <nschwaderer@chef.io>
2020-09-14 15:55:10 +01:00
Chef Expeditor
4c1c4b08b4
Bump version to 4.23.5 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-09-14 14:28:04 +00:00
mwrock
60a79d7db7
autoload pry
...
Signed-off-by: mwrock <matt@mattwrock.com>
2020-09-09 16:55:48 -07:00
Chef Expeditor
29bc849474
Bump version to 4.23.4 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-09-02 14:59:10 +00:00
Raphael Geissert
b2e62b5b2f
Run ps with an ulimited width on linux
...
On some systems the output of ps may be truncated, which may prevent
profiles from working as intended.
Some implementations specifically mention that the output width is
undefined "(it may be 80, unlimited, determined by the TERM variable,
and so on)".
This fixes #5226 .
Signed-off-by: Raphael Geissert <atomo64@gmail.com>
2020-09-02 08:34:11 +02:00
Chef Expeditor
d00706b9a6
Bump version to 4.23.3 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-08-28 08:18:45 +00:00
Chef Expeditor
7126b7fea1
Bump version to 4.23.2 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-08-27 11:44:49 +00:00
Nick Schwaderer
1d71ce141a
Merge pull request #5185 from StylusEaterChef/amd/issue-5183
...
First pass at fixing issue #5183 .
2020-08-27 12:43:18 +01:00
Chef Expeditor
427499a1e4
Bump version to 4.23.1 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-08-27 10:41:31 +00:00
Nick Schwaderer
1333fcd821
Merge pull request #5211 from tecracer-theinen/feature/configurable-input-cache
...
Add ability to disable input caching for kitchen-inspec use
2020-08-27 11:39:58 +01:00
Chef Expeditor
30c86eb0e0
Bump version to 4.23.0 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-08-27 10:19:03 +00:00
Chef Expeditor
94afddbc55
Bump version to 4.22.23 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-08-27 10:16:30 +00:00
Nick Schwaderer
6a60b456ba
Merge pull request #5054 from inspec/cw/run-data-filters
...
RunData Filters; sensitive inputs; suppress diff; sorted output
2020-08-27 11:15:57 +01:00
Chef Expeditor
2dff165032
Bump version to 4.22.22 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-08-26 13:19:54 +00:00
Chef Expeditor
1f2da1c523
Bump version to 4.22.21 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-08-26 10:37:45 +00:00
Chef Expeditor
6f8b48ed26
Bump version to 4.22.20 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-08-25 15:28:19 +00:00
Nick Schwaderer
e761f8fb0c
Merge pull request #5219 from ramereth/mysql-session-fixes
...
Fix mysql_session stdout, stderr and exit_status parameters
2020-08-25 16:26:49 +01:00
Chef Expeditor
5f272c283d
Bump version to 4.22.19 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-08-24 09:39:46 +00:00
Lance Albertson
08b7e584d7
Fix mysql_session stdout, stderr and exit_status parameters
...
A feature introduced in #5124 changed how the mysql_session resource works to
where stdout, stderr, and exit_status no longer worked. The Lines class only
exposes output instead of stdout, stderr and exit_status.
As a work around, this adds backwards compatibilty for stdout, stderr and
exit_status parameters. In addition I updated the documentation to prefer output
over stdout/stderr.
This fixes #5218 .
Signed-off-by: Lance Albertson <lance@osuosl.org>
2020-08-23 18:55:58 -07:00
Chef Expeditor
2f83bc7212
Bump version to 4.22.18 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-08-20 21:07:55 +00:00
Chef Expeditor
40a81a580f
Bump version to 4.22.17 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-08-17 15:47:56 +00:00
Thomas Heinen
a613e75971
Add ability to disable input caching for kitchen-inspec use
...
Signed-off-by: Thomas Heinen <theinen@tecracer.de>
2020-08-17 15:49:00 +02:00
Chef Expeditor
270cc7e95d
Bump version to 4.22.16 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-08-17 10:48:42 +00:00
Udyrfrykte
fe74f4fd5b
Improve apt.rb's read_debs
...
Make it better at handling whitespace in bracketed options
Signed-off-by: Benoît Gastinne <Udyrfrykte@users.noreply.github.com>
2020-08-17 11:38:40 +02:00
Chef Expeditor
80149958e8
Bump version to 4.22.15 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-08-13 20:55:05 +00:00
Chef Expeditor
f425a48f4c
Bump version to 4.22.14 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-08-13 18:32:13 +00:00
Chef Expeditor
8a9e339df1
Bump version to 4.22.13 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-08-13 18:24:00 +00:00
Tim Smith
303f530850
Update to Chefstyle 1.2.1
...
Update a few cop names
Remove redundant returns
Signed-off-by: Tim Smith <tsmith@chef.io>
2020-08-12 13:12:26 -07:00
Adam M Dutko
04c3aef004
Fix Issue #5183 .
...
Signed-off-by: Adam M Dutko <adutko@chef.io>
2020-08-11 10:34:13 -04:00
Clinton Wolfe
f3bede9b0c
Handle sort options slightly diferently per PR feedback
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-08-10 14:47:58 -04:00
Clinton Wolfe
11e0428094
Adjust stringification of input per feedback
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-08-10 14:32:08 -04:00
Clinton Wolfe
a839d4602c
Add ability to sort results in reporting phase
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-08-10 14:32:08 -04:00
Clinton Wolfe
3aca12d622
Add option to suppress diff output
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-08-10 14:31:28 -04:00
Clinton Wolfe
ceca77e118
Mark inputs as sensitive
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-08-10 14:30:11 -04:00
Clinton Wolfe
88fdb45501
DRY up reporter-trimming code by placing it in a mixin class
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-08-10 14:29:05 -04:00
Chef Expeditor
fb0be93a00
Bump version to 4.22.12 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-08-10 12:03:22 +00:00
Chef Expeditor
f2b1e131ce
Bump version to 4.22.11 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-08-10 11:53:48 +00:00
Nick Schwaderer
ff1e558088
Merge pull request #4979 from tecracer-theinen/theinen/windows_firewall
...
Add new windows_firewall and windows_firewall_rule resources
2020-08-10 12:52:16 +01:00
Chef Expeditor
5974b91b49
Bump version to 4.22.10 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-08-07 17:08:45 +00:00
Nick Schwaderer
cc521b5400
Merge pull request #5084 from inspec/cw/reporter-plugin-junit
...
Convert JUnit Reporter to a Plugin
2020-08-07 18:06:43 +01:00
Chef Expeditor
f4fdb8a8f3
Bump version to 4.22.9 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-08-05 20:34:32 +00:00
Nick Schwaderer
a3ecda5c31
Merge pull request #5188 from inspec/ns/full_build_before_expeditor_merge
...
Enforced bump. Fully allow this to build before merge.
2020-08-05 21:32:45 +01:00
Nick Schwaderer
54b1e335fa
Enforced bump. Fully allow this to build before merge.
...
Signed-off-by: Nick Schwaderer <nschwaderer@chef.io>
2020-08-05 20:55:45 +01:00
Chef Expeditor
beaad73586
Bump version to 4.22.8 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-08-04 10:34:26 +00:00
Chef Expeditor
fa088c4868
Bump version to 4.22.7 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-08-04 10:31:40 +00:00
Nick Schwaderer
9af8ec5afe
Merge pull request #5164 from inspec/ns/scientific-resource
...
Supports Scientific Linux in service resource
2020-08-04 11:30:15 +01:00
Chef Expeditor
0197677127
Bump version to 4.22.6 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-08-04 10:29:09 +00:00
Chef Expeditor
7bf8e9b6e5
Bump version to 4.22.5 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-08-04 07:55:13 +00:00
Nick Schwaderer
8318e73237
Supports Scientific Linux in service resource
...
Currently when using Scientific Linux the user will be prompted with the
unsupported OS error message. As it is based on RHEL, it should be able
to be supported inn the same way.
Signed-off-by: Nick Schwaderer <nschwaderer@chef.io>
2020-07-30 13:44:58 +01:00
Chef Expeditor
024a838a07
Bump version to 4.22.4 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-07-29 10:57:17 +00:00
Nick Schwaderer
986dd1aafb
Merge pull request #5165 from inspec/ns/messages_should_only_be_noted_as_trunncated_if_they_were_actually_truncated
...
Ensure truncate message only returns on truncated values
2020-07-29 11:55:39 +01:00
Chef Expeditor
15452726af
Bump version to 4.22.3 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-07-29 09:14:01 +00:00
Nick Schwaderer
3129af9db9
Merge pull request #5123 from Perceptyx/fix-freebsd-osfamily-user-group-tests
...
Fix freebsd osfamily user group tests
2020-07-29 10:12:13 +01:00
Nick Schwaderer
d8b06560a1
Ensure truncate message only returns on truncated values
...
At the moment we return the "Truncate" text whenever the setting is
utilized. This PR ensures that we only advise truncation when it's been
executed.
Signed-off-by: Nick Schwaderer <nschwaderer@chef.io>
2020-07-29 09:50:25 +01:00
Chef Expeditor
5f7e8797d8
Bump version to 4.22.2 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-07-28 11:08:47 +00:00
Nick Schwaderer
08d907dc2e
Merge pull request #5124 from Perceptyx/sql-session-sensitive
...
feat(sensitive): add sensitive output to mysql and postgres sessions
2020-07-28 12:06:50 +01:00
Felipe Zipitria
dd8960dbf6
feat(sensitive): add sensitive output to mysql and postgres sessions
...
Signed-off-by: Felipe Zipitria <fzipitria@perceptyx.com>
2020-07-22 14:20:17 -03:00
Felipe Zipitria
d2ae7a7fbf
fix(osfamily): use corresponding family or name for bsd/freebsd
...
Signed-off-by: Felipe Zipitria <fzipitria@perceptyx.com>
2020-07-22 08:43:25 -03:00
Chef Expeditor
06a508e3b4
Bump version to 4.22.1 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2020-07-20 14:49:34 +00:00
Thomas Heinen
3e824b5203
Add new windows_firewall and windows_firewall_rule resources
...
Signed-off-by: Thomas Heinen <theinen@tecracer.de>
2020-07-17 13:40:31 +02:00