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

Class: Aws::GuardDuty::Types::GetFindingsRequest

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

Overview

Note:

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

{
  detector_id: "__string", # required
  finding_ids: ["FindingId"],
  sort_criteria: {
    attribute_name: "__string",
    order_by: "ASC", # accepts ASC, DESC
  },
}

Get Findings Request

Instance Attribute Summary collapse

Instance Attribute Details

#detector_idString

Returns:

  • (String)


1020
1021
1022
1023
1024
1025
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 1020

class GetFindingsRequest < Struct.new(
  :detector_id,
  :finding_ids,
  :sort_criteria)
  include Aws::Structure
end

#finding_idsArray<String>

IDs of the findings that you want to retrieve.

Returns:

  • (Array<String>)


1020
1021
1022
1023
1024
1025
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 1020

class GetFindingsRequest < Struct.new(
  :detector_id,
  :finding_ids,
  :sort_criteria)
  include Aws::Structure
end

#sort_criteriaTypes::SortCriteria

Represents the criteria used for sorting findings.

Returns:



1020
1021
1022
1023
1024
1025
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 1020

class GetFindingsRequest < Struct.new(
  :detector_id,
  :finding_ids,
  :sort_criteria)
  include Aws::Structure
end