Continuum / Paginator / ListCodeIssues

ListCodeIssues

class Continuum.Paginator.ListCodeIssues
paginator = client.get_paginator('list_code_issues')
paginate(**kwargs)

Creates an iterator that will paginate through responses from Continuum.Client.list_code_issues().

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The environment whose issues to list.

  • 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

{
    'items': [
        {
            'issueId': 'string',
            'issueArn': 'string',
            'name': 'string',
            'severity': 'LOW'|'MEDIUM'|'HIGH'|'CRITICAL',
            'confidence': 123,
            'status': 'CREATED'|'IN_PROGRESS'|'COMPLETED'|'FAILED',
            'phase': 'VALIDATION'|'PRIORITIZATION'|'REMEDIATION',
            'statusReason': 'INTERNAL_ERROR'|'REMEDIATION_FAILED',
            'statusMessage': 'string',
            'statusUpdatedAt': datetime(2015, 1, 1),
            'createdAt': datetime(2015, 1, 1),
            'updatedAt': datetime(2015, 1, 1)
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    Contains the list of issue summaries and an optional pagination token.

    • items (list) –

      The issues in the environment, ordered by issueId descending.

      • (dict) –

        A summary of an issue returned in list responses.

        • issueId (string) –

          The unique identifier of the issue.

        • issueArn (string) –

          The ARN of the issue.

        • name (string) –

          The name of the issue.

        • severity (string) –

          Scanner-derived severity assigned to the issue.

        • confidence (integer) –

          The likelihood that this issue is a true positive, expressed as a percentage (0-100).

        • status (string) –

          The current lifecycle status of the issue.

        • phase (string) –

          The part of the workflow the issue is in. Present when status is IN_PROGRESS, and when status is FAILED and the failing phase is known.

        • statusReason (string) –

          Why the issue failed. Present only when status is FAILED.

        • statusMessage (string) –

          Customer-facing explanation of statusReason. Present only when status is FAILED.

        • statusUpdatedAt (datetime) –

          The timestamp when the status or phase last changed.

        • createdAt (datetime) –

          The timestamp when the issue was created.

        • updatedAt (datetime) –

          The timestamp when any field of the issue last changed. Advances on every mutation (including score-only updates that do not transition status), so it is greater than or equal to statusUpdatedAt.

    • NextToken (string) –

      A token to resume pagination.