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

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: "__string", # required
  finding_criteria: {
    criterion: {
      "__string" => {
        eq: ["__string"],
        gt: 1,
        gte: 1,
        lt: 1,
        lte: 1,
        neq: ["__string"],
      },
    },
  },
  finding_statistic_types: ["COUNT_BY_SEVERITY"], # accepts COUNT_BY_SEVERITY
}

Get Findings Statistics Request

Instance Attribute Summary collapse

Instance Attribute Details

#detector_idString

Returns:

  • (String)


1244
1245
1246
1247
1248
1249
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 1244

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

#finding_criteriaTypes::FindingCriteria

Represents the criteria used for querying findings.



1244
1245
1246
1247
1248
1249
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 1244

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

#finding_statistic_typesArray<String>

Types of finding statistics to retrieve.

Returns:

  • (Array<String>)


1244
1245
1246
1247
1248
1249
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 1244

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