v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1461972964.4 KB

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

get/accounts

Query parameters

HubArnstring

The ARN of the Hub resource to retrieve.

Response

Success

HubArnstring

The ARN of the Hub resource that was retrieved.

SubscribedAtstring

The date and time when Security Hub was enabled in the account.

AutoEnableControlsboolean
<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>

Example response

{
  "AutoEnableControls": true,
  "ControlFindingGenerator": "SECURITY_CONTROL",
  "HubArn": "arn:aws:securityhub:us-west-1:123456789012:hub/default",
  "SubscribedAt": "2019-11-19T23:15:10.046Z"
}