Class: Aws::GuardDuty::Types::GetFindingsStatisticsRequest

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 GetFindingsStatisticsRequest data as a hash:

{
  detector_id: "DetectorId", # required
  finding_statistic_types: ["COUNT_BY_SEVERITY"], # required, accepts COUNT_BY_SEVERITY
  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

Instance Attribute Details

#detector_idString

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

Returns:

  • (String)


1578
1579
1580
1581
1582
1583
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 1578

class GetFindingsStatisticsRequest < Struct.new(
  :detector_id,
  :finding_statistic_types,
  :finding_criteria)
  include Aws::Structure
end

#finding_criteriaTypes::FindingCriteria

Represents the criteria used for querying findings.



1578
1579
1580
1581
1582
1583
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 1578

class GetFindingsStatisticsRequest < Struct.new(
  :detector_id,
  :finding_statistic_types,
  :finding_criteria)
  include Aws::Structure
end

#finding_statistic_typesArray<String>

Types of finding statistics to retrieve.

Returns:

  • (Array<String>)


1578
1579
1580
1581
1582
1583
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 1578

class GetFindingsStatisticsRequest < Struct.new(
  :detector_id,
  :finding_statistic_types,
  :finding_criteria)
  include Aws::Structure
end