GetControlStatusOutput
¶
Source code in docs_src/capo_assurance/types/get_control_status_output.py
applicable_requirement_count
instance-attribute
¶
applicable_requirement_count: int
The number of the control's requirements that apply to the project.
control_group_id
instance-attribute
¶
control_group_id: NotRequired[ControlID]
The identifier of the control group that contains the control. Absent when the control isn't in a control group.
excluded_requirement_count
instance-attribute
¶
excluded_requirement_count: int
The number of the control's requirements whose status is not_applicable. The count includes requirements that you declare not applicable, directly or through the control. It also includes requirements that the assessment determines don't apply.
last_assessed_at
instance-attribute
¶
last_assessed_at: NotRequired[datetime]
The time when the most recent assessment of the control was last updated.
last_assessment_id
instance-attribute
¶
last_assessment_id: NotRequired[AssessmentId]
The identifier of the most recent assessment of the control in the project. Absent if no assessment has run for the control.
last_assessment_status
instance-attribute
¶
last_assessment_status: NotRequired[AssessmentStatus]
The state of the most recent assessment of the control.
outcome_percentage
instance-attribute
¶
outcome_percentage: NotRequired[float]
The compliance percentage that the most recent assessment of the control calculated. A decision that you declare after that assessment doesn't change this value. The next assessment calculates a new percentage. Absent when status is NOT_ASSESSED or NOT_APPLICABLE.
requirement_statuses
instance-attribute
¶
requirement_statuses: RequirementStatusList
The effective status of each of the control's requirements, including requirements that are not applicable.
status
instance-attribute
¶
status: ComplianceStatus
The effective compliance status of the control. Valid values:
-
COMPLIANTorNEEDS_ATTENTION– Based on the compliance percentage that the most recent assessment calculated. -
NOT_APPLICABLE– The control, or every one of its requirements, is not applicable to the project. -
NOT_ASSESSED– The most recent assessment hasn't finished, ended in an error, or found no outcome for any applicable requirement.
status_override
instance-attribute
¶
status_override: NotRequired[StatusOverride]
The decision declared on the control itself. Absent when no decision is declared on the control. Decisions on individual requirements are returned in requirementStatuses.