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
}
)
[REQUIRED]
Defines which scan types are enabled automatically for new members of your Amazon Inspector organization.
Represents whether Amazon EC2 scans are automatically enabled for new members of your Amazon Inspector organization.
Represents whether Amazon ECR scans are automatically enabled for new members of your Amazon Inspector organization.
Represents whether AWS Lambda scans are automatically enabled for new members of your Amazon Inspector organization.
{
'autoEnable': {
'ec2': True|False,
'ecr': True|False,
'lambda': True|False
}
}
Response Structure
The updated status of scan types automatically enabled for new members of your Amazon Inspector organization.
Represents whether Amazon EC2 scans are automatically enabled for new members of your Amazon Inspector organization.
Represents whether Amazon ECR scans are automatically enabled for new members of your Amazon Inspector organization.
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