update_organization_configuration

Inspector2.Client.update_organization_configuration(**kwargs)

Updates the configurations for your Amazon Inspector organization.

See also: AWS API Documentation

Request Syntax

response = client.update_organization_configuration(
    autoEnable={
        'ec2': True|False,
        'ecr': True|False,
        'lambda': True|False
    }
)
Parameters
autoEnable (dict) --

[REQUIRED]

Defines which scan types are enabled automatically for new members of your Amazon Inspector organization.

  • ec2 (boolean) -- [REQUIRED]

    Represents whether Amazon EC2 scans are automatically enabled for new members of your Amazon Inspector organization.

  • ecr (boolean) -- [REQUIRED]

    Represents whether Amazon ECR scans are automatically enabled for new members of your Amazon Inspector organization.

  • lambda (boolean) --

    Represents whether AWS Lambda scans are automatically enabled for new members of your Amazon Inspector organization.

Return type
dict
Returns
Response Syntax
{
    'autoEnable': {
        'ec2': True|False,
        'ecr': True|False,
        'lambda': True|False
    }
}

Response Structure

  • (dict) --
    • autoEnable (dict) --

      The updated status of scan types automatically enabled for new members of your Amazon Inspector organization.

      • ec2 (boolean) --

        Represents whether Amazon EC2 scans are automatically enabled for new members of your Amazon Inspector organization.

      • ecr (boolean) --

        Represents whether Amazon ECR scans are automatically enabled for new members of your Amazon Inspector organization.

      • lambda (boolean) --

        Represents whether AWS Lambda scans are automatically enabled for new members of your Amazon Inspector organization.

Exceptions

  • Inspector2.Client.exceptions.AccessDeniedException
  • Inspector2.Client.exceptions.ValidationException
  • Inspector2.Client.exceptions.ThrottlingException
  • Inspector2.Client.exceptions.InternalServerException