Skip to main content

organization_statistics

Creates, updates, deletes, gets or lists an organization_statistics resource.

Overview

Nameorganization_statistics
TypeResource
Idaws.guardduty.organization_statistics

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
organization_statisticsobjectInformation about the GuardDuty coverage statistics for members in your Amazon Web Services organization.
updated_atstring (date-time)The timestamp at which the organization statistics was last updated. This is in UTC format.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_organization_statisticsselectregionRetrieves how many active member accounts have each feature enabled within GuardDuty. Only a delegated GuardDuty administrator of an organization can run this API. When you create a new organization, it might take up to 24 hours to generate the statistics for the entire organization.

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
regionstringAWS region (default: us-east-1)

SELECT examples

Retrieves how many active member accounts have each feature enabled within GuardDuty. Only a delegated GuardDuty administrator of an organization can run this API. When you create a new organization, it might take up to 24 hours to generate the statistics for the entire organization.

SELECT
organization_statistics,
updated_at
FROM aws.guardduty.organization_statistics
WHERE region = '{{ region }}' -- required
;