Skip to content

Get Findings Statistics

guardduty_get_findings_statistics R Documentation

Lists Amazon GuardDuty findings statistics for the specified detector ID

Description

Lists Amazon GuardDuty findings statistics for the specified detector ID.

There might be regional differences because some flags might not be available in all the Regions where GuardDuty is currently supported. For more information, see Regions and endpoints.

Usage

guardduty_get_findings_statistics(DetectorId, FindingStatisticTypes,
  FindingCriteria)

Arguments

DetectorId

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

FindingStatisticTypes

[required] The types of finding statistics to retrieve.

FindingCriteria

Represents the criteria that is used for querying findings.

Value

A list with the following syntax:

list(
  FindingStatistics = list(
    CountBySeverity = list(
      123
    )
  )
)

Request syntax

svc$get_findings_statistics(
  DetectorId = "string",
  FindingStatisticTypes = list(
    "COUNT_BY_SEVERITY"
  ),
  FindingCriteria = list(
    Criterion = list(
      list(
        Eq = list(
          "string"
        ),
        Neq = list(
          "string"
        ),
        Gt = 123,
        Gte = 123,
        Lt = 123,
        Lte = 123,
        Equals = list(
          "string"
        ),
        NotEquals = list(
          "string"
        ),
        GreaterThan = 123,
        GreaterThanOrEqual = 123,
        LessThan = 123,
        LessThanOrEqual = 123
      )
    )
  )
)