:doc:`Inspector2 <../../inspector2>` / Paginator / GetCisScanResultDetails

***********************
GetCisScanResultDetails
***********************



.. py:class:: Inspector2.Paginator.GetCisScanResultDetails

  ::

    
    paginator = client.get_paginator('get_cis_scan_result_details')

  
  

  .. py:method:: paginate(**kwargs)

    Creates an iterator that will paginate through responses from :py:meth:`Inspector2.Client.get_cis_scan_result_details`.

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


    **Request Syntax**
    ::

      response_iterator = paginator.paginate(
          scanArn='string',
          targetResourceId='string',
          accountId='string',
          filterCriteria={
              'findingStatusFilters': [
                  {
                      'comparison': 'EQUALS',
                      'value': 'PASSED'|'FAILED'|'SKIPPED'
                  },
              ],
              'checkIdFilters': [
                  {
                      'comparison': 'EQUALS'|'PREFIX'|'NOT_EQUALS',
                      'value': 'string'
                  },
              ],
              'titleFilters': [
                  {
                      'comparison': 'EQUALS'|'PREFIX'|'NOT_EQUALS',
                      'value': 'string'
                  },
              ],
              'securityLevelFilters': [
                  {
                      'comparison': 'EQUALS',
                      'value': 'LEVEL_1'|'LEVEL_2'
                  },
              ],
              'findingArnFilters': [
                  {
                      'comparison': 'EQUALS'|'PREFIX'|'NOT_EQUALS',
                      'value': 'string'
                  },
              ]
          },
          sortBy='CHECK_ID'|'STATUS',
          sortOrder='ASC'|'DESC',
          PaginationConfig={
              'MaxItems': 123,
              'PageSize': 123,
              'StartingToken': 'string'
          }
      )
      
    :type scanArn: string
    :param scanArn: **[REQUIRED]** 

      The scan ARN.

      

    
    :type targetResourceId: string
    :param targetResourceId: **[REQUIRED]** 

      The target resource ID.

      

    
    :type accountId: string
    :param accountId: **[REQUIRED]** 

      The account ID.

      

    
    :type filterCriteria: dict
    :param filterCriteria: 

      The filter criteria.

      

    
      - **findingStatusFilters** *(list) --* 

        The criteria's finding status filters.

        

      
        - *(dict) --* 

          The CIS finding status filter.

          

        
          - **comparison** *(string) --* **[REQUIRED]** 

            The comparison value of the CIS finding status filter.

            

          
          - **value** *(string) --* **[REQUIRED]** 

            The value of the CIS finding status filter.

            

          
        
    
      - **checkIdFilters** *(list) --* 

        The criteria's check ID filters.

        

      
        - *(dict) --* 

          The CIS string filter.

          

        
          - **comparison** *(string) --* **[REQUIRED]** 

            The comparison value of the CIS string filter.

            

          
          - **value** *(string) --* **[REQUIRED]** 

            The value of the CIS string filter.

            

          
        
    
      - **titleFilters** *(list) --* 

        The criteria's title filters.

        

      
        - *(dict) --* 

          The CIS string filter.

          

        
          - **comparison** *(string) --* **[REQUIRED]** 

            The comparison value of the CIS string filter.

            

          
          - **value** *(string) --* **[REQUIRED]** 

            The value of the CIS string filter.

            

          
        
    
      - **securityLevelFilters** *(list) --* 

        The criteria's security level filters. . Security level refers to the Benchmark levels that CIS assigns to a profile.

        

      
        - *(dict) --* 

          The CIS security level filter. Security level refers to the Benchmark levels that CIS assigns to a profile.

          

        
          - **comparison** *(string) --* **[REQUIRED]** 

            The CIS security filter comparison value.

            

          
          - **value** *(string) --* **[REQUIRED]** 

            The CIS security filter value.

            

          
        
    
      - **findingArnFilters** *(list) --* 

        The criteria's finding ARN filters.

        

      
        - *(dict) --* 

          The CIS string filter.

          

        
          - **comparison** *(string) --* **[REQUIRED]** 

            The comparison value of the CIS string filter.

            

          
          - **value** *(string) --* **[REQUIRED]** 

            The value of the CIS string filter.

            

          
        
    
    
    :type sortBy: string
    :param sortBy: 

      The sort by order.

      

    
    :type sortOrder: string
    :param sortOrder: 

      The sort order.

      

    
    :type PaginationConfig: dict
    :param PaginationConfig: 

      A dictionary that provides parameters to control pagination.

      

    
      - **MaxItems** *(integer) --* 

        The total number of items to return. If the total number of items available is more than the value specified in max-items then a ``NextToken`` will be provided in the output that you can use to resume pagination.

        

      
      - **PageSize** *(integer) --* 

        The size of each page.

        

      
      - **StartingToken** *(string) --* 

        A token to specify where to start paginating. This is the ``NextToken`` from a previous response.

        

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

      
      ::

        {
            'scanResultDetails': [
                {
                    'scanArn': 'string',
                    'accountId': 'string',
                    'targetResourceId': 'string',
                    'platform': 'string',
                    'status': 'PASSED'|'FAILED'|'SKIPPED',
                    'statusReason': 'string',
                    'checkId': 'string',
                    'title': 'string',
                    'checkDescription': 'string',
                    'remediation': 'string',
                    'level': 'LEVEL_1'|'LEVEL_2',
                    'findingArn': 'string'
                },
            ],
            'NextToken': 'string'
        }
        
      **Response Structure**

      

      - *(dict) --* 
        

        - **scanResultDetails** *(list) --* 

          The scan result details.

          
          

          - *(dict) --* 

            The CIS scan result details.

            
            

            - **scanArn** *(string) --* 

              The CIS scan result details' scan ARN.

              
            

            - **accountId** *(string) --* 

              The CIS scan result details' account ID.

              
            

            - **targetResourceId** *(string) --* 

              The CIS scan result details' target resource ID.

              
            

            - **platform** *(string) --* 

              The CIS scan result details' platform.

              
            

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

              The CIS scan result details' status.

              
            

            - **statusReason** *(string) --* 

              The CIS scan result details' status reason.

              
            

            - **checkId** *(string) --* 

              The CIS scan result details' check ID.

              
            

            - **title** *(string) --* 

              The CIS scan result details' title.

              
            

            - **checkDescription** *(string) --* 

              The account ID that's associated with the CIS scan result details.

              
            

            - **remediation** *(string) --* 

              The CIS scan result details' remediation.

              
            

            - **level** *(string) --* 

              The CIS scan result details' level.

              
            

            - **findingArn** *(string) --* 

              The CIS scan result details' finding ARN.

              
        
      
        

        - **NextToken** *(string) --* 

          A token to resume pagination.

          
    