Commit graph

8387 commits

Author SHA1 Message Date
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
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
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
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
Bryan McLellan
dada8ea074 Add the generic 'darwin' to the service resource
macOS 11 Big Sur will be released later this year. Current beta versions
return 10.16 as the version, but the product name has changed from 'Mac
OS X' to 'macOS'. Train probably needs to be modified to deprecate
'mac_os_x' as a platform in favor of 'macos' but that would be a
significant downstream change. Train does fall back to 'darwin' on macOS
10.16, so by adding darwin to the list of platform names for the service
resource we are able to work around this for the moment.

This is the only location where mac_os_x is currently being used in
InSpec. Because we're in a case statement on platform rather than the
more generic platform family, we can't simply remove mac_os_x in favor
of darwin.

Signed-off-by: Bryan McLellan <btm@loftninjas.org>
2020-07-02 09:36:27 -04:00
James Stocks
41087c5ec6 Set profiles that fail to load as failed
Signed-off-by: James Stocks <jstocks@chef.io>
2020-07-02 13:33:07 +01:00
Chef Expeditor
7484bfe783 Bump version to 4.21.4 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2020-07-02 11:36:22 +00:00
Nick Schwaderer
4470d64052
Merge pull request #5063 from inspec/ns/windows
WIP: Make progress on `skip_windows!`
2020-07-02 12:36:02 +01:00
Nick Schwaderer
480567564b Review skip_windows violations and expiration
We have 72 `skip_windows` that need addressing. This PR removes
confirmed instances where the tests now work on windows. It also marks
tests with a comment where they are confirmed to still break. Unmarked
instances still need review.

It also updates the `skip_windows` expiration date.

72 `skip_windows` needing resolution OR alternative documentation upon investigation

Signed-off-by: Nick Schwaderer <nschwaderer@chef.io>
2020-07-02 11:53:38 +01:00
Chef Expeditor
23e9b6565f Bump version to 4.21.3 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2020-06-30 14:00:06 +00:00
James Stocks
b8ca5240e8
Merge pull request #5126 from james-stocks/js/issue_5125
Log to stderr when using html2 reporter
2020-06-30 14:59:46 +01:00
James Stocks
d0f00cd716 Log to stderr when using html2 reporter
Fixes #5125

Signed-off-by: James Stocks <jstocks@chef.io>
2020-06-30 13:56:33 +01:00