Skip to content

/AWS1/CL_GDY=>GETFINDINGSSTATISTICS()

About GetFindingsStatistics

Lists GuardDuty findings statistics for the specified detector ID.

You must provide either findingStatisticTypes or groupBy parameter, and not both. You can use the maxResults and orderBy parameters only when using groupBy.

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.

Method Signature

IMPORTING

Required arguments:

IV_DETECTORID TYPE /AWS1/GDYDETECTORID /AWS1/GDYDETECTORID

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

Optional arguments:

IT_FINDINGSTATISTICTYPES TYPE /AWS1/CL_GDYFNDSTATISTICTYPE00=>TT_FINDINGSTATISTICTYPES TT_FINDINGSTATISTICTYPES

The types of finding statistics to retrieve.

IO_FINDINGCRITERIA TYPE REF TO /AWS1/CL_GDYFINDINGCRITERIA /AWS1/CL_GDYFINDINGCRITERIA

Represents the criteria that is used for querying findings.

IV_GROUPBY TYPE /AWS1/GDYGROUPBYTYPE /AWS1/GDYGROUPBYTYPE

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

IV_ORDERBY TYPE /AWS1/GDYORDERBY /AWS1/GDYORDERBY

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.

IV_MAXRESULTS TYPE /AWS1/GDYMAXRESULTS100 /AWS1/GDYMAXRESULTS100

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.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_GDYGETFNDGSSTATSRSP /AWS1/CL_GDYGETFNDGSSTATSRSP