:doc:`Inspector2 <../../inspector2>` / Client / describe_organization_configuration

***********************************
describe_organization_configuration
***********************************



.. py:method:: Inspector2.Client.describe_organization_configuration()

  

  Describe Amazon Inspector configuration settings for an Amazon Web Services organization.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/DescribeOrganizationConfiguration>`_  


  **Request Syntax**
  ::

    response = client.describe_organization_configuration()
    
    
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'autoEnable': {
              'ec2': True|False,
              'ecr': True|False,
              'lambda': True|False,
              'lambdaCode': True|False,
              'codeRepository': True|False
          },
          'maxAccountLimitReached': True|False
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **autoEnable** *(dict) --* 

        The scan types are automatically enabled for new members of your 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 Amazon Web Services Lambda standard scans are automatically enabled for new members of your Amazon Inspector organization.

          
        

        - **lambdaCode** *(boolean) --* 

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

          
        

        - **codeRepository** *(boolean) --* 

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

          
    
      

      - **maxAccountLimitReached** *(boolean) --* 

        Represents whether your organization has reached the maximum Amazon Web Services account limit for Amazon Inspector.

        
  
  **Exceptions**
  
  *   :py:class:`Inspector2.Client.exceptions.ValidationException`

  
  *   :py:class:`Inspector2.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`Inspector2.Client.exceptions.ThrottlingException`

  
  *   :py:class:`Inspector2.Client.exceptions.InternalServerException`

  