inspec/etc/deprecations.json
Dan Webb 450ab79064
Change the deprecation warning to mention inputs
Attributes are now referred to as Inputs

Signed-off-by: Dan Webb <dan.webb@damacus.io>
2021-09-20 14:22:45 +01:00

130 lines
4.3 KiB
JSON

{
"file_version": "1.0.0",
"unknown_group_action": "ignore",
"groups": {
"attrs_value_replaces_default": {
"action": "warn",
"prefix": "The 'default' option for inputs is being replaced by 'value' - please use it instead."
},
"attrs_dsl": {
"action": "ignore",
"comment": "See #3853",
"prefix": "The 'attribute' DSL keyword is being replaced by 'input' - please use it instead."
},
"attrs_rename_in_metadata": {
"action": "ignore",
"comment": "See 3854",
"prefix": "Inputs should be specified by using the 'inputs' key in profile metadata, not 'attributes'."
},
"aws_resources_in_resource_pack": {
"comment": "See #3822",
"action": "warn",
"prefix": "AWS resources shipped with core InSpec are being to moved to a resource pack for faster iteration. Please update your profiles to depend on git@github.com:inspec/inspec-aws.git ."
},
"cli_option_json_config": {
"action": "ignore",
"prefix": "The --json-config option is being replaced by the --config option.",
"comment": "See #3661"
},
"file_resource_be_mounted_matchers": {
"action": "fail_control",
"suffix": "This will not be supported in InSpec 4.0."
},
"host_resource_proto_usage": {
"action": "fail_control",
"suffix": "This will not be supported in InSpec 4.0."
},
"inspec_ui_methods": {
"action": "ignore",
"suffix": "Please call `cli.ui` directly",
"comment": "See #3715"
},
"mssql_session_pass_option": {
"action": "exit",
"suffix": "This will not be supported in InSpec 4.0."
},
"oracledb_session_pass_option": {
"action": "exit",
"suffix": "This is not supported in InSpec 4.0."
},
"property_filesystem_size": {
"action": "warn",
"comment": "See #3778"
},
"property_processes_list": {
"action": "fail_control",
"suffix": "This property was removed in InSpec 4.0."
},
"properties_aws_iam_user": {
"action": "fail_control",
"suffix": "This property was removed in InSpec 4.0."
},
"properties_shadow": {
"action": "fail_control",
"suffix": "This property was removed in InSpec 4.0."
},
"rename_attributes_to_inputs": {
"action": "warn",
"prefix": "InSpec Attributes are being renamed to InSpec Inputs to avoid confusion with Chef Attributes.",
"comment": "See #3802"
},
"resource_apache": {
"action": "exit",
"suffix": "This resource was removed in InSpec 4.0."
},
"resource_azure_generic_resource": {
"action": "warn",
"prefix": "The azure_generic_resource is deprecated. Please use a specific resource. See: 'https://github.com/inspec/inspec/issues/3131'"
},
"resource_iis_website": {
"action": "exit",
"suffix": "This resource was removed in InSpec 4.0.",
"comment": "Needed for ServerSpec compatibility"
},
"resource_linux_kernel_parameter": {
"action": "exit",
"suffix": "This resource was removed in InSpec 4.0.",
"comment": "Needed for ServerSpec compatibility"
},
"resource_ppa": {
"action": "exit",
"suffix": "This resource was removed in InSpec 4.0.",
"comment": "Needed for ServerSpec compatibility"
},
"resource_script": {
"action": "exit",
"suffix": "This resource will be removed in InSpec 4.0"
},
"resource_user_serverspec_compat": {
"action": "fail_control"
},
"resource_windows_registry_key": {
"action": "exit",
"suffix": "This resource was removed in InSpec 4.0.",
"comment": "Needed for ServerSpec compatibility"
},
"serverspec_compatibility": {
"action": "warn",
"suffix": "This is only allowed for compatibility with ServerSpec"
},
"supports_syntax": {
"action": "warn"
},
"mount_parser_serverspec_compat": {
"action": "fail_control"
},
"wmi_non_hash_usage": {
"action": "fail_control",
"suffix": "This property was removed in InSpec 4.0."
},
"object_classes": {
"action": "warn",
"suffix": "These classes will be removed in InSpec 5.0."
},
"cli_option_hook":{
"action": "warn",
"prefix": "The --hook option is being replaced by the --activator option.",
"suffix": "This options will be removed in InSpec 4.0."
}
}
}