Skip to main content

hubs_list_only

Lists hubs in a region or regions, for all properties use hubs

Overview

Namehubs_list_only
TypeResource
DescriptionThe AWS::SecurityHub::Hub resource represents the implementation of the AWS Security Hub service in your account. One hub resource is created for each Region in which you enable Security Hub.
Idaws.securityhub.hubs_list_only

Fields

NameDatatypeDescription
arnstringAn ARN is automatically created for the customer.
enable_default_standardsbooleanWhether to enable the security standards that Security Hub has designated as automatically enabled.
control_finding_generatorstringThis field, used when enabling Security Hub, 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.
auto_enable_controlsbooleanWhether to automatically enable new controls when they are added to standards that are enabled
tagsobjectA key-value pair to associate with a resource.
subscribed_atstringThe date and time when Security Hub was enabled in the account.
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Lists all hubs in a region.

SELECT
region,
arn
FROM aws.securityhub.hubs_list_only
WHERE region = 'us-east-1';

Permissions

For permissions required to operate on the hubs_list_only resource, see hubs