Retrieves aggregated statistics for your account¶
Description¶
Retrieves aggregated statistics for your account. If you are a GuardDuty administrator, you can retrieve the statistics for all the resources associated with the active member accounts in your organization who have enabled Runtime Monitoring and have the GuardDuty security agent running on their resources.
Usage¶
Arguments¶
-
DetectorId[required] The unique ID of the GuardDuty detector.
To find the
detectorIdin the current Region, see the Settings page in the GuardDuty console, or run thelist_detectorsAPI. -
FilterCriteriaRepresents the criteria used to filter the coverage statistics.
-
StatisticsType[required] Represents the statistics type used to aggregate the coverage details.
Value¶
A list with the following syntax:
list(
CoverageStatistics = list(
CountByResourceType = list(
123
),
CountByCoverageStatus = list(
123
)
)
)
Request syntax¶
svc$get_coverage_statistics(
DetectorId = "string",
FilterCriteria = list(
FilterCriterion = list(
list(
CriterionKey = "ACCOUNT_ID"|"RESOURCE_TYPE"|"COVERAGE_STATUS"|"ADDON_VERSION"|"CLUSTER_NAME"|"ECS_CLUSTER_NAME"|"MANAGEMENT_TYPE"|"EKS_CLUSTER_NAME"|"AGENT_VERSION"|"INSTANCE_ID"|"CLUSTER_ARN",
FilterCondition = list(
Equals = list(
"string"
),
NotEquals = list(
"string"
)
)
)
)
),
StatisticsType = list(
"COUNT_BY_RESOURCE_TYPE"|"COUNT_BY_COVERAGE_STATUS"
)
)