Commit graph

7306 commits

Author SHA1 Message Date
Ryan Davis
c6fb5969fb
Merge pull request #4518 from inspec/zenspider/waiver-doco
Added first draft of waiver doco.
2019-09-26 14:36:59 -07:00
Ryan Davis
0f05d7133e Fixes based on feedback.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-09-26 14:15:00 -07:00
Mary Jinglewski
be5e8d0a33 Edits and adding to website menu
Signed-off-by: Mary Jinglewski <mjinglewski@chef.io>
2019-09-26 16:56:06 -04:00
Ryan Davis
6e220d0310 Added first draft of waiver doco.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-09-26 16:56:06 -04:00
Chef Expeditor
df93b99277 Bump version to 4.17.6 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-09-26 19:29:48 +00:00
Ryan Davis
fd1ab6fff0
Merge pull request #4513 from inspec/zenspider/plugin_loader
Fixed Inspec::Plugin::V2::Registry#detect_system_plugins
2019-09-26 12:29:29 -07:00
Clinton Wolfe
47e3ed992f Copyedit feedback
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-09-26 10:33:37 -04:00
Ryan Davis
ca4844210d Fixed Inspec::Plugin::V2::Registry#detect_system_plugins
+ Falls back to checking for inspec-core if inspec not found.
+ Fails gracefully if neither are found.

Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-09-25 16:10:00 -07:00
mhackethal
9369426d8b
fix whitespace. Signed-off-by: mhackethal <mh@it31.de> 2019-09-25 11:40:57 +02:00
mhackethal
07ba40ecee
Ruby calculation for passwordage.
Change calculation for passwordage from inspec.cmd to ruby date calculation.
Added require "date"
Parse provided date and calculate against Date.today.
Signed-off-by: mhackethal <mh@it31.de>
2019-09-25 11:27:11 +02:00
SalmonKing72
a1ada89d0d Merge branch 'master' of github.com:inspec/inspec 2019-09-24 22:23:17 -04:00
SalmonKing72
fdb551ad57 z-index issue for header to prevent content from overlaying the main nav for both mobile and desktop layouts 2019-09-24 22:22:10 -04:00
Chef Expeditor
52b0765347 Bump version to 4.17.5 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-09-25 00:46:14 +00:00
Ryan Davis
90c4904a55
Merge pull request #4490 from inspec/zenspider/split-long-functional
Split and parallelize some tests to make them faster
2019-09-24 17:45:57 -07:00
Chef Expeditor
9e641e9e94 Bump version to 4.17.4 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-09-23 16:43:27 +00:00
Clinton Wolfe
14e611b25a
Merge pull request #4393 from dalee-bis/query-double-quote-escape-fix
Fixed MssqlSession.query not escaping double quote correctly
2019-09-23 12:43:09 -04:00
Clinton Wolfe
3cc45920d1 broaden summary of tool purpose
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-09-20 17:24:12 -04:00
Clinton Wolfe
1e96e420d9 Writeup of compliance CLI subcommand
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-09-20 17:19:40 -04:00
Ryan Davis
9671f75f9a Let's see how our BK setup likes parallelization.
According to @tom, we have some seriously beefy aws instances on both
linux and windows (4 times beefier than linux!). Let's see what this does.

Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-09-18 14:47:41 -07:00
mhackethal
56806b8f8f Update documentation for user(s) resource. Signed-off-by: mhackethal <mh@it31.de> 2019-09-18 11:09:05 +02:00
Chef Expeditor
76901e0247 Bump version to 4.17.3 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-09-18 01:14:06 +00:00
Ryan Davis
577521296c
Merge pull request #4476 from inspec/zenspider/gem_pathing
Use File.realpath in Loader#plugin_gem_path to resolve all symlinks.
2019-09-17 18:13:35 -07:00
Chef Expeditor
d35b123f67 Bump version to 4.17.2 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-09-18 01:13:19 +00:00
Ryan Davis
988c7e813e
Merge pull request #4434 from irvingpop/irving/fix_tag_to_ruby
Resolve issue where the Inspec::Tag to_ruby method outputs invalid Ruby
2019-09-17 18:13:02 -07:00
Irving Popovetsky
bbb927e3dd Remove invalid test cases for tags
Signed-off-by: Irving Popovetsky <irving@chef.io>
2019-09-17 15:58:12 -07:00
Irving Popovetsky
4aebe87c2e Update unit tests to match
Signed-off-by: Irving Popovetsky <irving@chef.io>
2019-09-17 15:58:12 -07:00
Irving Popovetsky
ffbcc29c59 Fix the Tag object to_ruby, as used by inspec-scap
Signed-off-by: Irving Popovetsky <irving@chef.io>
2019-09-17 15:58:12 -07:00
Ryan Davis
fc1ad67ffc More parallelization for functionals.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-09-17 11:50:31 -07:00
Chef Expeditor
9afbce04ca Bump version to 4.17.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-09-17 00:50:32 +00:00
Ryan Davis
a473a94303
Merge pull request #4493 from inspec/mj/waiver3
Waivers Phase 3
2019-09-16 17:50:02 -07:00
Chef Expeditor
a3006d7f4d Bump version to 4.17.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-09-17 00:46:42 +00:00
Clinton Wolfe
f1f5840fa7
Merge pull request #4388 from Vancelot11/vancelot/sys_info.hostname
Expand sys_info resource functionality
2019-09-16 20:46:25 -04:00
Ryan Davis
d3f81f1194 Turn on parallelism for inspec_shell_test.rb
Seems safe after several runs.

Takes the time down from ~180s to 22s.

Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-09-16 17:19:32 -07:00
Ryan Davis
ba462724db Turn on parallelism for inspec_exec_test.rb
Seems safe after several runs.

Takes the time down from ~275s to 35s.

Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-09-16 17:19:32 -07:00
Ryan Davis
769d492108 Split up inspec-plugin_test.rb into a file per subcommand + helper.
This takes the run time from ~3 minutes to ~1 minute (in parallel).

Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-09-16 17:19:32 -07:00
Chef Expeditor
3f3c0fba32 Bump version to 4.16.15 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-09-17 00:04:05 +00:00
Ryan Davis
a0a7917faa
Merge pull request #4485 from inspec/zenspider/objects-inputs
Split out Inspec::Input functional code from the code generation code.
2019-09-16 17:03:49 -07:00
Chef Expeditor
812564b717 Update CHANGELOG.md with details from pull request #4480
Obvious fix; these changes are the result of automation not creative thinking.
2019-09-17 00:02:06 +00:00
Ryan Davis
6b72ca2655
Merge pull request #4480 from inspec/zenspider/isolate
Added test:isolate task that runs tests isolated but in parallel.
2019-09-16 17:01:54 -07:00
Ryan Davis
1526838ea6 Refactored JSON reporter to be much cleaner / consistent.
Everything can just be a simple clean map + reject if nil value.

Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-09-16 16:55:38 -07:00
Ryan Davis
1d3c9341ec Finished up the phase 3 waiver json output tests.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-09-16 16:39:34 -07:00
Miah Johnson
5d94b0d709 Add waiver_data to json output, update assertion to show where waiver_data lives.
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-09-16 14:49:05 -07:00
Miah Johnson
168c77e472 Refactor tests.
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-09-16 14:49:05 -07:00
Ryan Davis
fe97c3a4c3 Added new pipeline to check all tests work in isolation.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-09-13 17:14:32 -07:00
Ryan Davis
2cb05f2c66 Removed old test:isolated in favor of new one.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-09-13 17:14:32 -07:00
Ryan Davis
5e7c6d87e6 Added test:isolate2 that runs tests isolated but in parallel.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-09-13 17:14:32 -07:00
Ryan Davis
e375ea30c8 Split out Inspec::Input functional code from the code generation code.
Includes moving errors into Inspec::Input and Inspec::InputRegistry.

Fixes #4456.
Fixes #4473.

Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-09-13 17:12:20 -07:00
Ryan Davis
1c1211ea36
Merge pull request #4487 from inspec/mj/ghe
Tweak expeditor configuration for PR template and auto assignment
2019-09-13 13:26:16 -07:00
mhackethal
c3270b537a update user_test.rb
Signed-off-by: mhackethal <mh@it31.de>
2019-09-13 21:19:20 +02:00
mhackethal
0b76859728 adjust user_test.rb 2019-09-13 20:45:54 +02:00