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,
      },
    },
  },
}

Constant Summary collapse

SENSITIVE =
[]

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)


2134
2135
2136
2137
2138
2139
2140
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 2134

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

#finding_criteriaTypes::FindingCriteria

Represents the criteria that is used for querying findings.



2134
2135
2136
2137
2138
2139
2140
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 2134

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

#finding_statistic_typesArray<String>

The types of finding statistics to retrieve.

Returns:

  • (Array<String>)


2134
2135
2136
2137
2138
2139
2140
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 2134

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