2
0
Fork 0
mirror of https://github.com/inspec/inspec synced 2024-12-12 14:22:38 +00:00
Commit graph

8621 commits

Author SHA1 Message Date
Clinton Wolfe
09bbc7e2e7 Remove a ruby expression-based test
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-06-05 17:40:49 -04:00
Clinton Wolfe
925363766e Document and test to verify that it skips resources in describe blocks
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-06-05 17:40:49 -04:00
Clinton Wolfe
2b10aa8b47 Use the work 'control' consistently
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-06-05 17:40:49 -04:00
Clinton Wolfe
88b186047d Expand docs on only_if
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-06-05 17:39:55 -04:00
Clinton Wolfe
f39cf8c904 Tests to exercise only_if functionality
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-06-05 17:39:54 -04:00
James Stocks
f24f751fb7 Update installer license text
Copied the correct license text over from chef/chef and updated latest date to May 14 2019

Fixes 

Signed-off-by: James Stocks <jstocks@chef.io>
2020-06-05 16:38:08 +01:00
Chef Expeditor
52392600d1 Bump version to 4.20.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2020-06-05 13:11:07 +00:00
James Stocks
d5f825e716
Merge pull request from inspec/cw/silence-deprecations
CLI Option to silence deprecations
2020-06-05 14:10:50 +01:00
Chef Expeditor
c44eb725fe Bump version to 4.19.4 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2020-06-05 11:28:43 +00:00
Nick Schwaderer
e01e69e19f
Merge pull request from james-stocks/js/fix_markup
Fix unmatched backticks in docs
2020-06-05 04:28:27 -07:00
Chef Expeditor
b114792fe5 Bump version to 4.19.3 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2020-06-05 11:24:06 +00:00
Nick Schwaderer
fb1aeb0655
Merge pull request from inspec/cw/complex-cli-inputs
Boolean, Numeric, and Structured CLI inputs
2020-06-05 04:23:48 -07:00
Clinton Wolfe
afdcc9d2a1 Add cli to list of valid types explicitly to fix unit tests
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-06-04 15:03:16 -04:00
Chef Expeditor
f1b3f08d62 Executed '.expeditor/update_dockerfile.sh'
Obvious fix; these changes are the result of automation not creative thinking.
2020-06-04 13:33:55 +00:00
Chef Expeditor
144abfb5de Bump version to 4.19.2 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2020-06-04 10:00:27 +00:00
James Stocks
93d993e9d8
Merge pull request from inspec/js/omnibus_debug
Pin ffi in omnibus/Gemfile
2020-06-04 11:00:05 +01:00
Clinton Wolfe
458a5c4410 Replace Hash RunData access with method calls
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-06-03 21:51:21 -04:00
Clinton Wolfe
76033c03ff Convert CLI reporter to plugin, RunData is still Hash-based
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-06-03 21:13:27 -04:00
Clinton Wolfe
afc6e59e95 Update run_data fixture to include correct statistics structure
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-06-03 20:30:29 -04:00
James Stocks
9fb151e8d8 Pin ffi in omnibus/Gemfile
Signed-off-by: James Stocks <jstocks@chef.io>
2020-06-03 11:11:29 +01:00
Clinton Wolfe
99ec27b337 Fix json-min reporter unit test
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-06-02 21:35:16 -04:00
Clinton Wolfe
26e5ae3410 Update run_data fixture to include correct statistics structure
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-06-02 21:34:42 -04:00
Clinton Wolfe
935bb81e6f Use RunData object instead of Hash
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-06-02 15:29:52 -04:00
Clinton Wolfe
402366c219 Convert json-min to be a plugin reporter, rundata is still a Hash
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-06-02 15:29:52 -04:00
Clinton Wolfe
49f3e94133 Modify Hashlike behavior when values are nil
Exclude nil-valued keys when RunData acts like a Hash
Add non_nil? for clarity when people are calling key? and meaning not-nil

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-06-02 15:29:01 -04:00
Chef Expeditor
10e28c6895 Bump version to 4.19.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2020-06-02 16:56:17 +00:00
James Stocks
6f4c85aca9
Merge pull request from james-stocks/js/pin_ffi
Pin ffi to 1.12.2 due to Windows crash
2020-06-02 17:56:02 +01:00
James Stocks
04f36aa055 Pin ffi to 1.12.2 due to Windows crash
See https://github.com/ffi/ffi/issues/784

Signed-off-by: James Stocks <jstocks@chef.io>
2020-06-02 16:25:34 +01:00
Chef Expeditor
b67cb4fcc7 Update CHANGELOG.md with details from pull request
Obvious fix; these changes are the result of automation not creative thinking.
2020-06-01 15:54:32 +00:00
Nick Schwaderer
352cafec7b
Merge pull request from inspec/js/aarch64
Revert aarch64 build targets
2020-06-01 16:54:22 +01:00
James Stocks
697ee1b720 Revert aarch64 build targets
These currently do not build - they need unf_ext 0.0.7.7 and InSpec needs 0.0.7.2

Signed-off-by: James Stocks <jstocks@chef.io>
2020-05-29 13:36:24 +01:00
Chef Expeditor
31bc27f404 Update CHANGELOG.md with details from pull request
Obvious fix; these changes are the result of automation not creative thinking.
2020-05-29 09:42:17 +00:00
James Stocks
96488e6ab2
Merge pull request from inspec/csnapp/add_more_testers
Add several Builders and Testers to Omnibus
2020-05-29 10:42:03 +01:00
Chef Expeditor
2591e41ee4 Executed '.expeditor/update_dockerfile.sh'
Obvious fix; these changes are the result of automation not creative thinking.
2020-05-29 08:18:05 +00:00
James Stocks
51aeb9e2a6 Fix unmatched backticks in docs
Signed-off-by: James Stocks <jstocks@chef.io>
2020-05-28 11:21:32 +01:00
Chef Expeditor
d6453b82a5 Bump version to 4.19.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2020-05-27 12:06:41 +00:00
James Stocks
e4b06d88ab
Merge pull request from inspec/ns/innocuous_change_for_expeditor
Innocuous change to allow expeditor bump
2020-05-27 13:06:22 +01:00
Chef Expeditor
5441efcd5b Update CHANGELOG.md with details from pull request
Obvious fix; these changes are the result of automation not creative thinking.
2020-05-27 10:09:16 +00:00
James Stocks
c392f3bc1a
Merge pull request from james-stocks/js/fix_labels
Fix expeditor minor bump config, bump to 4.19
2020-05-27 11:09:01 +01:00
Nick Schwaderer
e8aa42d8b4 Innocuous change to allow expeditor bump
Signed-off-by: Nick Schwaderer <nschwaderer@chef.io>
2020-05-26 16:20:17 +01:00
Clinton Wolfe
88da919558 Fix exit code check for windows
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-05-25 23:27:00 -04:00
Clinton Wolfe
d5be4c2927 Test kitchen setup to test detection of audit-cookbook
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-05-25 21:00:24 -04:00
Clinton Wolfe
43a5fd7945 Test kitchen setup to verify Telemetry RunContext detection under TestKitchen
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-05-25 21:00:24 -04:00
Clinton Wolfe
09cfcedcd4 Refactor os_prepare cookbook to split out inspec installation
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-05-25 21:00:24 -04:00
Clinton Wolfe
439c93b115 Add a functional test to check Thor run context detection
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-05-25 21:00:24 -04:00
Clinton Wolfe
45e3421595 Remove too-brittle frame ranges on stack locations
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-05-25 21:00:24 -04:00
Clinton Wolfe
4122157542 rename to match class name
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-05-25 21:00:24 -04:00
Clinton Wolfe
cd9ca19901 stack probe for audit cookbook
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-05-25 21:00:24 -04:00
Clinton Wolfe
5be4ee913f stack probe for test-kitchen
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-05-25 21:00:24 -04:00
Clinton Wolfe
e96ddbf2cb Add stack probe for detecting when run as CLI by Thor
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-05-25 21:00:24 -04:00