Commit graph

8597 commits

Author SHA1 Message Date
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
IanMadd
67cead6631 Delete old site
Signed-off-by: IanMadd <imaddaus@chef.io>
2020-07-07 17:46:00 -07:00
James Stocks
4c99130bb2
Merge pull request #5040 from sean-horn/patch-1
Config node_uuid with direct Inspec invocations
2020-07-06 16:37:00 +01:00
James Stocks
08398cc3c1 Address linting mistakes.
Signed-off-by: James Stocks <jstocks@chef.io>
2020-07-03 15:53:09 +01:00
James Stocks
fd4c501c70 Change profile skip_message to status_message
Keep a duplicate of the message in skip_message for the JSON reporters, for backwards compaibility.

Signed-off-by: James Stocks <jstocks@chef.io>
2020-07-03 15:53:09 +01:00
Chef Expeditor
fd557daabc Executed '.expeditor/update_dockerfile.sh'
Obvious fix; these changes are the result of automation not creative thinking.
2020-07-02 15:26:07 +00:00
Chef Expeditor
db55f7431c Bump version to 4.21.5 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2020-07-02 14:29:47 +00:00
Bryan McLellan
3c445ad263
Merge pull request #5130 from inspec/btm/macos11_service
Add the generic 'darwin' to the service resource
2020-07-02 10:29:27 -04:00