Skip to main content

organization_admins

Retrieves a list of organization_admins in a region

Overview

Nameorganization_admins
TypeResource
Descriptionorganization_admins
Idawscc.detective.organization_admins

Fields

NameDatatypeDescription
account_idstringThe account ID of the account that should be registered as your Organization's delegated administrator for Detective
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
account_id
FROM awscc.detective.organization_admins
WHERE region = 'us-east-1'

Permissions

To operate on the organization_admins resource, the following permissions are required:

Create

detective:EnableOrganizationAdminAccount,
detective:ListOrganizationAdminAccount,
iam:CreateServiceLinkedRole,
organizations:RegisterDelegatedAdministrator,
organizations:DescribeOrganization,
organizations:EnableAWSServiceAccess,
organizations:ListAccounts

List

detective:ListOrganizationAdminAccount,
organizations:DescribeOrganization