Skip to content

Commit

Permalink
Make @control-id for alter statements in profile required. (usnistgov…
Browse files Browse the repository at this point in the history
…#1111)

Resolves usnistgov#1053.

Discussed with the team and agreed that this is in fact a bug that
requires a backward-breaking compatibility change to fix.
  • Loading branch information
aj-stein-nist authored and Rene2mt committed May 17, 2022
1 parent d78dd93 commit f66f1af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/metaschema/oscal_profile_metaschema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@
<define-assembly name="alter">
<formal-name>Alteration</formal-name>
<description>An Alter element specifies changes to be made to an included control when a profile is resolved.</description>
<flag ref="control-id"/>
<flag ref="control-id" required="yes"/>
<model>
<assembly ref="remove" max-occurs="unbounded">
<group-as name="removes" in-json="ARRAY"/>
Expand Down

0 comments on commit f66f1af

Please sign in to comment.