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
- Struct
- Aws::GuardDuty::Types::UpdateFilterRequest
- Defined in:
- (unknown)
Overview
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
-
#action ⇒ String
Specifies the action that is to be applied to the findings that match the filter.
-
#description ⇒ String
The description of the filter.
-
#detector_id ⇒ String
The unique ID of the detector that specifies the GuardDuty service where you want to update a filter.
-
#filter_name ⇒ String
The name of the filter.
-
#finding_criteria ⇒ Types::FindingCriteria
Represents the criteria to be used in the filter for querying findings.
-
#rank ⇒ Integer
Specifies the position of the filter in the list of current filters.
Instance Attribute Details
#action ⇒ String
Specifies the action that is to be applied to the findings that match the filter.
Possible values:
- NOOP
- ARCHIVE
#description ⇒ String
The description of the filter.
#detector_id ⇒ String
The unique ID of the detector that specifies the GuardDuty service where you want to update a filter.
#filter_name ⇒ String
The name of the filter.
#finding_criteria ⇒ Types::FindingCriteria
Represents the criteria to be used in the filter for querying findings.
#rank ⇒ Integer
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.