SecurityHub / Client / update_organization_configuration

update_organization_configuration#

SecurityHub.Client.update_organization_configuration(**kwargs)#

Used to update the configuration related to Organizations. Can only be called from a Security Hub administrator account.

See also: AWS API Documentation

Request Syntax

response = client.update_organization_configuration(
    AutoEnable=True|False,
    AutoEnableStandards='NONE'|'DEFAULT'
)
Parameters:
  • AutoEnable (boolean) –

    [REQUIRED]

    Whether to automatically enable Security Hub for new accounts in the organization.

    By default, this is false , and new accounts are not added automatically.

    To automatically enable Security Hub for new accounts, set this to true .

  • AutoEnableStandards (string) –

    Whether to automatically enable Security Hub default standards for new member accounts in the organization.

    By default, this parameter is equal to DEFAULT , and new member accounts are automatically enabled with default Security Hub standards.

    To opt out of enabling default standards for new member accounts, set this parameter equal to NONE .

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