You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Inspector::Types::FindingFilter

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb

Overview

Note:

When making an API call, you may pass FindingFilter data as a hash:

{
  agent_ids: ["AgentId"],
  auto_scaling_groups: ["AutoScalingGroup"],
  rule_names: ["RuleName"],
  severities: ["Low"], # accepts Low, Medium, High, Informational, Undefined
  rules_package_arns: ["Arn"],
  attributes: [
    {
      key: "AttributeKey", # required
      value: "AttributeValue",
    },
  ],
  user_attributes: [
    {
      key: "AttributeKey", # required
      value: "AttributeValue",
    },
  ],
  creation_time_range: {
    begin_date: Time.now,
    end_date: Time.now,
  },
}

This data type is used as a request parameter in the ListFindings action.

Instance Attribute Summary collapse

Instance Attribute Details

#agent_idsArray<String>

For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the agentId property of the Finding data type.

Returns:

  • (Array<String>)


1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 1318

class FindingFilter < Struct.new(
  :agent_ids,
  :auto_scaling_groups,
  :rule_names,
  :severities,
  :rules_package_arns,
  :attributes,
  :user_attributes,
  :creation_time_range)
  include Aws::Structure
end

#attributesArray<Types::Attribute>

For a record to match a filter, the list of values that are specified for this data type property must be contained in the list of values of the attributes property of the Finding data type.

Returns:



1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 1318

class FindingFilter < Struct.new(
  :agent_ids,
  :auto_scaling_groups,
  :rule_names,
  :severities,
  :rules_package_arns,
  :attributes,
  :user_attributes,
  :creation_time_range)
  include Aws::Structure
end

#auto_scaling_groupsArray<String>

For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the autoScalingGroup property of the Finding data type.

Returns:

  • (Array<String>)


1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 1318

class FindingFilter < Struct.new(
  :agent_ids,
  :auto_scaling_groups,
  :rule_names,
  :severities,
  :rules_package_arns,
  :attributes,
  :user_attributes,
  :creation_time_range)
  include Aws::Structure
end

#creation_time_rangeTypes::TimestampRange

The time range during which the finding is generated.



1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 1318

class FindingFilter < Struct.new(
  :agent_ids,
  :auto_scaling_groups,
  :rule_names,
  :severities,
  :rules_package_arns,
  :attributes,
  :user_attributes,
  :creation_time_range)
  include Aws::Structure
end

#rule_namesArray<String>

For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the ruleName property of the Finding data type.

Returns:

  • (Array<String>)


1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 1318

class FindingFilter < Struct.new(
  :agent_ids,
  :auto_scaling_groups,
  :rule_names,
  :severities,
  :rules_package_arns,
  :attributes,
  :user_attributes,
  :creation_time_range)
  include Aws::Structure
end

#rules_package_arnsArray<String>

For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the rulesPackageArn property of the Finding data type.

Returns:

  • (Array<String>)


1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 1318

class FindingFilter < Struct.new(
  :agent_ids,
  :auto_scaling_groups,
  :rule_names,
  :severities,
  :rules_package_arns,
  :attributes,
  :user_attributes,
  :creation_time_range)
  include Aws::Structure
end

#severitiesArray<String>

For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the severity property of the Finding data type.

Returns:

  • (Array<String>)


1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 1318

class FindingFilter < Struct.new(
  :agent_ids,
  :auto_scaling_groups,
  :rule_names,
  :severities,
  :rules_package_arns,
  :attributes,
  :user_attributes,
  :creation_time_range)
  include Aws::Structure
end

#user_attributesArray<Types::Attribute>

For a record to match a filter, the value that is specified for this data type property must be contained in the list of values of the userAttributes property of the Finding data type.

Returns:



1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 1318

class FindingFilter < Struct.new(
  :agent_ids,
  :auto_scaling_groups,
  :rule_names,
  :severities,
  :rules_package_arns,
  :attributes,
  :user_attributes,
  :creation_time_range)
  include Aws::Structure
end