Skip to content

CodeRemediationTaskDetails

Source code in docs_src/capo_securityagent/types/code_remediation_task_details.py
class CodeRemediationTaskDetails(TypedDict, closed=True):
    repo_name: NotRequired["str"]
    """<p>The name of an associated repository where the remediation was applied.</p>"""
    code_diff_link: NotRequired["str"]
    """<p>The link to the code diff for the remediation.</p>"""
    pull_request_link: NotRequired["str"]
    """<p>The link to the pull request created for the remediation.</p>"""
    status: NotRequired[
        "capo_securityagent.types.code_remediation_job_status.CodeRemediationJobStatus"
    ]
    """<p>The current status of the code remediation task for the particular repository.</p>"""
    status_code: NotRequired["str"]
    """<p>A category classifier if a repository's code remediation fails.</p>"""
    status_reason: NotRequired["str"]
    """<p>A descriptive reason when a repository's code remediation fails.</p>"""
code_diff_link: NotRequired[str]

The link to the code diff for the remediation.

pull_request_link: NotRequired[str]

The link to the pull request created for the remediation.

repo_name instance-attribute

repo_name: NotRequired[str]

The name of an associated repository where the remediation was applied.

status instance-attribute

status: NotRequired[CodeRemediationJobStatus]

The current status of the code remediation task for the particular repository.

status_code instance-attribute

status_code: NotRequired[str]

A category classifier if a repository's code remediation fails.

status_reason instance-attribute

status_reason: NotRequired[str]

A descriptive reason when a repository's code remediation fails.