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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-guardduty/types.rb

Overview

Note:

When making an API call, you may pass UpdateFilterRequest data as a hash:

{
  action: "NOOP", # accepts NOOP, ARCHIVE
  description: "FilterDescription",
  detector_id: "__string", # required
  filter_name: "__string", # required
  finding_criteria: {
    criterion: {
      "__string" => {
        eq: ["__string"],
        gt: 1,
        gte: 1,
        lt: 1,
        lte: 1,
        neq: ["__string"],
      },
    },
  },
  rank: 1,
}

UpdateFilter request object.

Instance Attribute Summary collapse

Instance Attribute Details

#actionString

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

Returns:

  • (String)


2760
2761
2762
2763
2764
2765
2766
2767
2768
# File 'lib/aws-sdk-guardduty/types.rb', line 2760

class UpdateFilterRequest < Struct.new(
  :action,
  :description,
  :detector_id,
  :filter_name,
  :finding_criteria,
  :rank)
  include Aws::Structure
end

#descriptionString

The description of the filter.

Returns:

  • (String)


2760
2761
2762
2763
2764
2765
2766
2767
2768
# File 'lib/aws-sdk-guardduty/types.rb', line 2760

class UpdateFilterRequest < Struct.new(
  :action,
  :description,
  :detector_id,
  :filter_name,
  :finding_criteria,
  :rank)
  include Aws::Structure
end

#detector_idString

Returns:

  • (String)


2760
2761
2762
2763
2764
2765
2766
2767
2768
# File 'lib/aws-sdk-guardduty/types.rb', line 2760

class UpdateFilterRequest < Struct.new(
  :action,
  :description,
  :detector_id,
  :filter_name,
  :finding_criteria,
  :rank)
  include Aws::Structure
end

#filter_nameString

Returns:

  • (String)


2760
2761
2762
2763
2764
2765
2766
2767
2768
# File 'lib/aws-sdk-guardduty/types.rb', line 2760

class UpdateFilterRequest < Struct.new(
  :action,
  :description,
  :detector_id,
  :filter_name,
  :finding_criteria,
  :rank)
  include Aws::Structure
end

#finding_criteriaTypes::FindingCriteria

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



2760
2761
2762
2763
2764
2765
2766
2767
2768
# File 'lib/aws-sdk-guardduty/types.rb', line 2760

class UpdateFilterRequest < Struct.new(
  :action,
  :description,
  :detector_id,
  :filter_name,
  :finding_criteria,
  :rank)
  include Aws::Structure
end

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


2760
2761
2762
2763
2764
2765
2766
2767
2768
# File 'lib/aws-sdk-guardduty/types.rb', line 2760

class UpdateFilterRequest < Struct.new(
  :action,
  :description,
  :detector_id,
  :filter_name,
  :finding_criteria,
  :rank)
  include Aws::Structure
end