Skip to content

Commit 7f5bf80

Browse files
David Waltermireaj-stein-nist
authored andcommitted
Validating the current SP 800-53 catalog in oscal-content results in a missing key violation. This fixes that. (#1808)
1 parent 7e43b9a commit 7f5bf80

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/metaschema/oscal_catalog_metaschema.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@
6464
<index name="catalog-props" target="//prop" >
6565
<key-field target="@uuid"/>
6666
</index>
67+
<index name="catalog-groups-controls-parts" target="//(control|group|part)">
68+
<key-field target="@id"/>
69+
</index>
6770
<index name="catalog-controls" target="//control" >
6871
<key-field target="@id"/>
6972
</index>
@@ -261,7 +264,7 @@
261264
referenced control.</enum>
262265
</allowed-values>
263266
<!-- TODO: add expect constraint to check for controls that reference themselves -->
264-
<index-has-key name="catalog-controls"
267+
<index-has-key name="catalog-groups-controls-parts"
265268
target="link[@rel=('related','required','incorporated-into','moved-to') and starts-with(@href,'#')]">
266269
<key-field target="@href" pattern="#(.*)"/>
267270
</index-has-key>

0 commit comments

Comments
 (0)