Commit graph

8554 commits

Author SHA1 Message Date
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
59404c0ebb
Merge pull request #5176 from inspec/ns/move-bomb-ahead
Move windows bomb forward pre-emptively
2020-08-04 08:53:21 +01:00
Nick Schwaderer
71e141e10a Move windows bomb forward pre-emptively
These tests are being worked on, and there has been internal discussion
about the value of this bomb. I am not taking a stance on that at this
point. However, when we do hit a bomb that requires all repo PRs (
including community ) to do a rebase after we do a fixing PR.

To prevent this while our team resource is somewhat limited I am going
to pre-emptively push this out.

Signed-off-by: Nick Schwaderer <nschwaderer@chef.io>
2020-08-03 10:57:29 +01:00
Tim Smith
75b61a08c2 Ensure Darwin is always detected in the install scripts
This is more reliable if the output changes

Signed-off-by: Tim Smith <tsmith@chef.io>
2020-07-30 16:57:18 -07: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
Chris Birster
15dfb55463 fix error in passwd example
Signed-off-by: Chris Birster <christopher.birster@gmail.com>
2020-07-28 13:38:20 -04: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
Nick Schwaderer
aa154554fa
Merge pull request #5167 from inspec/ns/fixit
Fixes expeditor-validate violations
2020-07-27 10:56:17 +01:00
Nick Schwaderer
0a800247a4 Fixes expeditor-validate violations
Signed-off-by: Nick Schwaderer <nschwaderer@chef.io>
2020-07-24 16:22:43 +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
IanMadd
d4090a30e3 Add content from PR 5036
Signed-off-by: IanMadd <imaddaus@chef.io>
2020-07-21 13:56:48 -07:00
IanMadd
c78aa25baf Update content from PR 5045
Signed-off-by: IanMadd <imaddaus@chef.io>
2020-07-21 13:42:06 -07:00
Chef Expeditor
138935f9bb Executed '.expeditor/update_dockerfile.sh'
Obvious fix; these changes are the result of automation not creative thinking.
2020-07-21 14:43:17 +00: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
James Stocks
36007c943d
Merge pull request #5148 from james-stocks/js/habitat_path
Habitat should not expand $PATH at buildtime
2020-07-20 15:47:29 +01:00
Brandon Wood
7faf188f22 changed inspec.yml example to use platform-family instead of os-family, since that's the recommended property name
Signed-off-by: Brandon Wood <bcwood@gmail.com>
2020-07-17 17:13:03 -08:00
Nick Schwaderer
f5f1180979
Merge pull request #5152 from inspec/ns/expeditor_re_up
Revert uncomment
2020-07-17 19:26:16 +01:00
Nick Schwaderer
0ae1452012 Revert uncomment
Signed-off-by: Nicholas Schwaderer <nschwaderer@chef.io>
2020-07-17 19:24:48 +01:00
Chef Expeditor
7bdbb37859 Update CHANGELOG.md with details from pull request #5150
Obvious fix; these changes are the result of automation not creative thinking.
2020-07-17 17:36:00 +00:00
Nick Schwaderer
66665fac1d
Merge pull request #5150 from inspec/ns/expeditor_re_up
Temporary comment out to get expeditor build to complete
2020-07-17 18:33:11 +01:00
Nick Schwaderer
4a51ec5dfb Temporary comment out to get expeditor build to complete
Signed-off-by: Nicholas Schwaderer <nschwaderer@chef.io>
2020-07-17 18:31:21 +01:00
Chef Expeditor
f6cceec20e Executed '.expeditor/update_dockerfile.sh'
Obvious fix; these changes are the result of automation not creative thinking.
2020-07-17 15:38:30 +00:00
James Stocks
04cfc73805 Remove world readable attribute from /usr/local/bundle
Artifact tests may fail due to warnings about `Insecure world writable dir /usr/local/bundle in PATH` appearing in stderr

Signed-off-by: James Stocks <jstocks@chef.io>
2020-07-17 16:00:26 +01:00
James Stocks
230ca2ba03 Fix PATH for Habitat execution
plan.sh was expanding $PATH at build time when writing out the inspec bin script. This is incorrect, the variable should be expanded at runtime.

Signed-off-by: James Stocks <jstocks@chef.io>
2020-07-17 14:13:20 +01: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
Nick Schwaderer
08bc5edfaf
Merge pull request #5144 from inspec/ns/fix_ruby_2_4
Pin json_schemer to maintain Ruby 2.4 support
2020-07-16 15:08:42 +01:00
Nick Schwaderer
5dd999229b Pin json_schemer to maintain Ruby 2.4 support
Signed-off-by: Nick Schwaderer <nschwaderer@chef.io>
2020-07-16 13:44:32 +01:00
James Stocks
9684e64dd7
Merge pull request #5139 from inspec/im/hugo_the_docs
Hugo the docs
2020-07-16 11:19:55 +01:00
Chef Expeditor
da8ca846f2 Bump version to 4.22.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2020-07-15 12:28:39 +00:00
Nick Schwaderer
2744ff43e5
Merge pull request #5128 from james-stocks/js/report_bad_profiles
Report faulty profiles instead of crashing
2020-07-15 13:28:17 +01:00
Chef Expeditor
861331b487 Bump version to 4.21.7 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2020-07-14 10:49:44 +00:00
Nick Schwaderer
934aa8d49a
Merge pull request #5138 from jrbeilke/bug-apt-cdrom
skip apt-cdrom repos in apt resource when parsing lists
2020-07-14 11:49:21 +01:00
IanMadd
2c50f907f3 Update documentation release process instructions
Signed-off-by: IanMadd <imaddaus@chef.io>
2020-07-09 10:06:12 -07:00
Chef Expeditor
c5ee0ea597 Bump version to 4.21.6 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2020-07-09 13:37:06 +00:00
James Stocks
a461d42a85
Merge pull request #5135 from inspec/ns/input_equal_sign_5131
Allow ‘=‘ character in CLI inputs
2020-07-09 14:36:43 +01:00
James Stocks
9fc3b5e356 Make profile.rb own profile state
Add a @state ivar to the Profile class to represent state.
Add additional comments to the Metadata class to clarify that it represents metadata but not runtime state.

Signed-off-by: James Stocks <jstocks@chef.io>
2020-07-09 14:33:51 +01:00
James Stocks
cd077a1247 Improve profile status rendering in html2 reporter
Signed-off-by: James Stocks <jstocks@chef.io>
2020-07-09 14:02:42 +01:00
James Stocks
833aac3ef1 Add profile load failure message to CLI reporter
Signed-off-by: James Stocks <jstocks@chef.io>
2020-07-09 14:02:42 +01:00
Nick Schwaderer
6d340b323c Allow ‘=‘ character in CLI inputs
Fixes #5131

Due to the use of `#split(‘=‘)` against inputs supplied via the CLI we had an edge case where inputs with `’=‘` in the value would cause a breakage.

This PR supplies a test for the regression and fixes the bug with a regex solution.

Signed-off-by: Nick Schwaderer <nschwaderer@chef.io>
2020-07-09 12:50:21 +01:00
IanMadd
3ef1bd9b2e Reformat resource pages
Signed-off-by: IanMadd <imaddaus@chef.io>
2020-07-08 14:26:41 -07:00
IanMadd
ab17f16b0a Add regular page content and images
Signed-off-by: IanMadd <imaddaus@chef.io>
2020-07-08 14:26:40 -07:00
IanMadd
c93a515c6f Configure Hugo for InSpec docs
Signed-off-by: IanMadd <imaddaus@chef.io>
2020-07-08 14:26:33 -07:00
Jon Beilke
bedef776a6 skip apt-cdrom repos in apt resource when parsing lists
Signed-off-by: Jon Beilke <Jonathan.Beilke@windlogics.com>
2020-07-08 14:19:09 -05:00