Skip to content

Get Organization Statistics

guardduty_get_organization_statistics R Documentation

Retrieves how many active member accounts have each feature enabled within GuardDuty

Description

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.

Usage

guardduty_get_organization_statistics()

Value

A list with the following syntax:

list(
  OrganizationDetails = list(
    UpdatedAt = as.POSIXct(
      "2015-01-01"
    ),
    OrganizationStatistics = list(
      TotalAccountsCount = 123,
      MemberAccountsCount = 123,
      ActiveAccountsCount = 123,
      EnabledAccountsCount = 123,
      CountByFeature = list(
        list(
          Name = "S3_DATA_EVENTS"|"EKS_AUDIT_LOGS"|"EBS_MALWARE_PROTECTION"|"RDS_LOGIN_EVENTS"|"EKS_RUNTIME_MONITORING"|"LAMBDA_NETWORK_LOGS"|"RUNTIME_MONITORING",
          EnabledAccountsCount = 123,
          AdditionalConfiguration = list(
            list(
              Name = "EKS_ADDON_MANAGEMENT"|"ECS_FARGATE_AGENT_MANAGEMENT"|"EC2_AGENT_MANAGEMENT",
              EnabledAccountsCount = 123
            )
          )
        )
      )
    )
  )
)