Skip to content

Commit

Permalink
Fix malformed constraint ID with oscal=
Browse files Browse the repository at this point in the history
During testing with metaschema-framework/{metaschema-java,liboscal-java,
oscal-cli} harness, I was able to detect that I had erroneously prefixed
a constraint ID with `oscal=`, not the intended `oscal-` prefix, and
constraint builder function utilities picked this mistake up.
  • Loading branch information
aj-stein-gsa authored and Michaela Iorga committed Feb 9, 2025
1 parent 5e87637 commit 6629f88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/metaschema/oscal_ssp_metaschema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@
<index id="oscal-system-implementation-component-validation-uuid-index" name="index-system-implementation-component-uuid-validation" target="component[@type='validation']">
<key-field target="@uuid"/>
</index>
<index-has-key id="oscal=system-implementation-validated-by-index" target="component/link[@rel='validated-by']">
<index-has-key id="oscal-system-implementation-validated-by-index" target="component/link[@rel='validated-by']">
<key-field target="@href"/>
</index-has-key>
<index-has-key id="oscal-system-implementation-proof-of-compliance-index" name="index-system-implementation-component-uuid-validation" target="component/link[@rel='proof-of-compliance']">
Expand Down

0 comments on commit 6629f88

Please sign in to comment.