SecurityHub / Client / update_organization_configuration
update_organization_configuration#
- SecurityHub.Client.update_organization_configuration(**kwargs)#
- Updates the configuration of your organization in Security Hub. Only the Security Hub administrator account can invoke this operation. - See also: AWS API Documentation - Request Syntax- response = client.update_organization_configuration( AutoEnable=True|False, AutoEnableStandards='NONE'|'DEFAULT', OrganizationConfiguration={ 'ConfigurationType': 'CENTRAL'|'LOCAL', 'Status': 'PENDING'|'ENABLED'|'FAILED', 'StatusMessage': 'string' } ) - Parameters:
- AutoEnable (boolean) – - [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 - ConfigurationTypeof your organization is set to- CENTRAL, then this field is set to- falseand 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 (string) – - 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 - ConfigurationTypeof your organization is set to- CENTRAL, then this field is set to- NONEand 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 (dict) – - Provides information about the way an organization is configured in Security Hub. - ConfigurationType (string) – - Indicates whether the organization uses local or central configuration. - If you use local configuration, the Security Hub delegated administrator can set - AutoEnableto- trueand- AutoEnableStandardsto- DEFAULT. This automatically enables Security Hub and default security standards in new organization accounts. These new account settings must be set separately in each Amazon Web Services Region, and settings may be different in each Region.- If you use central configuration, the delegated administrator can create configuration policies. Configuration policies can be used to configure Security Hub, security standards, and security controls in multiple accounts and Regions. If you want new organization accounts to use a specific configuration, you can create a configuration policy and associate it with the root or specific organizational units (OUs). New accounts will inherit the policy from the root or their assigned OU. 
- Status (string) – - Describes whether central configuration could be enabled as the - ConfigurationTypefor the organization. If your- ConfigurationTypeis local configuration, then the value of- Statusis always- ENABLED.
- StatusMessage (string) – - Provides an explanation if the value of - Statusis equal to- FAILEDwhen- ConfigurationTypeis equal to- CENTRAL.
 
 
- Return type:
- dict 
- Returns:
- Response Syntax- {}- Response Structure- (dict) – 
 
 - Exceptions- SecurityHub.Client.exceptions.InternalException
- SecurityHub.Client.exceptions.InvalidInputException
- SecurityHub.Client.exceptions.InvalidAccessException
- SecurityHub.Client.exceptions.LimitExceededException
- SecurityHub.Client.exceptions.AccessDeniedException
- SecurityHub.Client.exceptions.ResourceNotFoundException
- SecurityHub.Client.exceptions.ResourceConflictException