AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Class: Aws::GuardDuty::Types::UpdateFilterRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing UpdateFilterRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  detector_id: "DetectorId", # required
  filter_name: "String", # required
  description: "FilterDescription",
  action: "NOOP", # accepts NOOP, ARCHIVE
  rank: 1,
  finding_criteria: {
    criterion: {
      "String" => {
        eq: ["String"],
        neq: ["String"],
        gt: 1,
        gte: 1,
        lt: 1,
        lte: 1,
        equals: ["String"],
        not_equals: ["String"],
        greater_than: 1,
        greater_than_or_equal: 1,
        less_than: 1,
        less_than_or_equal: 1,
      },
    },
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#actionString

Specifies the action that is to be applied to the findings that match the filter.

Possible values:

  • NOOP
  • ARCHIVE

Returns:

  • (String)

    Specifies the action that is to be applied to the findings that match the filter.

#descriptionString

The description of the filter.

Returns:

  • (String)

    The description of the filter.

#detector_idString

The unique ID of the detector that specifies the GuardDuty service where you want to update a filter.

Returns:

  • (String)

    The unique ID of the detector that specifies the GuardDuty service where you want to update a filter.

#filter_nameString

The name of the filter.

Returns:

  • (String)

    The name of the filter.

#finding_criteriaTypes::FindingCriteria

Represents the criteria to be used in the filter for querying findings.

Returns:

#rankInteger

Specifies the position of the filter in the list of current filters. Also specifies the order in which this filter is applied to the findings.

Returns:

  • (Integer)

    Specifies the position of the filter in the list of current filters.