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

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#detector_idString

The ID of the detector whose findings statistics you want to retrieve.

To find the ‘detectorId` in the current Region, see the Settings page in the GuardDuty console, or run the [ListDetectors] API.

[1]: docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html

Returns:

  • (String)


3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
# File 'lib/aws-sdk-guardduty/types.rb', line 3739

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

#finding_criteriaTypes::FindingCriteria

Represents the criteria that is used for querying findings.



3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
# File 'lib/aws-sdk-guardduty/types.rb', line 3739

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

#finding_statistic_typesArray<String>

The types of finding statistics to retrieve.

Returns:

  • (Array<String>)


3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
# File 'lib/aws-sdk-guardduty/types.rb', line 3739

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

#group_byString

Displays the findings statistics grouped by one of the listed valid values.

Returns:

  • (String)


3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
# File 'lib/aws-sdk-guardduty/types.rb', line 3739

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

#max_resultsInteger

The maximum number of results to be returned in the response. The default value is 25.

You can use this parameter only with the ‘groupBy` parameter.

Returns:

  • (Integer)


3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
# File 'lib/aws-sdk-guardduty/types.rb', line 3739

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

#order_byString

Displays the sorted findings in the requested order. The default value of ‘orderBy` is `DESC`.

You can use this parameter only with the ‘groupBy` parameter.

Returns:

  • (String)


3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
# File 'lib/aws-sdk-guardduty/types.rb', line 3739

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