Update Organization Configuration
securityhub_update_organization_configuration | R Documentation |
Updates the configuration of your organization in Security Hub¶
Description¶
Updates the configuration of your organization in Security Hub. Only the Security Hub administrator account can invoke this operation.
Usage¶
securityhub_update_organization_configuration(AutoEnable,
AutoEnableStandards, OrganizationConfiguration)
Arguments¶
AutoEnable
[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 tofalse
, then Security Hub isn't enabled in new accounts automatically. The default value isfalse
.If the
ConfigurationType
of your organization is set toCENTRAL
, then this field is set tofalse
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.AutoEnableStandards
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 toNONE
, then default standards are not automatically enabled for new member accounts.If the
ConfigurationType
of your organization is set toCENTRAL
, then this field is set toNONE
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.OrganizationConfiguration
Value¶
An empty list.
Request syntax¶
svc$update_organization_configuration(
AutoEnable = TRUE|FALSE,
AutoEnableStandards = "NONE"|"DEFAULT",
OrganizationConfiguration = list(
ConfigurationType = "CENTRAL"|"LOCAL",
Status = "PENDING"|"ENABLED"|"FAILED",
StatusMessage = "string"
)
)
Examples¶
## Not run:
# This operation updates the way your organization is configured in
# Security Hub. Only a Security Hub administrator account can invoke this
# operation.
svc$update_organization_configuration(
AutoEnable = FALSE,
AutoEnableStandards = "NONE",
OrganizationConfiguration = list(
ConfigurationType = "CENTRAL"
)
)
## End(Not run)