Skip to content

Control

Source code in docs_src/capo_assurance/types/control.py
class Control(TypedDict, closed=True):
    type: "capo_assurance.types.control_type.ControlType"
    """<p>The type of the control.</p>"""
    framework: NotRequired["capo_assurance.types.framework_name.FrameworkName"]
    """<p>The name of the compliance framework.</p>"""
    control_id: NotRequired["capo_assurance.types.control_id.ControlID"]
    """<p>The control identifier. Optional. If omitted, the operation applies to the full framework.</p>"""
    framework_version: NotRequired[
        "capo_assurance.types.framework_version.FrameworkVersion"
    ]
    """<p>The version of the compliance framework.</p>"""
    group_id: NotRequired["capo_assurance.types.control_id.ControlID"]
    """<p>The parent group ID (for example, "A.2" for control "A.2.2").</p>"""
    title: NotRequired["capo_assurance.types.control_title.ControlTitle"]
    """<p>The human-readable title of the control.</p>"""
    description: NotRequired[
        "capo_assurance.types.control_description.ControlDescription"
    ]
    """<p>A description of the control.</p>"""
    requirements: NotRequired["capo_assurance.types.requirement_list.RequirementList"]
    """<p>The individual checks an assessment scores for this control. Absent when the control has none.</p>"""
    control_intents: NotRequired[
        "capo_assurance.types.control_intent_list.ControlIntentList"
    ]
    """<p>The technical control intents classify how an assessment evaluates this leaf control. Leaf controls only.</p>"""
    workflow_type: NotRequired["capo_assurance.types.workflow_type.WorkflowType"]
    """<p>How AWS Assurance evaluates the control. Applies only to leaf controls. Valid values:</p> <ul> <li> <p> <code>automated-scan</code> – Evaluates the configuration of your AWS resources.</p> </li> <li> <p> <code>document</code> – Evaluates the evidence documents that you provide.</p> </li> <li> <p> <code>hybrid</code> – Evaluates both resource configuration and evidence documents.</p> </li> </ul>"""
    status: NotRequired["capo_assurance.types.release_status.ReleaseStatus"]
    """<p>The lifecycle status of the control.</p>"""
    created_at: NotRequired["datetime.datetime"]
    """<p>The time when you created the control. The response includes it only for controls in custom frameworks.</p>"""
    updated_at: NotRequired["datetime.datetime"]
    """<p>The time when the control was last modified. Returned for controls in custom frameworks only.</p>"""

control_id instance-attribute

control_id: NotRequired[ControlID]

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

control_intents instance-attribute

control_intents: NotRequired[ControlIntentList]

The technical control intents classify how an assessment evaluates this leaf control. Leaf controls only.

created_at instance-attribute

created_at: NotRequired[datetime]

The time when you created the control. The response includes it only for controls in custom frameworks.

description instance-attribute

description: NotRequired[ControlDescription]

A description of the control.

framework instance-attribute

framework: NotRequired[FrameworkName]

The name of the compliance framework.

framework_version instance-attribute

framework_version: NotRequired[FrameworkVersion]

The version of the compliance framework.

group_id instance-attribute

group_id: NotRequired[ControlID]

The parent group ID (for example, "A.2" for control "A.2.2").

requirements instance-attribute

requirements: NotRequired[RequirementList]

The individual checks an assessment scores for this control. Absent when the control has none.

status instance-attribute

status: NotRequired[ReleaseStatus]

The lifecycle status of the control.

title instance-attribute

title: NotRequired[ControlTitle]

The human-readable title of the control.

type instance-attribute

The type of the control.

updated_at instance-attribute

updated_at: NotRequired[datetime]

The time when the control was last modified. Returned for controls in custom frameworks only.

workflow_type instance-attribute

workflow_type: NotRequired[WorkflowType]

How AWS Assurance evaluates the control. Applies only to leaf controls. Valid values:

  • automated-scan – Evaluates the configuration of your AWS resources.

  • document – Evaluates the evidence documents that you provide.

  • hybrid – Evaluates both resource configuration and evidence documents.