Repository navigation
PRs
- Run the OSCAL bindings conformance corpus in hatch test by @dfkunstler in #20
- Generate the models from names.json of the spec artifact by @dfkunstler in #22
Breaking name changes in oscal_bindings.v1.models, 0.2.1 to 0.3.0
The names now come from the naming manifest of the OSCAL bindings specs. See "Upgrading to 0.3.0" in the README for
what to change in your code.
- Renamed: 95.
- Same name, different type: 5.
- Removed, no unique counterpart: 2.
- Added, no old counterpart: 35.
- Unchanged: 122.
- Element types removed: 73; added: 74.
Renamed
| Old name | New name | Kind |
|---|---|---|
Add |
ModifyAlterAdd |
model |
Algorithm |
HashAlgorithm |
enum |
Alter |
ModifyAlter |
model |
AssessmentCommonOrigin |
Origin |
model |
AssessmentLog |
ResultAssessmentLog |
model |
AssessmentSubject1 |
AssessmentSubjectWithIncludeAll |
model |
AssessmentSubject2 |
AssessmentSubjectWithIncludeSubjects |
model |
AssociatedActivity |
TaskAssociatedActivity |
model |
AtFrequency |
TaskTimingAtFrequency |
model |
Attestation |
ResultAttestation |
model |
Base64 |
BackMatterResourceBase64 |
model |
Categorization |
InformationTypeCategorization |
model |
Citation |
BackMatterResourceCitation |
model |
ConfidenceScore1 |
ConfidenceScoreWithCategory |
model |
ConfidenceScore2 |
ConfidenceScoreWithPercentage |
model |
ControlObjectiveSelections |
ControlObjectiveSelectionWithIncludeAll |
model |
ControlObjectiveSelections1 |
ControlObjectiveSelectionWithIncludeObjectives |
model |
ControlSelections |
ControlSelectionWithIncludeAll |
model |
ControlSelections1 |
ControlSelectionWithIncludeControls |
model |
Custom |
MergeCustom |
model |
Dependency |
TaskDependency |
model |
Entry |
RiskLogEntry |
model |
Entry1 |
ResultAssessmentLogEntry |
model |
Export |
ByComponentExport |
model |
Facet |
CharacterizationFacet |
model |
GenerationMethod |
CoverageGenerationMethod |
enum |
IdentifiedSubject |
RelatedTaskIdentifiedSubject |
model |
IdentifierType |
SystemIdIdentifierType |
enum |
ImplementedComponent |
InventoryItemImplementedComponent |
model |
Import1 |
ImportWithIncludeAll |
model |
Import2 |
ImportWithIncludeControls |
model |
InheritedItem |
ByComponentInherited |
model |
InsertControls1 |
InsertControlsWithIncludeAll |
model |
InsertControls2 |
InsertControlsWithIncludeControls |
model |
LeveragedAuthorization |
SystemImplementationLeveragedAuthorization |
model |
Lifecycle |
ResponseLifecycle |
enum |
LocalDefinitions1 |
AssessmentResultsLocalDefinitions |
model |
LocalDefinitions2 |
ResultLocalDefinitions |
model |
Location |
MetadataLocation |
model |
Mappings |
MappingCollectionMappings |
root-model |
MergeAsIs |
MergeWithAsIs |
model |
Methods |
ObservationMethod |
enum |
MitigatingFactor |
RiskMitigatingFactor |
model |
Name |
AssessmentPartName |
enum |
OnDate |
TaskTimingOnDate |
model |
Parameter1 |
ParameterWithValues |
model |
Parameter2 |
ParameterWithSelect |
model |
Parties |
MetadataPartyWithAddresses |
model |
Parties1 |
MetadataPartyWithLocationUuids |
model |
PoamLocalDefinitions |
LocalDefinitions |
model |
ProfileGroup1 |
ProfileGroupWithGroups |
model |
ProfileGroup2 |
ProfileGroupWithInsertControls |
model |
ProvidedItem |
ByComponentExportProvided |
model |
Reason |
FindingTargetStatusReason |
enum |
Rel |
LinkRel |
enum |
RelatedFinding |
PoamItemRelatedFinding |
model |
RelatedResponse |
RiskLogEntryRelatedResponse |
model |
RelevantEvidenceItem |
ObservationRelevantEvidence |
model |
Remove |
ModifyAlterRemove |
model |
RequiredAsset |
ResponseRequiredAsset |
model |
Resource |
BackMatterResource |
model |
Responsibility |
ByComponentExportResponsibility |
model |
Revision |
MetadataRevision |
model |
RiskStatus1 |
RiskStatus |
enum |
Rlink |
BackMatterResourceRlink |
model |
Role |
MetadataRole |
model |
SatisfiedItem |
ByComponentSatisfied |
model |
Scheme |
MetadataPartyExternalIdScheme |
enum |
Scheme2 |
DocumentIdScheme |
enum |
SetParameters |
ModifySetParameterWithValues |
model |
SetParameters1 |
ModifySetParameterWithSelect |
model |
Source |
AssessmentSubjectPlaceholderSource |
model |
SspStatus |
Status |
model |
State |
ImplementationStatusState |
enum |
Status1 |
FindingTargetStatus |
model |
Step |
ActivityStep |
model |
System |
InformationTypeCategorizationSystem |
enum |
System1 |
ThreatIdSystem |
enum |
System2 |
CharacterizationFacetSystem |
enum |
TermsAndConditions |
AssessmentPlanTermsAndConditions |
model |
Test |
ParameterConstraintTest |
model |
Timing |
TaskTimingWithOnDate |
model |
Timing1 |
TaskTimingWithDateRange |
model |
Timing2 |
TaskTimingWithAtFrequency |
model |
Type |
TelephoneNumberType |
enum |
Type1 |
AddressType |
enum |
Type2 |
MappingResourceReferenceType |
enum |
Type3 |
DefinedComponentType |
enum |
Type4 |
SystemComponentType |
enum |
Type5 |
TaskType |
enum |
Type6 |
AssessmentSubjectType |
enum |
Type8 |
SubjectType |
enum |
Types |
ObservationType |
enum |
UsesComponent |
AssessmentPlatformUsesComponent |
model |
WithinDateRange |
TaskTimingDateRange |
model |
Same name, different type
LocalDefinitions- Old: model "Used to define data objects that are used in the assessment plan, that do not appear in the referenced SSP."; fields:
activities,components,inventory_items,objectives_and_methods,remarks,users. - New: model "Allows components, and inventory-items to be defined within the POA&M for circumstances where no OSCAL-based SSP exists, or is not delivered with the POA&M."; fields:
assessment_assets,components,inventory_items,remarks. - New name of the old type:
AssessmentPlanLocalDefinitions.
- Old: model "Used to define data objects that are used in the assessment plan, that do not appear in the referenced SSP."; fields:
MergeCustom- Old: model "Provides structuring directives that instruct how controls are organized after profile resolution."; fields:
combine,custom. - New: model "Provides an alternate grouping structure that selected controls will be placed in."; fields:
groups,insert_controls. - New name of the old type:
MergeWithCustom.
- Old: model "Provides structuring directives that instruct how controls are organized after profile resolution."; fields:
MergeFlat- Old: model "Provides structuring directives that instruct how controls are organized after profile resolution."; fields:
combine,flat. - New: model "Directs that controls appear without any grouping structure."; fields: none.
- New name of the old type:
MergeWithFlat.
- Old: model "Provides structuring directives that instruct how controls are organized after profile resolution."; fields:
Origin- Old: model "Identifies the source of the finding, such as a tool or person."; fields:
actors. - New: model "Identifies the source of the finding, such as a tool, interviewed person, or activity."; fields:
actors,related_tasks. - New name of the old type:
PoamItemOrigin.
- Old: model "Identifies the source of the finding, such as a tool or person."; fields:
Status- Old: model "Describes the operational status of the system component."; fields:
remarks,state. - New: model "Describes the operational status of the system."; fields:
remarks,state. - New name of the old type:
SystemComponentStatus.
- Old: model "Describes the operational status of the system component."; fields:
Removed
ExternalId(model): ambiguous: candidatesMetadataPartyExternalId; same structure as oldExternalId1.ExternalId1(model): ambiguous: candidatesMetadataPartyExternalId; same structure as oldExternalId.
Added
AssessmentSubject(alias).CatalogGroup(alias).ConfidenceScore(alias).ControlCommonSelectControlByIdChildControls(enum).ControlObjectiveSelection(alias).ControlSelection(alias).FindingTargetStatusState(enum).FindingTargetType(enum).Import(alias).InsertControls(alias).InsertControlsOrder(enum).MappingItemType(enum).MappingMatchingRationale(enum).MappingMethod(enum).MappingStatus(enum).Merge(alias).MergeCombine(model).MetadataParty(alias).MetadataPartyExternalId(model).MetadataPartyType(enum).ModifyAlterAddPosition(enum).ModifyAlterRemoveByItemName(enum).ModifySetParameter(alias).OriginActorType(enum).Parameter(alias).ParameterSelectionHowMany(enum).PortRangeTransport(enum).ProfileGroup(alias).QualifierItemCategory(enum).QualifierItemPredicate(enum).QualifierItemSubject(enum).StatusState(enum).SystemComponentStatusState(enum).TaskTiming(alias).TaskTimingAtFrequencyUnit(enum).
Element types
Old: 187. New: 188. Strings of get_supported_element_types().
Removed element types
addalterassessment-common-originassessment-logassessment-subject1assessment-subject2associated-activityat-frequencyattestationbase64categorizationcitationconfidence-score1confidence-score2control-objective-selectionscontrol-objective-selections1control-selectionscontrol-selections1customdependencyentryentry1exportexternal-idexternal-id1facetidentified-subjectimplemented-componentimport1import2inherited-iteminsert-controls1insert-controls2leveraged-authorizationlocal-definitions1local-definitions2locationmappingsmerge-as-ismitigating-factoron-dateparameter1parameter2partiesparties1poam-local-definitionsprofile-group1profile-group2provided-itemrelated-findingrelated-responserelevant-evidence-itemremoverequired-assetresourceresponsibilityrevisionrlinkrolesatisfied-itemset-parametersset-parameters1sourcessp-statusstatus1stepterms-and-conditionstesttimingtiming1timing2uses-componentwithin-date-range
Added element types
activity-stepassessment-plan-local-definitionsassessment-plan-terms-and-conditionsassessment-platform-uses-componentassessment-results-local-definitionsassessment-subject-placeholder-sourceassessment-subject-with-include-allassessment-subject-with-include-subjectsback-matter-resourceback-matter-resource-base64back-matter-resource-citationback-matter-resource-rlinkby-component-exportby-component-export-providedby-component-export-responsibilityby-component-inheritedby-component-satisfiedcharacterization-facetconfidence-score-with-categoryconfidence-score-with-percentagecontrol-objective-selection-with-include-allcontrol-objective-selection-with-include-objectivescontrol-selection-with-include-allcontrol-selection-with-include-controlsfinding-target-statusimport-with-include-allimport-with-include-controlsinformation-type-categorizationinsert-controls-with-include-allinsert-controls-with-include-controlsinventory-item-implemented-componentmapping-collection-mappingsmerge-combinemerge-with-as-ismerge-with-custommerge-with-flatmetadata-locationmetadata-party-external-idmetadata-party-with-addressesmetadata-party-with-location-uuidsmetadata-revisionmetadata-rolemodify-altermodify-alter-addmodify-alter-removemodify-set-parameter-with-selectmodify-set-parameter-with-valuesobservation-relevant-evidenceparameter-constraint-testparameter-with-selectparameter-with-valuespoam-item-originpoam-item-related-findingprofile-group-with-groupsprofile-group-with-insert-controlsrelated-task-identified-subjectresponse-required-assetresult-assessment-logresult-assessment-log-entryresult-attestationresult-local-definitionsrisk-log-entryrisk-log-entry-related-responserisk-mitigating-factorsystem-component-statussystem-implementation-leveraged-authorizationtask-associated-activitytask-dependencytask-timing-at-frequencytask-timing-date-rangetask-timing-on-datetask-timing-with-at-frequencytask-timing-with-date-rangetask-timing-with-on-date
Full Changelog: v0.2.1...v0.3.0