Skip to content

trestle.oscal.component

trestle.oscal.component ¤

Attributes¤

SetParameter = common.SetParameter module-attribute ¤

Classes¤

Capability ¤

Bases: OscalBaseModel


              flowchart TD
              trestle.oscal.component.Capability[Capability]
              trestle.core.base_model.OscalBaseModel[OscalBaseModel]
              trestle.core.trestle_base_model.TrestleBaseModel[TrestleBaseModel]

                              trestle.core.base_model.OscalBaseModel --> trestle.oscal.component.Capability
                                trestle.core.trestle_base_model.TrestleBaseModel --> trestle.core.base_model.OscalBaseModel
                



              click trestle.oscal.component.Capability href "" "trestle.oscal.component.Capability"
              click trestle.core.base_model.OscalBaseModel href "" "trestle.core.base_model.OscalBaseModel"
              click trestle.core.trestle_base_model.TrestleBaseModel href "" "trestle.core.trestle_base_model.TrestleBaseModel"
            

A grouping of other components and/or capabilities.

Source code in trestle/oscal/component.py
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
class Capability(OscalBaseModel):
    """
    A grouping of other components and/or capabilities.
    """

    class Config:
        extra = Extra.forbid

    uuid: constr(regex=r'^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[45][0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$') = Field(..., description='Provides a globally unique means to identify a given capability.', title='Capability Identifier')
    name: constr(regex=r'^\S(.*\S)?$') = Field(..., description="The capability's human-readable name.", title='Capability Name')
    description: str = Field(..., description='A summary of the capability.', title='Capability Description')
    props: list[common.Property] | None = Field(None)
    links: list[common.Link] | None = Field(None)
    incorporates_components: list[IncorporatesComponent] | None = Field(None, alias='incorporates-components')
    control_implementations: list[ControlImplementation] | None = Field(None, alias='control-implementations')
    remarks: str | None = None
Attributes¤
control_implementations = Field(None, alias='control-implementations') class-attribute instance-attribute ¤
description = Field(..., description='A summary of the capability.', title='Capability Description') class-attribute instance-attribute ¤
incorporates_components = Field(None, alias='incorporates-components') class-attribute instance-attribute ¤
name = Field(..., description="The capability's human-readable name.", title='Capability Name') class-attribute instance-attribute ¤
props = Field(None) class-attribute instance-attribute ¤
remarks = None class-attribute instance-attribute ¤
uuid = Field(..., description='Provides a globally unique means to identify a given capability.', title='Capability Identifier') class-attribute instance-attribute ¤
Classes¤
Config ¤
Source code in trestle/oscal/component.py
159
160
class Config:
    extra = Extra.forbid
Attributes¤
extra = Extra.forbid class-attribute instance-attribute ¤

ComponentDefinition ¤

Bases: OscalBaseModel


              flowchart TD
              trestle.oscal.component.ComponentDefinition[ComponentDefinition]
              trestle.core.base_model.OscalBaseModel[OscalBaseModel]
              trestle.core.trestle_base_model.TrestleBaseModel[TrestleBaseModel]

                              trestle.core.base_model.OscalBaseModel --> trestle.oscal.component.ComponentDefinition
                                trestle.core.trestle_base_model.TrestleBaseModel --> trestle.core.base_model.OscalBaseModel
                



              click trestle.oscal.component.ComponentDefinition href "" "trestle.oscal.component.ComponentDefinition"
              click trestle.core.base_model.OscalBaseModel href "" "trestle.core.base_model.OscalBaseModel"
              click trestle.core.trestle_base_model.TrestleBaseModel href "" "trestle.core.trestle_base_model.TrestleBaseModel"
            

A collection of component descriptions, which may optionally be grouped by capability.

Source code in trestle/oscal/component.py
172
173
174
175
176
177
178
179
180
181
182
183
184
185
class ComponentDefinition(OscalBaseModel):
    """
    A collection of component descriptions, which may optionally be grouped by capability.
    """

    class Config:
        extra = Extra.forbid

    uuid: constr(regex=r'^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[45][0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$') = Field(..., description='Provides a globally unique means to identify a given component definition instance.', title='Component Definition Universally Unique Identifier')
    metadata: common.Metadata
    import_component_definitions: list[ImportComponentDefinition] | None = Field(None, alias='import-component-definitions')
    components: list[DefinedComponent] | None = Field(None)
    capabilities: list[Capability] | None = Field(None)
    back_matter: common.BackMatter | None = Field(None, alias='back-matter')
Attributes¤
back_matter = Field(None, alias='back-matter') class-attribute instance-attribute ¤
capabilities = Field(None) class-attribute instance-attribute ¤
components = Field(None) class-attribute instance-attribute ¤
import_component_definitions = Field(None, alias='import-component-definitions') class-attribute instance-attribute ¤
metadata instance-attribute ¤
uuid = Field(..., description='Provides a globally unique means to identify a given component definition instance.', title='Component Definition Universally Unique Identifier') class-attribute instance-attribute ¤
Classes¤
Config ¤
Source code in trestle/oscal/component.py
177
178
class Config:
    extra = Extra.forbid
Attributes¤
extra = Extra.forbid class-attribute instance-attribute ¤

ControlImplementation ¤

Bases: OscalBaseModel


              flowchart TD
              trestle.oscal.component.ControlImplementation[ControlImplementation]
              trestle.core.base_model.OscalBaseModel[OscalBaseModel]
              trestle.core.trestle_base_model.TrestleBaseModel[TrestleBaseModel]

                              trestle.core.base_model.OscalBaseModel --> trestle.oscal.component.ControlImplementation
                                trestle.core.trestle_base_model.TrestleBaseModel --> trestle.core.base_model.OscalBaseModel
                



              click trestle.oscal.component.ControlImplementation href "" "trestle.oscal.component.ControlImplementation"
              click trestle.core.base_model.OscalBaseModel href "" "trestle.core.base_model.OscalBaseModel"
              click trestle.core.trestle_base_model.TrestleBaseModel href "" "trestle.core.trestle_base_model.TrestleBaseModel"
            

Defines how the component or capability supports a set of controls.

Source code in trestle/oscal/component.py
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
class ControlImplementation(OscalBaseModel):
    """
    Defines how the component or capability supports a set of controls.
    """

    class Config:
        extra = Extra.forbid

    uuid: constr(regex=r'^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[45][0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$') = Field(..., description='Provides a means to identify a set of control implementations that are supported by a given component or capability.', title='Control Implementation Set Identifier')
    source: str = Field(..., description='A reference to an OSCAL catalog or profile providing the referenced control or subcontrol definition.', title='Source Resource Reference')
    description: str = Field(..., description='A description of how the specified set of controls are implemented for the containing component or capability.', title='Control Implementation Description')
    props: list[common.Property] | None = Field(None)
    links: list[common.Link] | None = Field(None)
    set_parameters: list[common.SetParameter] | None = Field(None, alias='set-parameters')
    implemented_requirements: list[ImplementedRequirement] = Field(..., alias='implemented-requirements')
Attributes¤
description = Field(..., description='A description of how the specified set of controls are implemented for the containing component or capability.', title='Control Implementation Description') class-attribute instance-attribute ¤
implemented_requirements = Field(..., alias='implemented-requirements') class-attribute instance-attribute ¤
props = Field(None) class-attribute instance-attribute ¤
set_parameters = Field(None, alias='set-parameters') class-attribute instance-attribute ¤
source = Field(..., description='A reference to an OSCAL catalog or profile providing the referenced control or subcontrol definition.', title='Source Resource Reference') class-attribute instance-attribute ¤
uuid = Field(..., description='Provides a means to identify a set of control implementations that are supported by a given component or capability.', title='Control Implementation Set Identifier') class-attribute instance-attribute ¤
Classes¤
Config ¤
Source code in trestle/oscal/component.py
121
122
class Config:
    extra = Extra.forbid
Attributes¤
extra = Extra.forbid class-attribute instance-attribute ¤

DefinedComponent ¤

Bases: OscalBaseModel


              flowchart TD
              trestle.oscal.component.DefinedComponent[DefinedComponent]
              trestle.core.base_model.OscalBaseModel[OscalBaseModel]
              trestle.core.trestle_base_model.TrestleBaseModel[TrestleBaseModel]

                              trestle.core.base_model.OscalBaseModel --> trestle.oscal.component.DefinedComponent
                                trestle.core.trestle_base_model.TrestleBaseModel --> trestle.core.base_model.OscalBaseModel
                



              click trestle.oscal.component.DefinedComponent href "" "trestle.oscal.component.DefinedComponent"
              click trestle.core.base_model.OscalBaseModel href "" "trestle.core.base_model.OscalBaseModel"
              click trestle.core.trestle_base_model.TrestleBaseModel href "" "trestle.core.trestle_base_model.TrestleBaseModel"
            

A defined component that can be part of an implemented system.

Source code in trestle/oscal/component.py
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
class DefinedComponent(OscalBaseModel):
    """
    A defined component that can be part of an implemented system.
    """

    class Config:
        extra = Extra.forbid

    uuid: constr(regex=r'^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[45][0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$') = Field(..., description='Provides a globally unique means to identify a given component.', title='Component Identifier')
    type: StringDatatype | DefinedComponentTypeValidValues = Field(..., description='A category describing the purpose of the component.', title='Component Type')
    title: constr(regex=r'^[^\n]+$') = Field(..., description='A human readable name for the component.', title='Component Title')
    description: str = Field(..., description='A description of the component, including information about its function.', title='Component Description')
    purpose: constr(regex=r'^[^\n]+$') | None = Field(None, description='A summary of the technological or business purpose of the component.', title='Purpose')
    props: list[common.Property] | None = Field(None)
    links: list[common.Link] | None = Field(None)
    responsible_roles: list[common.ResponsibleRole] | None = Field(None, alias='responsible-roles')
    protocols: list[common.Protocol] | None = Field(None)
    control_implementations: list[ControlImplementation] | None = Field(None, alias='control-implementations')
    remarks: str | None = None
Attributes¤
control_implementations = Field(None, alias='control-implementations') class-attribute instance-attribute ¤
description = Field(..., description='A description of the component, including information about its function.', title='Component Description') class-attribute instance-attribute ¤
props = Field(None) class-attribute instance-attribute ¤
protocols = Field(None) class-attribute instance-attribute ¤
purpose = Field(None, description='A summary of the technological or business purpose of the component.', title='Purpose') class-attribute instance-attribute ¤
remarks = None class-attribute instance-attribute ¤
responsible_roles = Field(None, alias='responsible-roles') class-attribute instance-attribute ¤
title = Field(..., description='A human readable name for the component.', title='Component Title') class-attribute instance-attribute ¤
type = Field(..., description='A category describing the purpose of the component.', title='Component Type') class-attribute instance-attribute ¤
uuid = Field(..., description='Provides a globally unique means to identify a given component.', title='Component Identifier') class-attribute instance-attribute ¤
Classes¤
Config ¤
Source code in trestle/oscal/component.py
138
139
class Config:
    extra = Extra.forbid
Attributes¤
extra = Extra.forbid class-attribute instance-attribute ¤

DefinedComponentTypeValidValues ¤

Bases: Enum


              flowchart TD
              trestle.oscal.component.DefinedComponentTypeValidValues[DefinedComponentTypeValidValues]

              

              click trestle.oscal.component.DefinedComponentTypeValidValues href "" "trestle.oscal.component.DefinedComponentTypeValidValues"
            
Source code in trestle/oscal/component.py
42
43
44
45
46
47
48
49
50
51
52
53
class DefinedComponentTypeValidValues(Enum):
    interconnection = 'interconnection'
    software = 'software'
    hardware = 'hardware'
    service = 'service'
    policy = 'policy'
    physical = 'physical'
    process_procedure = 'process-procedure'
    plan = 'plan'
    guidance = 'guidance'
    standard = 'standard'
    validation = 'validation'
Attributes¤
guidance = 'guidance' class-attribute instance-attribute ¤
hardware = 'hardware' class-attribute instance-attribute ¤
interconnection = 'interconnection' class-attribute instance-attribute ¤
physical = 'physical' class-attribute instance-attribute ¤
plan = 'plan' class-attribute instance-attribute ¤
policy = 'policy' class-attribute instance-attribute ¤
process_procedure = 'process-procedure' class-attribute instance-attribute ¤
service = 'service' class-attribute instance-attribute ¤
software = 'software' class-attribute instance-attribute ¤
standard = 'standard' class-attribute instance-attribute ¤
validation = 'validation' class-attribute instance-attribute ¤

ImplementedRequirement ¤

Bases: OscalBaseModel


              flowchart TD
              trestle.oscal.component.ImplementedRequirement[ImplementedRequirement]
              trestle.core.base_model.OscalBaseModel[OscalBaseModel]
              trestle.core.trestle_base_model.TrestleBaseModel[TrestleBaseModel]

                              trestle.core.base_model.OscalBaseModel --> trestle.oscal.component.ImplementedRequirement
                                trestle.core.trestle_base_model.TrestleBaseModel --> trestle.core.base_model.OscalBaseModel
                



              click trestle.oscal.component.ImplementedRequirement href "" "trestle.oscal.component.ImplementedRequirement"
              click trestle.core.base_model.OscalBaseModel href "" "trestle.core.base_model.OscalBaseModel"
              click trestle.core.trestle_base_model.TrestleBaseModel href "" "trestle.core.trestle_base_model.TrestleBaseModel"
            

Describes how the containing component or capability implements an individual control.

Source code in trestle/oscal/component.py
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
class ImplementedRequirement(OscalBaseModel):
    """
    Describes how the containing component or capability implements an individual control.
    """

    class Config:
        extra = Extra.forbid

    uuid: constr(regex=r'^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[45][0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$') = Field(..., description='Provides a globally unique means to identify a given control implementation by a component.', title='Control Implementation Identifier')
    control_id: constr(regex=r'^[_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-\.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$') = Field(..., alias='control-id', description='A reference to a control with a corresponding id value. When referencing an externally defined control, the Control Identifier Reference must be used in the context of the external / imported OSCAL instance (e.g., uri-reference).', title='Control Identifier Reference')
    description: str = Field(..., description='A suggestion from the supplier (e.g., component vendor or author) for how the specified control may be implemented if the containing component or capability is instantiated in a system security plan.', title='Control Implementation Description')
    props: list[common.Property] | None = Field(None)
    links: list[common.Link] | None = Field(None)
    set_parameters: list[common.SetParameter] | None = Field(None, alias='set-parameters')
    responsible_roles: list[common.ResponsibleRole] | None = Field(None, alias='responsible-roles')
    statements: list[Statement] | None = Field(None)
    remarks: str | None = None
Attributes¤
control_id = Field(..., alias='control-id', description='A reference to a control with a corresponding id value. When referencing an externally defined control, the Control Identifier Reference must be used in the context of the external / imported OSCAL instance (e.g., uri-reference).', title='Control Identifier Reference') class-attribute instance-attribute ¤
description = Field(..., description='A suggestion from the supplier (e.g., component vendor or author) for how the specified control may be implemented if the containing component or capability is instantiated in a system security plan.', title='Control Implementation Description') class-attribute instance-attribute ¤
props = Field(None) class-attribute instance-attribute ¤
remarks = None class-attribute instance-attribute ¤
responsible_roles = Field(None, alias='responsible-roles') class-attribute instance-attribute ¤
set_parameters = Field(None, alias='set-parameters') class-attribute instance-attribute ¤
statements = Field(None) class-attribute instance-attribute ¤
uuid = Field(..., description='Provides a globally unique means to identify a given control implementation by a component.', title='Control Implementation Identifier') class-attribute instance-attribute ¤
Classes¤
Config ¤
Source code in trestle/oscal/component.py
102
103
class Config:
    extra = Extra.forbid
Attributes¤
extra = Extra.forbid class-attribute instance-attribute ¤

ImportComponentDefinition ¤

Bases: OscalBaseModel


              flowchart TD
              trestle.oscal.component.ImportComponentDefinition[ImportComponentDefinition]
              trestle.core.base_model.OscalBaseModel[OscalBaseModel]
              trestle.core.trestle_base_model.TrestleBaseModel[TrestleBaseModel]

                              trestle.core.base_model.OscalBaseModel --> trestle.oscal.component.ImportComponentDefinition
                                trestle.core.trestle_base_model.TrestleBaseModel --> trestle.core.base_model.OscalBaseModel
                



              click trestle.oscal.component.ImportComponentDefinition href "" "trestle.oscal.component.ImportComponentDefinition"
              click trestle.core.base_model.OscalBaseModel href "" "trestle.core.base_model.OscalBaseModel"
              click trestle.core.trestle_base_model.TrestleBaseModel href "" "trestle.core.trestle_base_model.TrestleBaseModel"
            

Loads a component definition from another resource.

Source code in trestle/oscal/component.py
56
57
58
59
60
61
62
63
64
65
class ImportComponentDefinition(OscalBaseModel):
    """
    Loads a component definition from another resource.
    """

    class Config:
        extra = Extra.forbid

    href: str = Field(..., description='A link to a resource that defines a set of components and/or capabilities to import into this collection.', title='Hyperlink Reference')
    remarks: str | None = None
Attributes¤
href = Field(..., description='A link to a resource that defines a set of components and/or capabilities to import into this collection.', title='Hyperlink Reference') class-attribute instance-attribute ¤
remarks = None class-attribute instance-attribute ¤
Classes¤
Config ¤
Source code in trestle/oscal/component.py
61
62
class Config:
    extra = Extra.forbid
Attributes¤
extra = Extra.forbid class-attribute instance-attribute ¤

IncorporatesComponent ¤

Bases: OscalBaseModel


              flowchart TD
              trestle.oscal.component.IncorporatesComponent[IncorporatesComponent]
              trestle.core.base_model.OscalBaseModel[OscalBaseModel]
              trestle.core.trestle_base_model.TrestleBaseModel[TrestleBaseModel]

                              trestle.core.base_model.OscalBaseModel --> trestle.oscal.component.IncorporatesComponent
                                trestle.core.trestle_base_model.TrestleBaseModel --> trestle.core.base_model.OscalBaseModel
                



              click trestle.oscal.component.IncorporatesComponent href "" "trestle.oscal.component.IncorporatesComponent"
              click trestle.core.base_model.OscalBaseModel href "" "trestle.core.base_model.OscalBaseModel"
              click trestle.core.trestle_base_model.TrestleBaseModel href "" "trestle.core.trestle_base_model.TrestleBaseModel"
            

The collection of components comprising this capability.

Source code in trestle/oscal/component.py
68
69
70
71
72
73
74
75
76
77
class IncorporatesComponent(OscalBaseModel):
    """
    The collection of components comprising this capability.
    """

    class Config:
        extra = Extra.forbid

    component_uuid: constr(regex=r'^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[45][0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$') = Field(..., alias='component-uuid', description='A machine-oriented identifier reference to a component.', title='Component Reference')
    description: str = Field(..., description='A description of the component, including information about its function.', title='Component Description')
Attributes¤
component_uuid = Field(..., alias='component-uuid', description='A machine-oriented identifier reference to a component.', title='Component Reference') class-attribute instance-attribute ¤
description = Field(..., description='A description of the component, including information about its function.', title='Component Description') class-attribute instance-attribute ¤
Classes¤
Config ¤
Source code in trestle/oscal/component.py
73
74
class Config:
    extra = Extra.forbid
Attributes¤
extra = Extra.forbid class-attribute instance-attribute ¤

Model ¤

Bases: OscalBaseModel


              flowchart TD
              trestle.oscal.component.Model[Model]
              trestle.core.base_model.OscalBaseModel[OscalBaseModel]
              trestle.core.trestle_base_model.TrestleBaseModel[TrestleBaseModel]

                              trestle.core.base_model.OscalBaseModel --> trestle.oscal.component.Model
                                trestle.core.trestle_base_model.TrestleBaseModel --> trestle.core.base_model.OscalBaseModel
                



              click trestle.oscal.component.Model href "" "trestle.oscal.component.Model"
              click trestle.core.base_model.OscalBaseModel href "" "trestle.core.base_model.OscalBaseModel"
              click trestle.core.trestle_base_model.TrestleBaseModel href "" "trestle.core.trestle_base_model.TrestleBaseModel"
            
Source code in trestle/oscal/component.py
193
194
class Model(OscalBaseModel):
    component_definition: ComponentDefinition = Field(..., alias='component-definition')
Attributes¤
component_definition = Field(..., alias='component-definition') class-attribute instance-attribute ¤

Statement ¤

Bases: OscalBaseModel


              flowchart TD
              trestle.oscal.component.Statement[Statement]
              trestle.core.base_model.OscalBaseModel[OscalBaseModel]
              trestle.core.trestle_base_model.TrestleBaseModel[TrestleBaseModel]

                              trestle.core.base_model.OscalBaseModel --> trestle.oscal.component.Statement
                                trestle.core.trestle_base_model.TrestleBaseModel --> trestle.core.base_model.OscalBaseModel
                



              click trestle.oscal.component.Statement href "" "trestle.oscal.component.Statement"
              click trestle.core.base_model.OscalBaseModel href "" "trestle.core.base_model.OscalBaseModel"
              click trestle.core.trestle_base_model.TrestleBaseModel href "" "trestle.core.trestle_base_model.TrestleBaseModel"
            

Identifies which statements within a control are addressed.

Source code in trestle/oscal/component.py
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
class Statement(OscalBaseModel):
    """
    Identifies which statements within a control are addressed.
    """

    class Config:
        extra = Extra.forbid

    statement_id: constr(regex=r'^[_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-\.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$') = Field(..., alias='statement-id', description='A human-oriented identifier reference to a control statement.', title='Control Statement Reference')
    uuid: constr(regex=r'^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[45][0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$') = Field(..., description='A machine-oriented, globally unique identifier with cross-instance scope that can be used to reference this control statement elsewhere in this or other OSCAL instances. The UUID of the control statement in the source OSCAL instance is sufficient to reference the data item locally or globally (e.g., in an imported OSCAL instance).', title='Control Statement Reference Universally Unique Identifier')
    description: str = Field(..., description='A summary of how the containing control statement is implemented by the component or capability.', title='Statement Implementation Description')
    props: list[common.Property] | None = Field(None)
    links: list[common.Link] | None = Field(None)
    responsible_roles: list[common.ResponsibleRole] | None = Field(None, alias='responsible-roles')
    remarks: str | None = None
Attributes¤
description = Field(..., description='A summary of how the containing control statement is implemented by the component or capability.', title='Statement Implementation Description') class-attribute instance-attribute ¤
props = Field(None) class-attribute instance-attribute ¤
remarks = None class-attribute instance-attribute ¤
responsible_roles = Field(None, alias='responsible-roles') class-attribute instance-attribute ¤
statement_id = Field(..., alias='statement-id', description='A human-oriented identifier reference to a control statement.', title='Control Statement Reference') class-attribute instance-attribute ¤
uuid = Field(..., description='A machine-oriented, globally unique identifier with cross-instance scope that can be used to reference this control statement elsewhere in this or other OSCAL instances. The UUID of the control statement in the source OSCAL instance is sufficient to reference the data item locally or globally (e.g., in an imported OSCAL instance).', title='Control Statement Reference Universally Unique Identifier') class-attribute instance-attribute ¤
Classes¤
Config ¤
Source code in trestle/oscal/component.py
85
86
class Config:
    extra = Extra.forbid
Attributes¤
extra = Extra.forbid class-attribute instance-attribute ¤

handler: python