---
title: "GET /accounts"
method: GET
path: "/accounts"
---

# GET /accounts

`GET /accounts`

Returns details about the Hub resource in your account, including the <code>HubArn</code> and the time when you enabled Security Hub.

## Query parameters

- `HubArn` string

## Response `200`

Success

- DescribeHubResponse
  - `HubArn` string — The ARN of the Hub resource that was retrieved.
  - `SubscribedAt` string — The date and time when Security Hub was enabled in the account.
  - `AutoEnableControls` boolean — <p>Whether to automatically enable new controls when they are added to standards that are enabled.</p> <p>If set to <code>true</code>, then new controls for enabled standards are enabled automatically. If set to <code>false</code>, then new controls are not enabled.</p>
  - `ControlFindingGenerator` 'STANDARD_CONTROL' | 'SECURITY_CONTROL' — <p>Specifies whether the calling account has consolidated control findings turned on. If the value for this field is set to <code>SECURITY_CONTROL</code>, Security Hub generates a single finding for a control check even when the check applies to multiple enabled standards.</p> <p>If the value for this field is set to <code>STANDARD_CONTROL</code>, Security Hub generates separate findings for a control check when the check applies to multiple enabled standards.</p> <p>The value for this field in a member account matches the value in the administrator account. For accounts that aren't part of an organization, the default value of this field is <code>SECURITY_CONTROL</code> if you enabled Security Hub on or after February 23, 2023.</p>

## Other responses

- `480` — InternalException
- `481` — LimitExceededException
- `482` — InvalidAccessException
- `483` — InvalidInputException
- `484` — ResourceNotFoundException

---

[API](https://skmtc.net/aws/apis/securityhub.md) · [All operations](https://skmtc.net/aws/apis/securityhub/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/securityhub/versions/72336a39f336/schema)
