Skip to content

GetAssessmentOutput

Source code in docs_src/capo_assurance/types/get_assessment_output.py
class GetAssessmentOutput(TypedDict, closed=True):
    assessment_id: "capo_assurance.types.assessment_id.AssessmentId"
    """<p>The identifier of the assessment.</p>"""
    environment: "capo_assurance.types.environment_id.EnvironmentId"
    """<p>The name of the governance environment the assessment belongs to.</p>"""
    framework: "capo_assurance.types.framework_name.FrameworkName"
    """<p>The name of the compliance framework.</p>"""
    framework_version: "capo_assurance.types.framework_version.FrameworkVersion"
    """<p>The version of the compliance framework.</p>"""
    control_id: "capo_assurance.types.control_id.ControlID"
    """<p>The control identifier. Optional. If omitted, the operation applies to the full framework.</p>"""
    project: "capo_assurance.types.project_name.ProjectName"
    """<p>The name of the project.</p>"""
    status: "capo_assurance.types.assessment_status.AssessmentStatus"
    """<p>The canonical state of the assessment.</p>"""
    result: NotRequired["capo_assurance.types.assessment_result.AssessmentResult"]
    """<p>The detailed result of the assessment.</p>"""
    outcome_percentage: NotRequired["float"]
    """<p>The numeric percentage score of the assessment outcome.</p>"""
    context: NotRequired["str"]
    """<p>The optional user-provided context or guidance for the assessment evaluation.</p>"""
    created_at: "datetime.datetime"
    """<p>The timestamp when the assessment was created.</p>"""
    updated_at: "datetime.datetime"
    """<p>The timestamp when the assessment was last updated.</p>"""
    organization_summary: NotRequired[
        "capo_assurance.types.organization_summary.OrganizationSummary"
    ]
    """<p>A summary of the assessment across an organization. While the assessment is IN_PROGRESS, <code>totalAccounts</code> and <code>evaluatedAccounts</code> report progress; the full summary is available once the assessment finalizes. Omitted for single-account assessments.</p>"""
    trigger: NotRequired["capo_assurance.types.assessment_trigger.AssessmentTrigger"]
    """<p>The event that started the assessment. The <code>trigger</code> field of the <code>StartAssessment</code> event in your AWS CloudTrail logs has the same value.</p> <ul> <li> <p> <code>SCHEDULE</code> – The framework's assessment schedule.</p> </li> <li> <p> <code>DETECTED_CHANGE</code> – A relevant change to your resources.</p> </li> <li> <p> <code>USER_ACTION</code> – A <code>StartAssessment</code> call.</p> </li> </ul> <p>This field is empty for assessments that ran before this value was available, or if the value isn't available for your account.</p>"""

assessment_id instance-attribute

assessment_id: AssessmentId

The identifier of the assessment.

context instance-attribute

context: NotRequired[str]

The optional user-provided context or guidance for the assessment evaluation.

control_id instance-attribute

control_id: ControlID

The control identifier. Optional. If omitted, the operation applies to the full framework.

created_at instance-attribute

created_at: datetime

The timestamp when the assessment was created.

environment instance-attribute

environment: EnvironmentId

The name of the governance environment the assessment belongs to.

framework instance-attribute

framework: FrameworkName

The name of the compliance framework.

framework_version instance-attribute

framework_version: FrameworkVersion

The version of the compliance framework.

organization_summary instance-attribute

organization_summary: NotRequired[OrganizationSummary]

A summary of the assessment across an organization. While the assessment is IN_PROGRESS, totalAccounts and evaluatedAccounts report progress; the full summary is available once the assessment finalizes. Omitted for single-account assessments.

outcome_percentage instance-attribute

outcome_percentage: NotRequired[float]

The numeric percentage score of the assessment outcome.

project instance-attribute

project: ProjectName

The name of the project.

result instance-attribute

result: NotRequired[AssessmentResult]

The detailed result of the assessment.

status instance-attribute

The canonical state of the assessment.

trigger instance-attribute

trigger: NotRequired[AssessmentTrigger]

The event that started the assessment. The trigger field of the StartAssessment event in your AWS CloudTrail logs has the same value.

  • SCHEDULE – The framework's assessment schedule.

  • DETECTED_CHANGE – A relevant change to your resources.

  • USER_ACTION – A StartAssessment call.

This field is empty for assessments that ran before this value was available, or if the value isn't available for your account.

updated_at instance-attribute

updated_at: datetime

The timestamp when the assessment was last updated.