Updates the configuration of your organization in Security Hub. Only the Security Hub administrator account can invoke this operation.
See https://www.paws-r-sdk.com/docs/securityhub_update_organization_configuration/ for full documentation.
securityhub_update_organization_configuration(
AutoEnable,
AutoEnableStandards = NULL,
OrganizationConfiguration = NULL
)
[required] Whether to automatically enable Security Hub in new member accounts when they join the organization.
If set to true
, then Security Hub is automatically enabled in new
accounts. If set to false
, then Security Hub isn't enabled in new
accounts automatically. The default value is false
.
If the ConfigurationType
of your organization is set to CENTRAL
,
then this field is set to false
and can't be changed in the home
Region and linked Regions. However, in that case, the delegated
administrator can create a configuration policy in which Security Hub is
enabled and associate the policy with new organization accounts.
Whether to automatically enable Security Hub default standards in new member accounts when they join the organization.
The default value of this parameter is equal to DEFAULT
.
If equal to DEFAULT
, then Security Hub default standards are
automatically enabled for new member accounts. If equal to NONE
, then
default standards are not automatically enabled for new member accounts.
If the ConfigurationType
of your organization is set to CENTRAL
,
then this field is set to NONE
and can't be changed in the home Region
and linked Regions. However, in that case, the delegated administrator
can create a configuration policy in which specific security standards
are enabled and associate the policy with new organization accounts.