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: "DetectorId", # required
  finding_ids: ["FindingId"], # required
  sort_criteria: {
    attribute_name: "String",
    order_by: "ASC", # accepts ASC, DESC
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#detector_idString

The ID of the detector that specifies the GuardDuty service whose findings you want to retrieve.

Returns:

  • (String)


1519
1520
1521
1522
1523
1524
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 1519

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


1519
1520
1521
1522
1523
1524
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 1519

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:



1519
1520
1521
1522
1523
1524
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 1519

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