You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Inspector::Types::FindingFilter
- Inherits:
-
Struct
- Object
- Struct
- Aws::Inspector::Types::FindingFilter
- Defined in:
- (unknown)
Overview
When passing FindingFilter as input to an Aws::Client method, you can use a vanilla 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.
Returned by:
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.
#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.