Skip to content

Commit

Permalink
Make @control-id for alter statements in profile required. (#1111)
Browse files Browse the repository at this point in the history
Resolves #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 Jan 26, 2022
1 parent c2848eb commit 2c1fd5f
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 2c1fd5f

Please sign in to comment.