Class: Aws::Inspector::Types::FindingFilter
- Inherits:
-
Struct
- Object
- Struct
- Aws::Inspector::Types::FindingFilter
- Defined in:
- gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb
Overview
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
-
#agent_ids ⇒ Array<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.
-
#attributes ⇒ Array<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.
-
#auto_scaling_groups ⇒ Array<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.
-
#creation_time_range ⇒ Types::TimestampRange
The time range during which the finding is generated.
-
#rule_names ⇒ Array<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.
-
#rules_package_arns ⇒ Array<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.
-
#severities ⇒ Array<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.
-
#user_attributes ⇒ Array<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.
Instance Attribute Details
#agent_ids ⇒ Array<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.
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 |
#attributes ⇒ Array<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.
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_groups ⇒ Array<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.
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_range ⇒ Types::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_names ⇒ Array<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.
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_arns ⇒ Array<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.
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 |
#severities ⇒ Array<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.
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_attributes ⇒ Array<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.
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 |