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

*******************
get_cis_scan_report
*******************



.. py:method:: Inspector2.Client.get_cis_scan_report(**kwargs)

  

  Retrieves a CIS scan report.

  

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


  **Request Syntax**
  ::

    response = client.get_cis_scan_report(
        scanArn='string',
        targetAccounts=[
            'string',
        ],
        reportFormat='PDF'|'CSV'
    )
    
  :type scanArn: string
  :param scanArn: **[REQUIRED]** 

    The scan ARN.

    

  
  :type targetAccounts: list
  :param targetAccounts: 

    The target accounts.

    

  
    - *(string) --* 

    

  :type reportFormat: string
  :param reportFormat: 

    The format of the report. Valid values are ``PDF`` and ``CSV``. If no value is specified, the report format defaults to ``PDF``.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'url': 'string',
          'status': 'SUCCEEDED'|'FAILED'|'IN_PROGRESS'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **url** *(string) --* 

        The URL where a PDF or CSV of the CIS scan report can be downloaded.

        
      

      - **status** *(string) --* 

        The status.

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

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

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

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

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

  