Skip to content

Get Members

securityhub_get_members R Documentation

Returns the details for the Security Hub CSPM member accounts for the specified account IDs

Description

Returns the details for the Security Hub CSPM member accounts for the specified account IDs.

An administrator account can be either the delegated Security Hub CSPM administrator account for an organization or an administrator account that enabled Security Hub CSPM manually.

The results include both member accounts that are managed using Organizations and accounts that were invited manually.

Usage

securityhub_get_members(AccountIds)

Arguments

AccountIds

[required] The list of account IDs for the Security Hub CSPM member accounts to return the details for.

Value

A list with the following syntax:

list(
  Members = list(
    list(
      AccountId = "string",
      Email = "string",
      MasterId = "string",
      AdministratorId = "string",
      MemberStatus = "string",
      InvitedAt = as.POSIXct(
        "2015-01-01"
      ),
      UpdatedAt = as.POSIXct(
        "2015-01-01"
      )
    )
  ),
  UnprocessedAccounts = list(
    list(
      AccountId = "string",
      ProcessingResult = "string"
    )
  )
)

Request syntax

svc$get_members(
  AccountIds = list(
    "string"
  )
)