Table Of Contents


User Guide

First time using the AWS CLI? See the User Guide for help getting started.

[ aws . guardduty ]



Lists Amazon GuardDuty findings' statistics for the specified detector ID.

See also: AWS API Documentation

See 'aws help' for descriptions of global parameters.


--detector-id <value>
[--finding-criteria <value>]
--finding-statistic-types <value>
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]


--detector-id (string) The ID of the detector that specifies the GuardDuty service whose findings' statistics you want to retrieve.

--finding-criteria (structure) Represents the criteria used for querying findings.

Shorthand Syntax:


JSON Syntax:

  "Criterion": {"string": {
        "Eq": ["string", ...],
        "Gt": integer,
        "Gte": integer,
        "Lt": integer,
        "Lte": integer,
        "Neq": ["string", ...]

--finding-statistic-types (list) Types of finding statistics to retrieve.


"string" "string" ...

Where valid values are:

--cli-input-json (string) Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally.

--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.

See 'aws help' for descriptions of global parameters.


FindingStatistics -> (structure)

Finding statistics object.

CountBySeverity -> (map)

Represents a map of severity to count statistic for a set of findings

key -> (string)

value -> (integer)

The count of findings for the given severity.