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 | |
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 ¤
links = Field(None) 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¤
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 | |
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¤
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 | |
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 ¤
links = Field(None) 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¤
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 | |
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 ¤
links = Field(None) 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¤
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 | |
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 | |
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 ¤
links = Field(None) 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¤
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 | |
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 | |
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¤
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 | |
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 | |
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 ¤
links = Field(None) 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¤
handler: python