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.

Constant Summary collapse

SENSITIVE =
[]

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>)


1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 1657

class FindingFilter < Struct.new(
  :agent_ids,
  :auto_scaling_groups,
  :rule_names,
  :severities,
  :rules_package_arns,
  :attributes,
  :user_attributes,
  :creation_time_range)
  SENSITIVE = []
  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:



1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 1657

class FindingFilter < Struct.new(
  :agent_ids,
  :auto_scaling_groups,
  :rule_names,
  :severities,
  :rules_package_arns,
  :attributes,
  :user_attributes,
  :creation_time_range)
  SENSITIVE = []
  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>)


1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 1657

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

#creation_time_rangeTypes::TimestampRange

The time range during which the finding is generated.



1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 1657

class FindingFilter < Struct.new(
  :agent_ids,
  :auto_scaling_groups,
  :rule_names,
  :severities,
  :rules_package_arns,
  :attributes,
  :user_attributes,
  :creation_time_range)
  SENSITIVE = []
  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>)


1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 1657

class FindingFilter < Struct.new(
  :agent_ids,
  :auto_scaling_groups,
  :rule_names,
  :severities,
  :rules_package_arns,
  :attributes,
  :user_attributes,
  :creation_time_range)
  SENSITIVE = []
  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>)


1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 1657

class FindingFilter < Struct.new(
  :agent_ids,
  :auto_scaling_groups,
  :rule_names,
  :severities,
  :rules_package_arns,
  :attributes,
  :user_attributes,
  :creation_time_range)
  SENSITIVE = []
  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>)


1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 1657

class FindingFilter < Struct.new(
  :agent_ids,
  :auto_scaling_groups,
  :rule_names,
  :severities,
  :rules_package_arns,
  :attributes,
  :user_attributes,
  :creation_time_range)
  SENSITIVE = []
  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:



1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 1657

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