Skip to content

RequirementStatus

Source code in docs_src/capo_assurance/types/requirement_status.py
class RequirementStatus(TypedDict, closed=True):
    requirement_id: "capo_assurance.types.requirement_id.RequirementId"
    """<p>The unique identifier of the requirement.</p>"""
    description: "capo_assurance.types.requirement_description.RequirementDescription"
    """<p>A description of the requirement.</p>"""
    status: (
        "capo_assurance.types.requirement_compliance_status.RequirementComplianceStatus"
    )
    """<p>The effective outcome of the requirement. The outcome is <code>not_applicable</code> when the requirement or its control is declared not applicable, or when the most recent assessment determined that the requirement doesn't apply. It's <code>unable_to_assess</code> when no assessment produced an outcome for the requirement.</p>"""
    status_override: NotRequired["capo_assurance.types.status_override.StatusOverride"]
    """<p>The decision declared directly on this requirement. Absent when no decision is declared on the requirement, including when the requirement is not applicable only because its control is declared not applicable.</p>"""
    rationale: NotRequired[
        "capo_assurance.types.requirement_rationale.RequirementRationale"
    ]
    """<p>The evaluator's explanation of the outcome from the most recent assessment.</p>"""
    task_id: NotRequired["capo_assurance.types.task_id.TaskId"]
    """<p>The identifier of the remediation task for this requirement in the project, when one exists. The task can be in any state, including <code>CANCELLED</code>.</p>"""

description instance-attribute

A description of the requirement.

rationale instance-attribute

rationale: NotRequired[RequirementRationale]

The evaluator's explanation of the outcome from the most recent assessment.

requirement_id instance-attribute

requirement_id: RequirementId

The unique identifier of the requirement.

status instance-attribute

The effective outcome of the requirement. The outcome is not_applicable when the requirement or its control is declared not applicable, or when the most recent assessment determined that the requirement doesn't apply. It's unable_to_assess when no assessment produced an outcome for the requirement.

status_override instance-attribute

status_override: NotRequired[StatusOverride]

The decision declared directly on this requirement. Absent when no decision is declared on the requirement, including when the requirement is not applicable only because its control is declared not applicable.

task_id instance-attribute

task_id: NotRequired[TaskId]

The identifier of the remediation task for this requirement in the project, when one exists. The task can be in any state, including CANCELLED.