Class: Aws::GuardDuty::Types::CreateFilterRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::GuardDuty::Types::CreateFilterRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-guardduty/types.rb
Overview
When making an API call, you may pass CreateFilterRequest data as a hash:
{
action: "NOOP", # accepts NOOP, ARCHIVE
client_token: "__stringMin0Max64",
description: "FilterDescription",
detector_id: "__string", # required
finding_criteria: { # required
criterion: {
"__string" => {
eq: ["__string"],
gt: 1,
gte: 1,
lt: 1,
lte: 1,
neq: ["__string"],
},
},
},
name: "FilterName", # required
rank: 1,
}
CreateFilter request object.
Instance Attribute Summary collapse
-
#action ⇒ String
Specifies the action that is to be applied to the findings that match the filter.
-
#client_token ⇒ String
The idempotency token for the create request.**A suitable default value is auto-generated.** You should normally not need to pass this option.
-
#description ⇒ String
The description of the filter.
- #detector_id ⇒ String
-
#finding_criteria ⇒ Types::FindingCriteria
Represents the criteria to be used in the filter for querying findings.
-
#name ⇒ String
The name of the filter.
-
#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.
396 397 398 399 400 401 402 403 404 405 |
# File 'lib/aws-sdk-guardduty/types.rb', line 396 class CreateFilterRequest < Struct.new( :action, :client_token, :description, :detector_id, :finding_criteria, :name, :rank) include Aws::Structure end |
#client_token ⇒ String
The idempotency token for the create request.**A suitable default value is auto-generated.** You should normally not need to pass this option.
396 397 398 399 400 401 402 403 404 405 |
# File 'lib/aws-sdk-guardduty/types.rb', line 396 class CreateFilterRequest < Struct.new( :action, :client_token, :description, :detector_id, :finding_criteria, :name, :rank) include Aws::Structure end |
#description ⇒ String
The description of the filter.
396 397 398 399 400 401 402 403 404 405 |
# File 'lib/aws-sdk-guardduty/types.rb', line 396 class CreateFilterRequest < Struct.new( :action, :client_token, :description, :detector_id, :finding_criteria, :name, :rank) include Aws::Structure end |
#detector_id ⇒ String
396 397 398 399 400 401 402 403 404 405 |
# File 'lib/aws-sdk-guardduty/types.rb', line 396 class CreateFilterRequest < Struct.new( :action, :client_token, :description, :detector_id, :finding_criteria, :name, :rank) include Aws::Structure end |
#finding_criteria ⇒ Types::FindingCriteria
Represents the criteria to be used in the filter for querying findings.
396 397 398 399 400 401 402 403 404 405 |
# File 'lib/aws-sdk-guardduty/types.rb', line 396 class CreateFilterRequest < Struct.new( :action, :client_token, :description, :detector_id, :finding_criteria, :name, :rank) include Aws::Structure end |
#name ⇒ String
The name of the filter.
396 397 398 399 400 401 402 403 404 405 |
# File 'lib/aws-sdk-guardduty/types.rb', line 396 class CreateFilterRequest < Struct.new( :action, :client_token, :description, :detector_id, :finding_criteria, :name, :rank) include Aws::Structure end |
#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.
396 397 398 399 400 401 402 403 404 405 |
# File 'lib/aws-sdk-guardduty/types.rb', line 396 class CreateFilterRequest < Struct.new( :action, :client_token, :description, :detector_id, :finding_criteria, :name, :rank) include Aws::Structure end |