Commit graph

39 commits

Author SHA1 Message Date
Clinton Wolfe
43f7fe52f1 Implementation and some light refactoring of bind_inputs_from_metadata
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-06-12 19:02:34 -04:00
Clinton Wolfe
ec91ac9ee0
Rename 'attribute' DSL method to 'input' (#4008)
Rename 'attribute' DSL method to 'input'
2019-05-06 15:58:09 -04:00
Clinton Wolfe
1d201ee56c Add inspec-*-bin to the plugin filter list
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-05-01 23:33:29 -04:00
Clinton Wolfe
3bfc0cec68 Add input() DSL method, could use some DRY up
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-30 23:56:17 -04:00
Clinton Wolfe
8c9d76134f Enable warnings for AWS resources
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-25 15:41:10 -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
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
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
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
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
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
201c52594d Correct deprecation message on shadows property
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-16 17:32:29 -04:00
Clinton Wolfe
fc1bc75358 Adjust deprecations somewhat
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-12 10:55:36 -04:00
Jerry Aldrich
40031a9b83 Use deprecation facility throughout code
This converts all current deprecation warnings/TODOs to use the
`Inspec.deprecate()` deprecation facility.

This also modifies `Inspec.deprecate()` to only require 1 argument.

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2019-04-11 19:15:01 -04:00
Clinton Wolfe
fc7f3a65b4 Add a deprecation grouup for core AWS resources
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-20 18:02:02 -05:00
Clinton Wolfe
d52d497aac Add deprecation group for renaming attributes
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-14 13:48:47 -05:00
Clinton Wolfe
dd3d3cbd2f Add deprecation hook for size()
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-06 14:02:17 -05:00
Clinton Wolfe
a5fbeccf68 Add deprecation hook for --json-config
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-01 14:29:34 -05:00
Clinton Wolfe
7ac2f6433a Add deprecation hook for attribute 'default' option
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-01-28 00:42:27 -05:00
Clinton Wolfe
f5ab0d9125 Config file validation in place
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-01-10 23:54:50 -08:00
Clinton Wolfe
2121667e31 Starting implementation, global method is wired up
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-01-10 23:54:50 -08:00
Jared Quick
18f03d5569
Remove inspec/train vault from plugin list. (#3532)
Signed-off-by: Jared Quick <jquick@chef.io>
2018-10-23 09:16:39 -04:00
Miah Johnson
cc68490361 Filter out inspec-k8s and inspec-release (#3525)
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2018-10-17 15:49:41 -04:00
Clinton Wolfe
de5403d352 Plugins: Filter Plugins During Search and Install (#3458)
* Unit and functional tests for a reject list facility
* Implementation of plugin reject facility
* Initial draft of reject list
* Add option to search to hide test fixture by default
* Fix test
* PR feedback

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2018-10-11 14:05:57 -04:00