lib/aws-sdk-securityhub/client.rb in aws-sdk-securityhub-1.29.0 vs lib/aws-sdk-securityhub/client.rb in aws-sdk-securityhub-1.30.0
- old
+ new
@@ -2189,10 +2189,11 @@
#
# @return [Types::DescribeHubResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::DescribeHubResponse#hub_arn #hub_arn} => String
# * {Types::DescribeHubResponse#subscribed_at #subscribed_at} => String
+ # * {Types::DescribeHubResponse#auto_enable_controls #auto_enable_controls} => Boolean
#
# @example Request syntax with placeholder values
#
# resp = client.describe_hub({
# hub_arn: "NonEmptyString",
@@ -2200,10 +2201,11 @@
#
# @example Response structure
#
# resp.hub_arn #=> String
# resp.subscribed_at #=> String
+ # resp.auto_enable_controls #=> Boolean
#
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DescribeHub AWS API Documentation
#
# @overload describe_hub(params = {})
# @param [Hash] params ({})
@@ -2616,10 +2618,14 @@
#
# @option params [Types::AwsSecurityFindingFilters] :filters
# The finding attributes used to define a condition to filter the
# returned findings.
#
+ # Note that in the available filter fields, `WorkflowState` is
+ # deprecated. To search for a finding based on its workflow status, use
+ # `WorkflowStatus`.
+ #
# @option params [Array<Types::SortCriterion>] :sort_criteria
# The finding attributes used to sort the list of returned findings.
#
# @option params [String] :next_token
# The token that is required for pagination. On your first call to the
@@ -5547,10 +5553,37 @@
def update_insight(params = {}, options = {})
req = build_request(:update_insight, params)
req.send_request(options)
end
+ # Updates configuration options for Security Hub.
+ #
+ # @option params [Boolean] :auto_enable_controls
+ # Whether to automatically enable new controls when they are added to
+ # standards that are enabled.
+ #
+ # By default, this is set to `true`, and new controls are enabled
+ # automatically. To not automatically enable new controls, set this to
+ # `false`.
+ #
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
+ #
+ # @example Request syntax with placeholder values
+ #
+ # resp = client.update_security_hub_configuration({
+ # auto_enable_controls: false,
+ # })
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/UpdateSecurityHubConfiguration AWS API Documentation
+ #
+ # @overload update_security_hub_configuration(params = {})
+ # @param [Hash] params ({})
+ def update_security_hub_configuration(params = {}, options = {})
+ req = build_request(:update_security_hub_configuration, params)
+ req.send_request(options)
+ end
+
# Used to control whether an individual security standard control is
# enabled or disabled.
#
# @option params [required, String] :standards_control_arn
# The ARN of the security standard control to enable or disable.
@@ -5592,10 +5625,10 @@
operation: config.api.operation(operation_name),
client: self,
params: params,
config: config)
context[:gem_name] = 'aws-sdk-securityhub'
- context[:gem_version] = '1.29.0'
+ context[:gem_version] = '1.30.0'
Seahorse::Client::Request.new(handlers, context)
end
# @api private
# @deprecated