Commit graph

6103 commits

Author SHA1 Message Date
Tim Smith
b095e2192e Make sure we test on Ruby 2.6
Signed-off-by: Tim Smith <tsmith@chef.io>
2019-04-25 11:14:27 -04:00
Chef Expeditor
406cc82b1f
Bump version to 4.1.9 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-25 15:11:14 +00:00
Chef Expeditor
2628857241
Bump version to 4.1.8 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-25 15:10:33 +00:00
Clinton Wolfe
9833b1950b
Update plugin test fixtures for Ruby 2.6 and remove for 2.3 (#3978)
Update plugin test fixtures for Ruby 2.6 and remove for 2.3
2019-04-25 11:10:17 -04:00
Chef Expeditor
3c4e3d1279
Bump version to 4.1.7 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-25 15:09:55 +00:00
Clinton Wolfe
00bcf91dac
When mssql response is parsed, header might be nil. (#3971)
When mssql response is parsed, header might be nil.
2019-04-25 11:09:52 -04:00
Clinton Wolfe
843ba7afa2
Improve ss parsing code for IPv6 addresses (#3962)
Improve ss parsing code for IPv6 addresses
2019-04-25 11:09:31 -04:00
Miah Johnson
ea3323c269 Revert "Change inspec_ui_methods from ignore -> warn"
This reverts commit 656406b8f6.
2019-04-24 13:29:59 -07:00
Miah Johnson
12c94e1e97 Revert "Use ignore_deprecations helper to silence warnings for cli.ui"
This reverts commit 144c482a24.
2019-04-24 13:17:52 -07:00
Miah Johnson
5a51e06186 Change file_resource_be_mounted_matchers from warn -> fail_control
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-24 12:24:48 -07:00
Clinton Wolfe
91c0f1e83b Rewrite fltertable functional tests to DRY up and avoid --json-config
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-24 11:37:43 -04:00
Miah Johnson
144c482a24 Use ignore_deprecations helper to silence warnings for cli.ui
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-24 02:28:28 -07:00
Miah Johnson
225b167ea3 Change host_resource_proto_usage from warn -> fail_control
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-23 22:31:49 -07:00
Miah Johnson
656406b8f6 Change inspec_ui_methods from ignore -> warn
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-23 21:59:14 -07:00
Miah Johnson
fe8a591d6d Change mssql_session_pass_option from warn -> exit
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-23 21:28:20 -07:00
Miah Johnson
2a3e8e15a8 Change oracledb_session_pass_option from warn -> exit
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-23 21:17:45 -07:00
Miah Johnson
cd10086481 Change property_filesystem_size from ignore -> warn
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-23 21:16:25 -07:00
Clinton Wolfe
77400b83b2 Also for train-test-fixture add 2.6.0 ABI and remove 2.3.0 ABI
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-23 23:45:59 -04:00
Clinton Wolfe
cf1d4f9994 Remove 2.3.0 ABI test fixture plugins
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-23 23:39:31 -04:00
Clinton Wolfe
3ec3607544 Add 2.6.0 ABI plugin test fixtures
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-23 23:37:59 -04:00
Clinton Wolfe
8fae6831c2 Update test fixture generator script for 2.6
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-23 23:37:24 -04:00
Miah Johnson
c4979ced6e Change property_process_list from warn -> fail_control
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-23 20:33:02 -07:00
Miah Johnson
585ce3b26f Change properties_aws_iam_user from warn -> fail_control
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-23 20:26:31 -07:00
Miah Johnson
7f00e54495 Change properties_shadow from warn -> fail_control
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-23 19:30:21 -07:00
Miah Johnson
a00520d8b3 Change rename_attributes_to_inputs from ignore to warn.
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-23 19:18:55 -07:00
Miah Johnson
a8c2544e72 Change resource_apache from warn -> exit
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-23 18:47:12 -07:00
Miah Johnson
1c9cccb1e3 Change resource_iis_website from warn -> exit
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-23 18:09:18 -07:00
Chef Expeditor
5504820d39
Bump version to 4.1.6 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-24 00:57:35 +00:00
Miah Johnson
45f87e01de
Merge pull request #3975 from inspec/immutableUpdate
Remove be_immutable matcher
2019-04-23 17:57:18 -07:00
Miah Johnson
b508cb7aa5 Change resource_linux_kernel_parameter from warn -> exit
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-23 17:37:46 -07:00
Miah Johnson
d9d7e351a3 Change resource_ppa from warn -> exit
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-23 17:08:52 -07:00
Miah Johnson
82b705aa9f Change resource_script from warn -> exit
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-23 16:36:09 -07:00
Miah Johnson
080c882322 Change resource_user_serverspec_compat from warn -> fail_control
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-23 16:13:13 -07:00
Miah Johnson
620bd44976 Change resource_windows_registry_key from warn -> exit
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-23 15:51:04 -07:00
Miah Johnson
a10a62a505 mount_parser_serverspec_compat warn -> fail_control
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-23 15:30:51 -07:00
Miah Johnson
5b3a24407f Change wmi_non_hash_usage from warn to fail_control
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-23 15:11:12 -07:00
Miah Johnson
7506ae4121 When mssql response is parsed, header might be nil.
Only set and downcase header if its not nil.

Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-23 14:45:34 -07:00
Aaron Lippold
a94fdc67d5 updated low to align with CVSS 3.0
Signed-off-by: Aaron Lippold <lippold@gmail.com>
2019-04-23 15:02:52 -04:00
Aaron Lippold
6d452540d0 updated low to align with CVSS 3.0
Signed-off-by: Aaron Lippold <lippold@gmail.com>
2019-04-23 15:02:52 -04:00
Mary Jinglewski
70db730b48 Remove be_immutable
Signed-off-by: Mary Jinglewski <mjinglewski@chef.io>
2019-04-23 13:52:48 -04:00
Clinton Wolfe
f7b01093a4 Warn on using default with attributes
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-23 11:46:13 -04:00
Clinton Wolfe
aa19b6e99d Add helper to filter out deprecations on stderr
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-23 11:46:13 -04:00
Chef Expeditor
3defc93670
Bump version to 4.1.5 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-23 01:17:19 +00:00
Miah Johnson
abc905b765
Merge pull request #3970 from inspec/ed25519
Add ed25519 gems in the omnibus group
2019-04-22 18:17:01 -07:00
Tim Smith
c2c6b59568 Add ed25519 gems in the omnibus group
We want to have these installed in our omnibus package, but we can't
make them direct deps in train because then a gem install of inspec
would need compilers to install these gems.

Signed-off-by: Tim Smith <tsmith@chef.io>
2019-04-22 17:34:32 -07:00
Chef Expeditor
f1cc0b0477
Bump version to 4.1.4 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-22 16:50:02 +00:00
Clinton Wolfe
330d504722
Use the upstream unf_ext again (#3963)
Use the upstream unf_ext again
2019-04-22 12:49:43 -04:00
Tim Smith
6c3abc36ef Use the upstream unf_ext again
The new version was released that includes our Solaris patch as well as Ruby 2.6 support.

Signed-off-by: Tim Smith <tsmith@chef.io>
2019-04-19 20:18:11 -07:00
Miah Johnson
2f78515164 Add a few tests for LinuxPorts class to validate ss parsing.
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-19 13:45:33 -07:00
Miah Johnson
27935e9e51 Improve ss parsing code for IPv6 addresses
Some versions of `ss` wrap IPv6 addresses in brackets, eg:

```
[fe80::dc11:b9b6:514b:134]%eth0:123
[::]
```

This change removes all brackets during parsing.

Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-18 23:55:50 -07:00