Skip to content

/AWS1/CL_SHBDESCRHUBRESPONSE

DescribeHubResponse

CONSTRUCTOR

IMPORTING

Optional arguments:

IV_HUBARN TYPE /AWS1/SHBNONEMPTYSTRING /AWS1/SHBNONEMPTYSTRING

The ARN of the Hub resource that was retrieved.

IV_SUBSCRIBEDAT TYPE /AWS1/SHBNONEMPTYSTRING /AWS1/SHBNONEMPTYSTRING

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

IV_AUTOENABLECONTROLS TYPE /AWS1/SHBBOOLEAN /AWS1/SHBBOOLEAN

Whether to automatically enable new controls when they are added to standards that are enabled.

If set to true, then new controls for enabled standards are enabled automatically. If set to false, then new controls are not enabled.

IV_CONTROLFINDINGGENERATOR TYPE /AWS1/SHBCONTROLFNDGGENERATOR /AWS1/SHBCONTROLFNDGGENERATOR

Specifies whether the calling account has consolidated control findings turned on. If the value for this field is set to SECURITY_CONTROL, Security Hub generates a single finding for a control check even when the check applies to multiple enabled standards.

If the value for this field is set to STANDARD_CONTROL, Security Hub generates separate findings for a control check when the check applies to multiple enabled standards.

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 SECURITY_CONTROL if you enabled Security Hub on or after February 23, 2023.


Queryable Attributes

HubArn

The ARN of the Hub resource that was retrieved.

Accessible with the following methods

Method Description
GET_HUBARN() Getter for HUBARN, with configurable default
ASK_HUBARN() Getter for HUBARN w/ exceptions if field has no value
HAS_HUBARN() Determine if HUBARN has a value

SubscribedAt

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

Accessible with the following methods

Method Description
GET_SUBSCRIBEDAT() Getter for SUBSCRIBEDAT, with configurable default
ASK_SUBSCRIBEDAT() Getter for SUBSCRIBEDAT w/ exceptions if field has no value
HAS_SUBSCRIBEDAT() Determine if SUBSCRIBEDAT has a value

AutoEnableControls

Whether to automatically enable new controls when they are added to standards that are enabled.

If set to true, then new controls for enabled standards are enabled automatically. If set to false, then new controls are not enabled.

Accessible with the following methods

Method Description
GET_AUTOENABLECONTROLS() Getter for AUTOENABLECONTROLS, with configurable default
ASK_AUTOENABLECONTROLS() Getter for AUTOENABLECONTROLS w/ exceptions if field has no
HAS_AUTOENABLECONTROLS() Determine if AUTOENABLECONTROLS has a value

ControlFindingGenerator

Specifies whether the calling account has consolidated control findings turned on. If the value for this field is set to SECURITY_CONTROL, Security Hub generates a single finding for a control check even when the check applies to multiple enabled standards.

If the value for this field is set to STANDARD_CONTROL, Security Hub generates separate findings for a control check when the check applies to multiple enabled standards.

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 SECURITY_CONTROL if you enabled Security Hub on or after February 23, 2023.

Accessible with the following methods

Method Description
GET_CONTROLFINDINGGENERATOR() Getter for CONTROLFINDINGGENERATOR, with configurable defaul
ASK_CONTROLFINDINGGENERATOR() Getter for CONTROLFINDINGGENERATOR w/ exceptions if field ha
HAS_CONTROLFINDINGGENERATOR() Determine if CONTROLFINDINGGENERATOR has a value