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
show all
Defined in:
(unknown)

Overview

Note:

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

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

    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.

#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:

  • (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_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>)

    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_rangeTypes::TimestampRange

The time range during which the finding is generated.

Returns:

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

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

    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.

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

    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_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:

  • (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.