organization_statistics
Creates, updates, deletes, gets or lists an organization_statistics resource.
Overview
| Name | organization_statistics |
| Type | Resource |
| Id | aws.guardduty.organization_statistics |
Fields
The following fields are returned by SELECT queries:
- get_organization_statistics
| Name | Datatype | Description |
|---|---|---|
organization_statistics | object | Information about the GuardDuty coverage statistics for members in your Amazon Web Services organization. |
updated_at | string (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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_organization_statistics | select | region | 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. |
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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_organization_statistics
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
;