Skip to main content

coverage_statistics

Creates, updates, deletes, gets or lists a coverage_statistics resource.

Overview

Namecoverage_statistics
TypeResource
Idaws.guardduty.coverage_statistics

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
count_by_coverage_statusobjectRepresents coverage statistics for EKS clusters aggregated by coverage status.
count_by_resource_typeobjectRepresents coverage statistics for EKS clusters aggregated by resource type.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_coverage_statisticsselectdetector_id, regionRetrieves 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.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
detector_idstringThe unique ID of the GuardDuty detector. To find the detectorId in the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API.
regionstringAWS region (default: us-east-1)

SELECT examples

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.

SELECT
count_by_coverage_status,
count_by_resource_type
FROM aws.guardduty.coverage_statistics
WHERE detector_id = '{{ detector_id }}' -- required
AND region = '{{ region }}' -- required
;