Continuum / Client / list_code_issues

list_code_issues

Continuum.Client.list_code_issues(**kwargs)

Lists the issues in an environment in descending issueId order.

See also: AWS API Documentation

Request Syntax

response = client.list_code_issues(
    environmentId='string',
    maxResults=123,
    nextToken='string'
)
Parameters:
  • environmentId (string) –

    [REQUIRED]

    The environment whose issues to list.

  • maxResults (integer) – The maximum number of results to return in a single call.

  • nextToken (string) – A pagination token returned by a previous call. Set to null for the first request; use the returned token for subsequent calls.

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 pagination token to retrieve the next page of results. Absent when there are no more results.

Exceptions

  • Continuum.Client.exceptions.ValidationException

  • Continuum.Client.exceptions.InternalServerException

  • Continuum.Client.exceptions.ResourceNotFoundException

  • Continuum.Client.exceptions.ThrottlingException

  • Continuum.Client.exceptions.AccessDeniedException