trestle.core.models.interfaces
trestle.core.models.interfaces ¤
Interfaces for use within other trestle functions defined as pydantic data models.
Classes¤
OSCALAssembly ¤
Bases: TrestleBaseModel
Data model to represent an assembled set of OSCAL objects.
Here the assembly represents the constraints as expected by the current OSCAL schema. At this point in time a 'flat' model has been chosen rather than an tree.
Source code in trestle/core/models/interfaces.py
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | |
Attributes¤
catalogs = None class-attribute instance-attribute ¤
components = None class-attribute instance-attribute ¤
poam = None class-attribute instance-attribute ¤
profiles = None class-attribute instance-attribute ¤
sap = None class-attribute instance-attribute ¤
sar = None class-attribute instance-attribute ¤
ssp = None class-attribute instance-attribute ¤
Classes¤
Config ¤
Pydantic config overrides.
Source code in trestle/core/models/interfaces.py
44 45 46 47 48 49 50 51 | |
handler: python