Inspector2 / Paginator / ListConnectorScanConfigurations

ListConnectorScanConfigurations

class Inspector2.Paginator.ListConnectorScanConfigurations
paginator = client.get_paginator('list_connector_scan_configurations')
paginate(**kwargs)

Creates an iterator that will paginate through responses from Inspector2.Client.list_connector_scan_configurations().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    awsConfigConnectorArns=[
        'string',
    ],
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • awsConfigConnectorArns (list) –

    The list of Amazon Web Services Config connector ARNs to filter results.

    • (string) –

  • PaginationConfig (dict) –

    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.

Return type:

dict

Returns:

Response Syntax

{
    'scanConfigurations': [
        {
            'awsConfigConnectorArn': 'string',
            'connectorArns': [
                'string',
            ],
            'scanConfiguration': {
                'containerImageScanning': {
                    'pushDuration': 'LIFETIME'|'DAYS_3'|'DAYS_7'|'DAYS_30'|'DAYS_180'|'DAYS_14'|'DAYS_60'|'DAYS_90',
                    'pullDuration': 'DAYS_3'|'DAYS_7'|'DAYS_14'|'DAYS_30'|'DAYS_60'|'DAYS_90'|'DAYS_180'
                }
            }
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • scanConfigurations (list) –

      A list of scan configuration items.

      • (dict) –

        Represents a scan configuration and the connectors it applies to. Returned in the results of a ListConnectorScanConfigurations request.

        • awsConfigConnectorArn (string) –

          The ARN of the Amazon Web Services Config connector.

        • connectorArns (list) –

          The list of connector ARNs associated with this Amazon Web Services Config connector.

          • (string) –

        • scanConfiguration (dict) –

          The scan configuration settings.

          • containerImageScanning (dict) –

            The container image scanning configuration, including push and pull duration settings.

            • pushDuration (string) –

              The amount of time after a container image is pushed to a repository during which Amazon Inspector continues to rescan the image for vulnerabilities. Valid values are LIFETIME, DAYS_3, DAYS_7, DAYS_14, DAYS_30, DAYS_60, DAYS_90, and DAYS_180.

            • pullDuration (string) –

              The amount of time after a container image is last pulled from a repository during which Amazon Inspector continues to rescan the image for vulnerabilities. Valid values are DAYS_3, DAYS_7, DAYS_14, DAYS_30, DAYS_60, DAYS_90, and DAYS_180.

    • NextToken (string) –

      A token to resume pagination.