Skip to content

Guardduty  >  Structures  >  FindingStatistics

FindingStatistics

Structure Class

FindingStatistics dataclass

Contains information about finding statistics.

Attributes

count_by_severity class-attribute instance-attribute
count_by_severity: dict[str, int] | None = None

Represents a list of map of severity to count statistics for a set of findings.

grouped_by_account class-attribute instance-attribute
grouped_by_account: list[AccountStatistics] | None = None

Represents a list of map of accounts with a findings count associated with each account.

grouped_by_date class-attribute instance-attribute
grouped_by_date: list[DateStatistics] | None = None

Represents a list of map of dates with a count of total findings generated on each date per severity level.

grouped_by_finding_type class-attribute instance-attribute
grouped_by_finding_type: list[FindingTypeStatistics] | None = None

Represents a list of map of finding types with a count of total findings generated for each type.

Based on the orderBy parameter, this request returns either the most occurring finding types or the least occurring finding types. If the orderBy parameter is ASC, this will represent the least occurring finding types in your account; otherwise, this will represent the most occurring finding types. The default value of orderBy is DESC.

grouped_by_resource class-attribute instance-attribute
grouped_by_resource: list[ResourceStatistics] | None = None

Represents a list of map of top resources with a count of total findings.

grouped_by_severity class-attribute instance-attribute
grouped_by_severity: list[SeverityStatistics] | None = None

Represents a list of map of total findings for each severity level.