Skip to content

GetCodeIssueOutput

Source code in docs_src/capo_continuum/types/get_code_issue_output.py
class GetCodeIssueOutput(TypedDict, closed=True):
    issue_id: "capo_continuum.types.issue_id.IssueId"
    """The unique identifier of the issue."""
    issue_arn: "capo_continuum.types.issue_arn.IssueArn"
    """The ARN of the issue."""
    name: "capo_continuum.types.issue_name.IssueName"
    """The name of the issue."""
    synopsis: "capo_continuum.types.issue_synopsis.IssueSynopsis"
    """A free-form synopsis of the issue."""
    severity: NotRequired["capo_continuum.types.issue_severity.IssueSeverity"]
    """Current severity: the FindingSeverity seed at create, overwritten by the authoritative severity that prioritization assigns after validation."""
    confidence: NotRequired["capo_continuum.types.issue_confidence.IssueConfidence"]
    """The likelihood that this issue is a true positive, expressed as a percentage (0-100)."""
    severity_reasoning: NotRequired[
        "capo_continuum.types.issue_severity_reasoning.IssueSeverityReasoning"
    ]
    """The justification for the current severity. Always leads with a customer-facing basis clause synthesized from how the severity was determined (e.g. "Severity from finding.", "Severity from Continuum system."); when prioritization has run, its own reasoning follows. Issues created before the basis clause was introduced return their original reasoning without it."""
    summary: NotRequired[
        "capo_continuum.types.issue_remediation_summary.IssueRemediationSummary"
    ]
    """The remediation completion summary, when the green stage has run."""
    finding_ids: "capo_continuum.types.issue_finding_ids.IssueFindingIds"
    """The findings that motivated this issue. Bare identifiers only -- a caller authorized for GetCodeIssue is not necessarily authorized to read finding detail; call GetCodeFinding for that. Every referenced finding is included regardless of origin (both CustomerUploaded and ContinuumScanner)."""
    status: "capo_continuum.types.issue_status.IssueStatus"
    """The current lifecycle status of the issue."""
    phase: NotRequired["capo_continuum.types.issue_phase.IssuePhase"]
    """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."""
    status_reason: NotRequired[
        "capo_continuum.types.issue_status_reason.IssueStatusReason"
    ]
    """Why the issue failed. Present only when status is FAILED."""
    status_message: NotRequired[
        "capo_continuum.types.issue_status_message.IssueStatusMessage"
    ]
    """Customer-facing explanation of statusReason. Present only when status is FAILED."""
    status_updated_at: "datetime.datetime"
    """The timestamp when the status or phase last changed."""
    created_at: "datetime.datetime"
    """The timestamp when the issue was created."""
    updated_at: NotRequired["datetime.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."""
    evidence_availability: NotRequired[
        "capo_continuum.types.issue_evidence_availability.IssueEvidenceAvailability"
    ]
    """Whether the issue has any attached evidence (formerly 'artifacts': tool output, remediation proposals, patches). NONE = no evidence; AVAILABLE = at least one evidence item exists. Computed at read time."""
    patch_delivery: NotRequired[
        "capo_continuum.types.issue_patch_delivery.IssuePatchDelivery"
    ]
    """Customer delivery of the issue's patches, summarized from its PATCH artifacts at read time. Absent when no patch has a destination delivery."""

confidence instance-attribute

confidence: NotRequired[IssueConfidence]

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

created_at instance-attribute

created_at: datetime

The timestamp when the issue was created.

evidence_availability instance-attribute

evidence_availability: NotRequired[IssueEvidenceAvailability]

Whether the issue has any attached evidence (formerly 'artifacts': tool output, remediation proposals, patches). NONE = no evidence; AVAILABLE = at least one evidence item exists. Computed at read time.

finding_ids instance-attribute

finding_ids: IssueFindingIds

The findings that motivated this issue. Bare identifiers only -- a caller authorized for GetCodeIssue is not necessarily authorized to read finding detail; call GetCodeFinding for that. Every referenced finding is included regardless of origin (both CustomerUploaded and ContinuumScanner).

issue_arn instance-attribute

issue_arn: IssueArn

The ARN of the issue.

issue_id instance-attribute

issue_id: IssueId

The unique identifier of the issue.

name instance-attribute

name: IssueName

The name of the issue.

patch_delivery instance-attribute

patch_delivery: NotRequired[IssuePatchDelivery]

Customer delivery of the issue's patches, summarized from its PATCH artifacts at read time. Absent when no patch has a destination delivery.

phase instance-attribute

phase: NotRequired[IssuePhase]

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.

severity instance-attribute

severity: NotRequired[IssueSeverity]

Current severity: the FindingSeverity seed at create, overwritten by the authoritative severity that prioritization assigns after validation.

severity_reasoning instance-attribute

severity_reasoning: NotRequired[IssueSeverityReasoning]

The justification for the current severity. Always leads with a customer-facing basis clause synthesized from how the severity was determined (e.g. "Severity from finding.", "Severity from Continuum system."); when prioritization has run, its own reasoning follows. Issues created before the basis clause was introduced return their original reasoning without it.

status instance-attribute

status: IssueStatus

The current lifecycle status of the issue.

status_message instance-attribute

status_message: NotRequired[IssueStatusMessage]

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

status_reason instance-attribute

status_reason: NotRequired[IssueStatusReason]

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

status_updated_at instance-attribute

status_updated_at: datetime

The timestamp when the status or phase last changed.

summary instance-attribute

summary: NotRequired[IssueRemediationSummary]

The remediation completion summary, when the green stage has run.

synopsis instance-attribute

synopsis: IssueSynopsis

A free-form synopsis of the issue.

updated_at instance-attribute

updated_at: NotRequired[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.